Fatal error: Uncaught Error: array_diff(): Argument #2 must be of type array, st
-
I received the following fatal error:
Fatal error: Uncaught Error: array_diff(): Argument #2 must be of type array, string given in /wp-content/plugins/instagram-feed/inc/class-sb-instagram-settings.php on line 407 Call stack: array_diff() wp-content/plugins/instagram-feed/inc/class-sb-instagram-settings.php:407 SB_Instagram_Settings::filter_atts_for_legacy() wp-content/plugins/instagram-feed/inc/class-sb-instagram-settings.php:76 SB_Instagram_Settings::__construct() wp-content/plugins/instagram-feed/inc/if-functions.php:42 display_instagram() wp-includes/shortcodes.php:355 do_shortcode_tag()
I was able to patch it by casting
$atts
to an array before treating it as such, but it would be nice to get this fix in properly so it doesn’t pop up again.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal error: Uncaught Error: array_diff(): Argument #2 must be of type array, st’ is closed to new replies.