• Getting this at the bottom of page:

    Parse error: syntax error, unexpected ‘{‘ in /DOMAINPATH/wp-content/plugins/genesis-simple-hooks/plugin.php(134) : eval()’d code on line 2

    I don’t even have debug on. Why is this showing up?

Viewing 1 replies (of 1 total)
  • Plugin Support Nick C

    (@modernnerd)

    Hi, @manonatelier.

    The parse error suggests you have some invalid code in one of the Simple Hooks fields.

    You could try removing the code a section at a time until the error clears, then review that code for syntax errors.

    I don’t even have debug on. Why is this showing up?

    The eval() function the plugin uses throws a ParseError exception under PHP 7 or higher if there’s a syntax error in you code. It sounds like your site is configured to show E_PARSE errors: https://php.net/manual/en/function.error-reporting.php

Viewing 1 replies (of 1 total)
  • The topic ‘Parse Error’ is closed to new replies.