in_array() expects parameter 2 to be array
-
PHP Version: 7.1.19-nmm1
Wordpress Version: 4.9.8
Plugin Version: 4.13
Current Theme: Extra ChildI got the following warning:
Warning: in_array() expects parameter 2 to be array, null given in […]/wp-content/plugins/ideapush/inc/pro-ip/idea-push-pro.php on line 326Please add the bold string
if(is_array($currentUserRole) && in_array($showBoardTo, $currentUserRole) || $showBoardTo == “Everyone”){
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘in_array() expects parameter 2 to be array’ is closed to new replies.