Via Javascript mautic form

I include Mautic form using following code


and in form i define redirect URL. But after submission form is not redirecting.

Code:
[2016-06-01 19:09:35] mautic.NOTICE: PHP Notice: Array to string conversion - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Helper/InputHelper.php - at line 266 [] [] [2016-06-01 19:10:35] mautic.ERROR: Empty reply from server [] []


Can anyone please help.
Thank you.

I include Mautic form using following code

and in form i define redirect URL. But after submission form is not redirecting.

[2016-06-01 19:09:35] mautic.NOTICE: PHP Notice: Array to string conversion - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Helper/InputHelper.php - at line 266 [] [] [2016-06-01 19:10:35] mautic.ERROR: Empty reply from server [] []

Can anyone please help.
Thank you.