Support » Themes and Templates » Fatal error: Call to undefined function add_submenu_page() in /home/charge7/publ

  • Hello

    Yesterday I was installing ‘Digg Digg’ plugin on my wp site. After installing it, i was not able to activate it and then i saw that all the plugins got deactivated by themselves.

    After that I am getting a php error
    Fatal error: Call to undefined function add_submenu_page() in /home/charge7/public_html/wp-content/themes/chargebar/functions.php on line 877

    function add_submenu_page() is a wp reserved function, i dont know why its not finding it.

    Can anyone help or anyone having same problem.

    Thanks

Viewing 1 replies (of 1 total)
  • The code in functions.php goes like this…

    add_submenu_page('edit.php?post_type=product', 'package', 'Package', 'manage_options', 'package_page', 'package_page_function');
    function package_page_function() {
    ...............some code.........
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Call to undefined function add_submenu_page() in /home/charge7/publ’ is closed to new replies.