Title: Invalid Post Type Error
Last modified: August 21, 2016

---

# Invalid Post Type Error

 *  Resolved [glustiber](https://wordpress.org/support/users/glustiber/)
 * (@glustiber)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/invalid-post-type-error-2/)
 * 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/](https://wordpress.org/plugins/enhanced-tooltipglossary/)

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

 *  Plugin Author [CreativeMindsSolutions](https://wordpress.org/support/users/creativemindssolutions/)
 * (@creativemindssolutions)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/invalid-post-type-error-2/#post-4815199)
 * Hello [@glustiber](https://wordpress.org/support/users/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](https://wordpress.org/support/users/glustiber/)
 * (@glustiber)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/invalid-post-type-error-2/#post-4815326)
 * 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](https://wordpress.org/support/users/creativemindssolutions/)
 * (@creativemindssolutions)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/invalid-post-type-error-2/#post-4815333)
 * [@glustiber](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/enhanced-tooltipglossary/assets/icon-256x256.png?rev=2072169)
 * [CM Tooltip Glossary](https://wordpress.org/plugins/enhanced-tooltipglossary/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enhanced-tooltipglossary/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enhanced-tooltipglossary/)
 * [Active Topics](https://wordpress.org/support/plugin/enhanced-tooltipglossary/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enhanced-tooltipglossary/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enhanced-tooltipglossary/reviews/)

## Tags

 * [invalid](https://wordpress.org/support/topic-tag/invalid/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * 3 replies
 * 2 participants
 * Last reply from: [CreativeMindsSolutions](https://wordpress.org/support/users/creativemindssolutions/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/invalid-post-type-error-2/#post-4815333)
 * Status: resolved