• Resolved buddhayogi

    (@buddhayogi)


    After updating to WP 4.6 and updating if-menu I got a error-message at the header of my website:

    Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in xxx/wp-content/plugins/if-menu/if-menu.php on line 119

    https://ww.wp.xz.cn/plugins/if-menu/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter buddhayogi

    (@buddhayogi)

    Okay, fixed it:

    – First, there was a page in my menu set to “if user is admin” when I updated WordPress to 4.6.
    – Afterwards I put this page to “no conditional-logic”
    – At last I updated if-menu and the error occured.

    Workaround:
    Switched Conditional logic for the page on -> Save menu -> and switch it off again -> save menu

    Plugin Author Andrei

    (@andreiigna)

    Hi

    Thanks for letting me know about this.

    This happens as some new dynamic conditions for user roles have been added, and they changed some function names. Re-setting the conditions, as you did, fixes this. I’ll also make some code changes so this doesn’t happen again.

    Thread Starter buddhayogi

    (@buddhayogi)

    Hello,
    the message still appears when choosing Admin Menu -> Appearance -> Customize.

    Hope, that helps for finding the bug…

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

The topic ‘Buggy’ is closed to new replies.