• shubham604

    (@shubham604)


    I am getting this error on homepage “Parse error: syntax error, unexpected ‘$wp_rewrite’ (T_VARIABLE) in /home/content/80/7387980/html/wp-settings.php on line 472”

    attaching WP-SETTINGS code here:

    do_action( ‘wp_loaded’ ); —— Line 471
    ite $wp_rewrite ——-Line 472
    * @since 1.5.0 ——-Line 473
    */ ——-Line 474
    $GLOBALS[‘wp_rewrite’] = new WP_Rewrite(); ————Line475

    The page I need help with: [log in to see the link]

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

    (@macmanx)

    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 ‘Wp-settings giving syntax error’ is closed to new replies.