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.
Brad-Jedi
Member
Posted 3 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
Mine says 539 and 546. Doesn't matter now as it has been resolved and the plugin updated.
Yeah that was an issue in a release I did yesterday morning, fixed that yesterday afternoon :)