CM Tooltip Glossary
[resolved] Invalid Post Type Error (4 posts)

  1. glustiber
    Posted 2 years ago #

    I recently switched to a new wordpress theme. At first, the glossary appeared to be working flawlessly. All of the tooltip definitions I entered before the switch are still working correctly on my pages. However, when I try to add a new glossary item, I get an "invalid post type" error. When I click on "CM Tooltip Glossary" to view the glossary through the wp-admin interface, I get a blank screen.

    Has anyone run into this error before or know what may be causing it?

    I am happy to provide more information about the problem.


  2. CM Plugins
    Plugin Author

    Posted 2 years ago #

    Hello @glustiber,

    We're sorry you've run into problems. We'd like to help you out.

    Does the problem occur only in this particular theme? If the functionality is working with any other theme, but the one you are using - please provide it's name so we can check the nature of this conflict.

  3. glustiber
    Posted 2 years ago #

    The problem is only occurring in the child theme, and in the parent theme it works, so it must be some modifications I made in the child theme that are causing the problem. I am still trying to pinpoint the problem.

    I am getting the following error message:
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'edit.php?post_type=glossary' not found or invalid function name in /nas/wp/www/cmeded/wp-includes/plugin.php on line 429.

    Line 429 of plugin.php is the do_action function.

    Do you have any advice on where I should look to diagnose this problem, based on the error message?

  4. CM Plugins
    Plugin Author

    Posted 2 years ago #


    It seems that the string 'edit.php?post_type=glossary' which is probably the part of the url is being passed to some action.

    Unfortunately it's impossible to guess which action basing on this input.

    To pinpoint this problem you'd need to look for each of the "add_action()" calls in your child theme and see which one of them passes the fragment of the url instead of the name of some function.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CM Tooltip Glossary
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic