PHP Notice and Warning
-
Hi guys,
There is a PHP Notice and a Warning that is added on our debug.log
[26-Dec-2020 11:09:51 UTC] PHP Notice: Undefined index: in /httpdocs/wp-content/plugins/if-menu/if-menu.php on line 110 [26-Dec-2020 11:09:51 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /httpdocs/wp-content/plugins/if-menu/if-menu.php on line 110
A solution would may be to check if
isset( $conditions[$if_conditions[$index]] )
Can you please have a look into this?
Thank you in advance.Best regards,
Spyros
- The topic ‘PHP Notice and Warning’ is closed to new replies.