WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
getting 500 server errors associted to this plugin (12 posts)

  1. ladan
    Member
    Posted 9 months ago #

    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?

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. skhfw
    Member
    Posted 9 months ago #

    me too, receive also 500 server errors
    and the tags sitemap consists onny of 2 pages, with 25 entries each.

  3. petervanderdoes
    Member
    Posted 9 months ago #

    the 25 entries limit seem to be fixed with version 1.4.11

  4. ladan
    Member
    Posted 9 months ago #

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

  5. ladan
    Member
    Posted 9 months ago #

    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.

  6. Howard
    Member
    Posted 9 months ago #

    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:
    http://www.wpbeginner.com/wp-tutorials/how-to-fix-yoasts-wordpress-seo-sitemap-404-error/

  7. ladan
    Member
    Posted 9 months ago #

    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.
    URL: http://www.dentistcudahyca.com/wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1&s=

    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.

  8. Howard
    Member
    Posted 9 months ago #

    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.

  9. exhtml
    Member
    Posted 9 months ago #

    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!

  10. exhtml
    Member
    Posted 9 months ago #

    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!

  11. Howard
    Member
    Posted 9 months ago #

    @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?

  12. ladan
    Member
    Posted 9 months ago #

    Thanks Howard. I will try your suggestions.

Reply

You must log in to post.

About this Plugin

About this Topic