• We’re seeing high CPU usage under wordpress 4.9.1 with the most recent version. Older versions of Nested Pages are also showing CPU spikes. The CPU of our AWS instance gets maxed out and then the site becomes unresponsive. The only way to make the website accessible is to disable the plugin.

    We’re using WordPress 4.9.1 with PHP 7 on Ubuntu 16.04 LTS

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi, Did you ever get this sorted out? I am having the same issues.

    Thread Starter dm

    (@dmackinn)

    Yes, it’s due to Nested Plugins storing a WP Error exception in the database table.

    WP core is more strict about duplicate menu item names now and throws an error exception. Nested Pages tries to create a menu item but it one exists already an error is thrown in WP 4.9 and above. Since Nested Pages is expecting that database entry to be an id number and not an error message it chokes.

    My solution was to delete the menu items, clear out the bad database value and then reactivate Nested Pages.

    Thanks! So you deleted ALL your menus on WP or on the DB only?

    Thread Starter dm

    (@dmackinn)

    I deleted the menu item via the WP admin UI but the database entry with the error had to be deleted through the database.

    I’ve been getting a 500 error when running plugin updates on my site – not sure if its related, but disabling this plugin the only solution so far.

    Update to the above. The 500 error is actually generated by the Amazon S3 Offload Plugin, however disabling Nested Pages clears the error. For now I have to disable Nested Pages, which is a bummer because I love this plugin.

    
    [21-Feb-2018 17:28:39 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Composer\Autoload\ClassLoader::setClassMapAuthoritative() in /Users/nathanzander/Dropbox/Sites/craftbeer.com/wp-content/plugins/amazon-s3-and-cloudfront-pro/vendor/Aws2/vendor/composer/autoload_real.php:38
    Stack trace:
    #0 /Users/nathanzander/Dropbox/Sites/craftbeer.com/wp-content/plugins/amazon-s3-and-cloudfront-pro/vendor/Aws2/vendor/autoload.php(7): ComposerAutoloaderInitb127febfbbf51dd979ed3800a48c7fc1::getLoader()
    #1 /Users/nathanzander/Dropbox/Sites/craftbeer.com/wp-content/plugins/amazon-s3-and-cloudfront-pro/amazon-s3-and-cloudfront-pro.php(57): require_once('/Users/nathanza...')
    #2 /Users/nathanzander/Dropbox/Sites/craftbeer.com/wp-includes/class-wp-hook.php(286): as3cf_pro_init('')
    #3 /Users/nathanzander/Dropbox/Sites/craftbeer.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #4 /Users/nathanzander/Dropbox/Sites/craftbeer.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #5 /Users/nathanzander/Dropbox/Sites/craftbeer.com/wp- in /Users/nathanzander/Dropbox/Sites/craftbeer.com/wp-content/plugins/amazon-s3-and-cloudfront-pro/vendor/Aws2/vendor/composer/autoload_real.php on line 38

    My saving grace is that my host company did some thing to reduce the purges. Got it working slick now. they said it creates to many Purge requests from the DB.

    Hey guys –

    There is a conflict with this plugin and the WP Offload S3 plugin latest version, which I just upgraded and it broke my site until I disabled Nested Pages.

    I too have been having CPU Usage issues on sites as well and now I am going to have to go through each one to see if this plugin is the cause given everyone’s sentiment above.

    Thread Starter dm

    (@dmackinn)

    In case other people are curious, this is the value I saw in the database table when the high CPU issue was happening, it’s the exception error generated by WP core

    
    O:8:"WP_Error":2:{s:6:"errors";a:1:{s:11:"menu_exists";a:1:{i:0;s:97:"The menu name <strong>Nested Pages</strong> conflicts with another menu name. Please try another.";}}s:10:"error_data";a:0:{}}
    
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘High CPU usage under WordPress 4.9.1’ is closed to new replies.