Support » Fixing WordPress » unexpected T_CLASS errors – site shut down

  • I’m not really sure about the WordPress version but the wp_rest_user_meta_fields says @since 4.7.0 so there’s that

    Site is http://alzimcomedy.com/

    I first got a message “Parse error: syntax error, unexpected T_CLASS” and it said the error in wp_rest_user_meta_fields. I looked at that file and the file in my other WordPress sites and saw a line that was different so I deleted that line.

    Then I message said:

    Parse error: syntax error, unexpected T_CLASS in /home4/ykmiller/public_html/alzimcomedy.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/config.php on line 8

    So I renamed the WordFence plugin file folder to wordfence-bak and now the message says:

    Parse error: syntax error, unexpected T_ABSTRACT in /home4/ykmiller/public_html/alzimcomedy.com/wp-content/themes/genesis/lib/admin/customizer.php on line 18

    What is going on?

    My other sites that are on the same server and run the same theme and plugins aren’t having this issue.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘unexpected T_CLASS errors – site shut down’ is closed to new replies.