eval()’d code error
-
I am getting the following error even when I have no snippet code entered:
[16-Jan-2019 17:32:29 UTC] PHP Parse error: syntax error, unexpected ‘-‘, expecting ‘(‘ in /home/networkservices/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(356) : eval()’d code on line 5
I checked the database and the code field is truly empty. I also purged the cache and deployed “define(‘CODE_SNIPPETS_SAFE_MODE’, true);” but I still get this error.
I am running code snippets v2.13.0 wordpress v5.0.3 server php v5.6
I want to update to php 7.x, but wordpress won’t load in php7 while code snippets is activated. Instead, I get a white screen that states the above error. (the site does load using php 5.6 and the error is logged in the error file).Any ideas?
Thanks,
Michael RobinsonThe page I need help with: [log in to see the link]
- The topic ‘eval()’d code error’ is closed to new replies.