Support » Plugin: Nested Pages » PHP Notices

  • Resolved Till Krüss

    (@tillkruess)



    Hey!

    Awesome plugin, unfortunately I can’t use it because the following PHP notices break the WP backend for me.

    Could you develop the plugin with the constant WP_DEBUG set to TRUE?

    Notice: Trying to get property of non-object in wp-nested-pages/includes/class-np-pagelisting.php on line 61
    Notice: Trying to get property of non-object in wp-nested-pages/includes/class-np-pagelisting.php on line 62
    Notice: Trying to get property of non-object in wp-nested-pages/views/pages.php on line 4
    Notice: Trying to get property of non-object in wp-nested-pages/views/pages.php on line 6
    Notice: Trying to get property of non-object in wp-nested-pages/views/pages.php on line 40

    https://wordpress.org/plugins/wp-nested-pages/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kyle Phillips

    (@kylephillips)

    Hi Till,
    Sorry you’re having issues. Debugging is always on in the development of this plugin.

    The errors above all relate to methods that are calling the page post type object. Do you happen to have any plugins installed that might be changing the default “page” post type in any way?

    Thanks for bringing it to my attention… I assumed the page post type would be available. I’ll make it a point to check for that post type in activation.

    Plugin Author Kyle Phillips

    (@kylephillips)

    Till,
    If you have a multisite install, I believe your issue may be related to this one:
    https://wordpress.org/support/topic/on-multisite-the-text-pa?replies=2

    The latest update (v1.1.6) addresses this issue.

    Yes, thanks, it’s a Multisite Network and v1.1.6 fixed all notices : )

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Notices’ is closed to new replies.