• Resolved glustiber

    (@glustiber)


    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.

    https://wordpress.org/plugins/enhanced-tooltipglossary/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    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.

    Thread Starter glustiber

    (@glustiber)

    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?

    Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    @glustiber

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Invalid Post Type Error’ is closed to new replies.