Error Message and solution
-
Hello,
In the error log I have these entries:
Warning: in_array() expects parameter 2 to be array, string given in /wp-content/plugins/wp-categories-widget/wp-categories-widget.php on line 172to solve this, change at line 171:
if ( $terms ) {
into
if(is_array($terms) && !empty($terms) && count($terms)){THX
Henry
The topic ‘Error Message and solution’ is closed to new replies.