Support » Plugin: JC Submenu » JC Submenu: WP_Term instead of WP_Post object

  • Resolved kolumbus7

    (@kolumbus7)


    JC Submenu seems to treat the menu items as WP_Term objects instead of the expected WP_Post objects, which causes a severe PHP error on my page.
    I have a WP multisite installation including MultilingualPress plugin. The problem occurs only on the translated pages.

    How can I change the menu items into WP_post objects, can anybody help me?
    Thanks in advance, Matthias

Viewing 1 replies (of 1 total)
  • Resolved: I had enabled compatibility with theme custom menu walkers using a PHP function.
    After I disabled it, everything worked well.

    add_filter('jcs/enable_public_walker', 'jc_disable_public_walker');
    function jc_disable_public_walker($default){
        return true;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘JC Submenu: WP_Term instead of WP_Post object’ is closed to new replies.