• Resolved Ashley

    (@nosegraze)


    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)
  • Plugin Support Smash Balloon Louis

    (@smashballoonlouis)

    Hi @nosegraze,

    Thank you for bringing this to our attention! I’m glad to hear you were able to correct this on your end. I have shared this information with our development team so they can correct this in a future update to the plugin. If you have any other feedback or questions, please us know.

    Thanks!
    Louis

    Thread Starter Ashley

    (@nosegraze)

    Thank you @smashballoonlouis ??

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.