WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Disabling debug objects causes fatal error

[Resolved] Disabling debug objects causes fatal error

  • I was having a javascript issue with debug-objects (the problem was likely caused outside of debug-objects) and on a whim I thought I’d just disable debug-objects and then re-enable it. Sort of the CTRL-ALT-DEL of WordPress. Anyway, tragedy struck immediately. I disabled the plugin through the admin interface and now I can’t load either admin or frontend interface because it’s giving me the following fatal error:

    Fatal error: Call to undefined function add_submenu_page() in [FILE_PATH] on line 97.

    Now this reference is to a plugin that I have developed and not changed in months. Line 97 is:

    add_submenu_page ( LG_TRANSACTIONAL_MENU , $plural ,$plural,”manage_options”,”edit.php?post_type={$this->custom_type_slug_name}”);

    I’m completely confused. Any help at all to get me pointed in the right direction would be hugely useful.

    http://wordpress.org/extend/plugins/debug-objects/

Viewing 2 replies - 1 through 2 (of 2 total)
  • BTW, I did look through my git repositories to make sure nothing had changed and it definitely has NOT changed.

    Plugin Author Frank Bueltge

    @bueltge

    Hm, not easy to help you. Debug Objects read only data, no changes on core or objects. Maybe the core was change in the include of the function add_submenu_page() and you must change the hook, in there work this function.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Disabling debug objects causes fatal error’ is closed to new replies.