Support » Plugin: Nested Pages » Nested Pages breaks site with wp_nav_menu

  • Resolved amityweb

    (@amityweb)


    Upgraded a site yesterday. Today the site is down.

    When using wp_nav_menu() the site has a timeout. error log says:
    [Thu Nov 23 15:42:34.818060 2017] [cgi:warn] [pid 6589] [client 12.34.56.78:42667] AH01220: Timeout waiting for output from CGI script /home/mysite/cgi-bin/php7.0.cgi, referer: mysite.com
    [Thu Nov 23 15:42:34.818918 2017] [core:error] [pid 6589] (70007)The timeout specified has expired: [client 12.34.56.78:42667] AH00574: ap_content_length_filter: apr_bucket_read() failed, referer: mysite.com

    Turning debig on shows LOADS of notices of:
    Notice: Object of class WP_Error could not be converted to int in /home/mysite/public_html/wp-includes/taxonomy.php

    If I disable Nested Pages, then it works fine.

    Am using v 2.0.4

Viewing 2 replies - 1 through 2 (of 2 total)
  • We’re still getting these issues with nested pages. Its strange, some sites work fine then others get out of memory errors and internal server errors. Then some other sites start having it later. Just had another site been using nested pages fine crash with OOM and internal server 500. Disabled nested pages and all works fine again.

    So seems something really is up with nested pages, its just affecting our sites at different time. Slowly having to disable it on all our site.

    Plugin Author Kyle Phillips

    (@kylephillips)

    There seems to have been an issue where if there was already a menu in the system with the name “Nested Pages,” the WP_Error instance would be stored as the menu, causing difficult-to-track errors. A patch has been added in V3 that should prevent this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Nested Pages breaks site with wp_nav_menu’ is closed to new replies.