Replies: 1
So I’ve moved a number of sites to different hosts with no issues. I was trying to move a site over the last week and I’m continuously getting errors. The only difference I noticed was the PHP version running, which I tried adjusting to match, but has not solved. I’ve isolated the issue to revolve around the plugin “Widget Logic.” However, the issue doesn’t happen on the old host. Once the plugin is activated, I get these errors on the site:
Parse error: syntax error, unexpected ‘of’ (T_STRING) in /home/XXXXXX/public_html/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 1
Parse error: syntax error, unexpected ‘Hubspot’ (T_STRING) in /home/XXXXXX/public_html/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 1
Parse error: syntax error, unexpected ‘CTA’ (T_STRING) in /home/XXXXXX/public_html/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 1
Parse error: syntax error, unexpected ‘of’ (T_STRING) in /home/XXXXXX/public_html/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 1
Parse error: syntax error, unexpected ‘Hubspot’ (T_STRING) in /home/XXXXXX/public_html/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 1
Parse error: syntax error, unexpected ‘CTA’ (T_STRING) in /home/XXXXXX/public_html/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 1
Warning: Cannot modify header information – headers already sent by (output started at /home/XXXXXX/public_html/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code:1) in /home/XXXXXX/public_html/wp-includes/pluggable.php on line 1179
Can anyone point me towards a solution besides disabling the plugin?