• I was recently making a post on my site, which I do not use frequently, and it told me I had a bunch of updates to make so I just accepted them all (whoops). Now the site will not load and I get the following error related to a plugin:

    Parse error: syntax error, unexpected '[', expecting ')' in /home/content/49/7274949/html/wp-content/plugins/wordpress-23-related-posts-plugin/config.php on line 130

    I thought this maybe was something that could be easily corrected by changing that line of code. My site is hosted by GoDaddy. I found the code on the File Manager and this is what line 130 reads:

    $wprp_mp->create_profile([], "wprp");

    Changing the ‘[‘ to an ‘)’ in that line of code does not make sense. I reached out to GoDaddy support and they suggested disabling the plugin by renaming it. When I do that, it creates additional errors. I reached out to WordPress support and they gave me the same advice, but it has not been helpful. Apparently this plugin is no longer being updated. What should I do? At this time, I cannot access my website at all due to the error.

    Would it be safe to delete the plugin entirely – would that correct the problem? I think I don’t need it but I don’t want to do something that cannot be reversed if that is unlikely to correct the issue. Your help is greatly appreciated.

    • This topic was modified 5 years, 11 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Delete the plugin, then post a question here: https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/ to contact the plugin’s developers. However, it looks like they’re not providing support or updates, so consider a different related posts plugin. “We regret to post that, as of August 14, 2017, the sovrn plugin suite, including WordPress Related Posts, will no longer be developed upon or supported by our staff.”

    Thread Starter gttmovies

    (@gttmovies)

    Deleting the plugin seems like it made things worse. The error message is now:

    Warning: require_once(__DIR__/scb/load.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/49/7274949/html/wp-content/plugins/wp-pagenavi/wp-pagenavi.php on line 12

    Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/scb/load.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/49/7274949/html/wp-content/plugins/wp-pagenavi/wp-pagenavi.php on line 12

    Nevertheless, I went ahead and posted my question about this *new* issue in a different “related posts” plugin forum. Hopefully somebody will be able to give me guidance on how to get my website functional again there.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Try reinstalling the plugin “wp page navi”.

    Thread Starter gttmovies

    (@gttmovies)

    Cool. I’d love to, if that would fix the problem. How do I do that?
    I don’t know what I’m doing at all.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    via FTP or the file manager app in your hosting control panel, delete the directory wp-content/plugins/wp-page-navi. You can then install it again via the normal method.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Syntax Error, WordPress-23-Related-Posts’ is closed to new replies.