Title: 3.8.1 Problems
Last modified: August 21, 2016

---

# 3.8.1 Problems

 *  [The Jake Group](https://wordpress.org/support/users/the-jake-group/)
 * (@the-jake-group)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/381-problems/)
 * After upgrading to 3.8.1 the plugin stopped working on one of our sites. The 
   problem for us was in Submenu.php on line 157. Here the plugin checks if the 
   global post object is of type stdClass. Switching this to check if the type is
   WP_Post instead worked and solved our problems.
 * `if( is_a($post, 'stdClass') && (int)$post->ID ) {`
    should become `if( is_a(
   $post, 'WP_Post') && (int)$post->ID ) {`
 * [https://wordpress.org/plugins/gecka-submenu/](https://wordpress.org/plugins/gecka-submenu/)

Viewing 1 replies (of 1 total)

 *  [goshenw](https://wordpress.org/support/users/goshenw/)
 * (@goshenw)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/381-problems/#post-4602220)
 * Edit: I think the file is /models/Submenu.php
 * Anyway, my install has:
    `if( ( is_a($post, 'stdClass') || is_a($post, 'WP_Post'))&&(
   int)$post->ID ) {`
 * I think I’ll post a new topic if I can’t get it working…

Viewing 1 replies (of 1 total)

The topic ‘3.8.1 Problems’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gecka-submenu_f8f8f8.svg)
 * [Gecka Submenu](https://wordpress.org/plugins/gecka-submenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gecka-submenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gecka-submenu/)
 * [Active Topics](https://wordpress.org/support/plugin/gecka-submenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gecka-submenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gecka-submenu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [goshenw](https://wordpress.org/support/users/goshenw/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/381-problems/#post-4602220)
 * Status: not resolved