• Hi there, we keep getting the error below in our server logs:

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

    I’ve found the thread below – but in our case we’re not doing any logic around the user role, only around regions, so I don’t think it applies (I’d tried resetting the logic and reenebling just in case, as suggested in the thread, but still did not solve the isse)
    https://www.ads-software.com/support/topic/error-message-with-new-version-06/

    Our cluster is on PHP version 5.3

    Any suggestions?

    Thanks,
    Maty

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes also getting this message all of a sudden however it is in the website header not just in our logs.

    This was caused by deleting a role that was used in our conditions in the menu. It was solved by adjusting the conditions for the menu.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning: call_user_func() expects parameter 1 to be a valid callback’ is closed to new replies.