Support » Plugin: Yoast SEO » getting 500 server errors associted to this plugin

  • I was told by my hosting that my 500 server errors are coming from line 344. plugins/wordpress-seo/inc/wpseo-functions.php on line 344
    but I am not sure what I need to do there. It doesn’t give me this error all the time but at least half of the time. Can someone please help me with this?

Viewing 11 replies - 1 through 11 (of 11 total)
  • me too, receive also 500 server errors
    and the tags sitemap consists onny of 2 pages, with 25 entries each.

    the 25 entries limit seem to be fixed with version 1.4.11

    I would really appreciate it if someone knows how to correct this error I get on line 344

    Hi again. I have not had anyone help me with my problem as mentioned above about the 500 server error. I would really appreciate anyone who can help me with this.

    Hi Ladan,

    Without seeing the server error logged in your Apache error.log file, I can’t be certain what the error is. Usually when you get a server error, a function is undefined causing the script to halt and issue the error.

    Line 344 is a call to add_query_var that is defined in the WP class. This suggests that your theme or a different plugin is killing the $GLOBAL[‘wp’] object.

    Perhaps you can disable your plugins first — one by one — to see which one is the culprit. If still have a problem, change your theme to one of the stock themes.

    This may be related:

    How to Fix Yoast’s WordPress SEO Sitemap 404 Error

    Hi Howard. Thanks a lot for getting back to me. So this is the exact message I get whenever I get this error: 500 Server Error

    A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.

    and then this is what I get in my error log:
    plugins/wordpress-seo/inc/wpseo-functions.php on line 344

    I hope that is what you were asking me.

    Hi Ladan, there may be conflict with “Google XML Sitemaps” by Arne Brachhold that you have enabled. I would start first by disabling that plugin to see if the issue is resolved.

    You also have to rename sitemap.xml in your root folder to something other than “sitemap”. This file was created by Arne’s plugin and is no longer needed if you have XML Sitemaps enabled in WP-SEO.

    At line 344, Yoast’s plugin installs a query for “sitemap” and the combination of the two may result in the issue you are seeing.

    You can also disable XML Sitemaps from the WP-SEO admin panel to prevent line 344 from ever executing.

    Same here… Updated this morning to the last version of WordPress SEO and started to get HTTP 500 errors when trying to edit posts, or editing Nav Menus… Still waiting for my hosting provider about server logs, but if I deactivate WordPress SEO I stop getting these errors…
    Really would like to continue using this plugin in my site, so I’ll wait for the developers if they can provide a patch or solution.
    Thank you!

    For people interested, for me, the issue has been solved increasing PHP Memory Limit to 128 Mb. Anyway, would be much appreciated if the plugin author or someone could drop some infos about why is this happening.
    Thank you so much!

    @exhtml, you can limit the number of pages on the XML Sitemap submenu from the default of 1000 to a smaller number. Did/Could you try lowering the pages to 100 using your original PHP memory limit to see if you have the same problem?

    Thanks Howard. I will try your suggestions.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘getting 500 server errors associted to this plugin’ is closed to new replies.