Gecka Submenu
3.8.1 Problems (2 posts)

  1. The Jake Group
    Posted 2 years ago #

    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 ) {


  2. goshenw
    Posted 2 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gecka Submenu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.