• Resolved ThatNewMommy

    (@thatnewmommy)


    I keep getting this error on my page. I looked online but the fix to it doesn’t work. It just gives me a second error.

    I keep getting this warning

    Warning: in_array() expects parameter 2 to be array, string given in /home/creadores2015/public_html/pr/wp-content/plugins/adminimize/adminimize.php on line 901

    The line it’s referring to says

    if ( isset( $mw_adminimize_menu ) && in_array( $item[ 2 ], $mw_adminimize_menu ) ) {
    					unset( $menu[ $index ] );

    The fix I found online said to change “in_array” to “is_array” but that won’t work.

    https://wordpress.org/plugins/adminimize/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Warning: in_array() expects parameter 2 to be array…’ is closed to new replies.