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.
- The topic ‘Disabling debug objects causes fatal error’ is closed to new replies.