Title: Caution with 4.0 update: Causes server errors
Last modified: December 15, 2016

---

# Caution with 4.0 update: Causes server errors

 *  Resolved [powcom](https://wordpress.org/support/users/powcom/)
 * (@powcom)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/caution-with-4-0-update-causes-server-errors/)
 * We upgraded to 4.0 from 3.9 yesterday evening.
 * All of this morning we’ve been having server issues, taking our back end down,
   so we can’t edit posts. Serving of the site to readers has also occurred. Not
   good obviously.
 * Our server guys have looked at it and identified Yoast SEO as the issue.
 * They tell me, “I’m seeing a lot of 504/502s being initiated from an admin-ajax.
   php process.
 * “It’s running the heartbeat call and the ‘wpseo_filter_shortcodes_nonce’ call
   multiple times in a single instance. ”
 * The evidence they presented is below.
 * Can you take an urgent look at this please. I know 4.0 has great features, but
   they’re not of use if it’s taking our server down.
 * Thanks in advance for your help
 * _From server
    The problem is the WordPress SEO plugin:
 * $ tail -f wp-content/__wpe_admin_ajax.log | grep “\[action\]”
    [action] => heartbeat[
   action] => heartbeat [action] => heartbeat [action] => heartbeat [action] => 
   heartbeat [action] => heartbeat [action] => wpseo_filter_shortcodes [action] 
   => wpseo_filter_shortcodes [action] => wpseo_filter_shortcodes [action] => wpseo_filter_shortcodes
 * $ ack-grep heartbeat
    css/dist/yoast-components-400-rtl.css 608:@keyframes heartbeat{
   625: animation: heartbeat 1.15s infinite;
 * $ ack-grep wpseo_filter_shortcodes
    admin/ajax/class-shortcode-filter.php 17:
   add_action( ‘wp_ajax_wpseo_filter_shortcodes’, array( $this, ‘do_filter’ ) );
 * admin/metabox/class-metabox.php
    283: ‘wpseo_filter_shortcodes_nonce’ => wp_create_nonce(‘
   wpseo-filter-shortcodes’ ),

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

 *  [neotrope](https://wordpress.org/support/users/neotrope/)
 * (@neotrope)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/caution-with-4-0-update-causes-server-errors/#post-8558137)
 * We are not having this issue with our server or any of our sites with WP 4.7 
   and Yoast SEO 4.0.
 * One thought, make sure you’re running PHP 5.6 and not PHP 5.4. And if running
   PHP 7 make sure you check ALL your plugins are compatible.
 *  Thread Starter [powcom](https://wordpress.org/support/users/powcom/)
 * (@powcom)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/caution-with-4-0-update-causes-server-errors/#post-8562523)
 * Thanks for the reply. I’m running WP 4.6.1 – any issues with that?
 * Will check other points later.
 *  [tekgirlymama](https://wordpress.org/support/users/tekgirlymama/)
 * (@tekgirlymama)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/caution-with-4-0-update-causes-server-errors/#post-8564228)
 * my site and backend died too. only cure is to go in via FTP and add to this stinking
   plugin an underscore to deactivate it. then you have your site alive again and
   can seek a better plugin, like the SEO Fram,ework. simpler, does the job and 
   never issues. I suffred a week of lost time fixing when they made version 3 and
   moved most all my sites to the other plugin, though on one big ecom was an issue
   to migrate so due to lack of time to deal with it I still keep yoast here. never
   know when again it kills my site, PITA of development team they have.

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

The topic ‘Caution with 4.0 update: Causes server errors’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [crashes site](https://wordpress.org/support/topic-tag/crashes-site/)

 * 3 replies
 * 3 participants
 * Last reply from: [tekgirlymama](https://wordpress.org/support/users/tekgirlymama/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/caution-with-4-0-update-causes-server-errors/#post-8564228)
 * Status: resolved