I just started getting the following error on my site where I have CFv5 forms placed.
Warning: stripslashes() expects parameter 1 to be string, object given in /home/content/p3pnexwpnas01_data02/66/3016266/html/wp-content/plugins/chronoforms/cegcore/bootstrap.php on line 78
The error/warning shows up above my form placement. I can't figure out what is going on. Form entries still work correctly - i.e. they redirect to the correct page and get sent to the correct recipients, just this warning has appeared. Obviously I need to fix it, but the client wants it off of course right away. But we can't remove CFv5 or the form because they are lead generator for the website!
Any help is appreciated. I've attached a screenshot.
Thanks,
Troy
Warning: stripslashes() expects parameter 1 to be string, object given in /home/content/p3pnexwpnas01_data02/66/3016266/html/wp-content/plugins/chronoforms/cegcore/bootstrap.php on line 78
The error/warning shows up above my form placement. I can't figure out what is going on. Form entries still work correctly - i.e. they redirect to the correct page and get sent to the correct recipients, just this warning has appeared. Obviously I need to fix it, but the client wants it off of course right away. But we can't remove CFv5 or the form because they are lead generator for the website!
Any help is appreciated. I've attached a screenshot.
Thanks,
Troy
Hi Troy,
It's a PHP Warning, not an Error so the immediate fix would be to set the site error reporting not to show Warnings.There are some suggestions in this StackOverFlow answer
I suspect that the cause is that you have Magic Quotes enabled in the PHP configuration - disabling this will probably fix the underlying problem. I don't know what the current WordPress policy is on this - in PHP and in Joomla! it has been deprecated for some time - and removed from PHP 5.4 on.
Bob
It's a PHP Warning, not an Error so the immediate fix would be to set the site error reporting not to show Warnings.There are some suggestions in this StackOverFlow answer
I suspect that the cause is that you have Magic Quotes enabled in the PHP configuration - disabling this will probably fix the underlying problem. I don't know what the current WordPress policy is on this - in PHP and in Joomla! it has been deprecated for some time - and removed from PHP 5.4 on.
Bob
This topic is locked and no more replies can be posted.