WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Error? (4 posts)

  1. Parker
    Member
    Posted 2 years ago #

    Hello!

    I am making a WordPress Multisite on a test site, and when I add:
    define('WP_ALLOW_MULTISITE', true) to the wp-config.php and reload my dashboard, I get the following error:

    Parse error: syntax error, unexpected T_IF in /home/readnwri/public_html/wp-config.php on line 87

    What am I doing wrong?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Sounds like you've introduced an error in to the wp-config.php file. Try re-creating the file and adding your additional line carefully.

  3. Also make sure that you have a semi-colon at the end and no curly quotes:

    define('WP_ALLOW_MULTISITE', true);
  4. Parker
    Member
    Posted 2 years ago #

    Also make sure that you have a semi-colon at the end and no curly quotes:

    define('WP_ALLOW_MULTISITE', true);

    Thank you! My problem was the stupid semi-colon at the end -.-

Topic Closed

This topic has been closed to new replies.

About this Topic