Support » Fixing WordPress » [php7:error] PHP Warning: “continue” targeting switch is equivalent to “break

  • [Wed May 27 01:15:07.227166 2020] [php7:error] [pid 46762] [client 13.56.147.223 :38046] PHP Fatal error: Uncaught Error: Call to undefined function get_header( ) in /var/www/wp.patrickmckenneylandscaping.com/public_html/wp-content/themes/st ruct/index.php:1\nStack trace:\n#0 {main}\n thrown in /var/www/wp.patrickmckenn eylandscaping.com/public_html/wp-content/themes/struct/index.php on line 1
    [Wed May 27 08:13:06.510917 2020] [php7:warn] [pid 1264] [client 66.249.64.52:40 386] PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wp.patrickmckenneylandscaping.com/public_ html/wp-content/plugins/responsive-select-menu/sparkoptions/SparkOptions.class.p hp on line 778

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)
  • The topic ‘[php7:error] PHP Warning: “continue” targeting switch is equivalent to “break’ is closed to new replies.