Quantcast
Viewing all articles
Browse latest Browse all 3201

thestage on "[Plugin: Yoast SEO] review-sitemap18.xml HTTP 500 and E_ERROR"

When we try to access our site's review-sitemap18.xml, HTTP status 500 is returned and we see the following PHP error caught by New Relic:

E_RRROR Allowed memory size of 134217728 bytes exhausted (tried to allocate 82 bytes)

With a stack trace of:

in get_object_vars called at /var/www/vhosts/www.thestage.co.uk/wp-includes/wp-db.php (1981) in wpdb::get_results called at /var/www/vhosts/www.thestage.co.uk/wp-includes/meta.php (814) in update_meta_cache called at /var/www/vhosts/www.thestage.co.uk/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php (721) in WPSEO_Sitemaps::build_post_type_map called at /var/www/vhosts/www.thestage.co.uk/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php (320) in WPSEO_Sitemaps::build_sitemap called at /var/www/vhosts/www.thestage.co.uk/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php (276) in WPSEO_Sitemaps::redirect called at ? (?) in call_user_func_array called at /var/www/vhosts/www.thestage.co.uk/wp-includes/plugin.php (571) in do_action_ref_array called at /var/www/vhosts/www.thestage.co.uk/wp-includes/query.php (2377) in WP_Query::get_posts called at /var/www/vhosts/www.thestage.co.uk/wp-includes/query.php (3836) in WP_Query::query called at /var/www/vhosts/www.thestage.co.uk/wp-includes/class-wp.php (540) in WP::query_posts called at /var/www/vhosts/www.thestage.co.uk/wp-includes/class-wp.php (611) in WP::main called at /var/www/vhosts/www.thestage.co.uk/wp-includes/functions.php (873) in wp called at /var/www/vhosts/www.thestage.co.uk/wp-blog-header.php (14) in require called at /var/www/vhosts/www.thestage.co.uk/index.php (17)

This issue doesn't exist on our Staging site but it does on our Production site. The difference between them is content so potentially it's the content of the 1000 reviews that review-sitemap18.xml is trying to parse that's the problem?

Currently using Yoast SEO 3.1.1 but the issue also existed on 3.0.7 and 2.3.5 for us.

Currently using PHP 5.3, MySQL 5.5.44 and WordPress 4.1.

https://wordpress.org/plugins/wordpress-seo/


Viewing all articles
Browse latest Browse all 3201

Trending Articles