WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Robots Meta won't activate (4 posts)

  1. skribe
    Member
    Posted 5 years ago #

    Robots Meta v3.0.9 bugs out upon activation:

    Plugin could not be activated because it triggered a fatal error.
    
    Parse error: syntax error, unexpected '{' in /path/to/wp-content/plugins/robots-meta/robots-meta.php on line 539

    update: missing closing ')' on line 539 and again on 546. adding them allows the plugin to activate.

  2. Brad-Jedi
    Member
    Posted 5 years ago #

    Actually its Line 540 and 547

    Incorrect

    if (is_home() || (function_exists('is_frontpage') && is_frontpage()) || (function_exists('is_front_page') && is_front_page()) {

    Correct

    if (is_home() || (function_exists('is_frontpage') && is_frontpage()) || (function_exists('is_front_page') && is_front_page()) ) {

    I had the same issue on my Blog Jedi-star.com

  3. skribe
    Member
    Posted 5 years ago #

    Mine says 539 and 546. Doesn't matter now as it has been resolved and the plugin updated.

  4. Joost de Valk
    Member
    Posted 5 years ago #

    Yeah that was an issue in a release I did yesterday morning, fixed that yesterday afternoon :)

Topic Closed

This topic has been closed to new replies.

About this Topic