• Resolved Neji87

    (@neji87)


    I’m trying to code a plug-in, just something so that I can learn how to do such a thing. I’ve coded one plug-in already which works great. However, I’m totally stuck on the next.

    My code is below and I’m getting the following error:
    Fatal error: Call to undefined function add_submenu_page() in C:\web\www\kelly\wp-content\plugins\biography\index.php on line 47

    The error is confusing because it’s almost the same as the other plug-in I made. What am I missing?

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Neji87

    (@neji87)

    Couldn’t find the edit button so I’m replying to show the link to my code.

    http://pastebin.com/DPtEfMC6

    Thread Starter Neji87

    (@neji87)

    Fixed this, just thought I’d post on the off chance that anyone else encounters it.

    I still a little confused but I simply changed the name of the plug-in to something else and it worked. I guess that ‘Biography’ was clashing with something.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined function add_submenu_page’ is closed to new replies.