WordPress.org

Ready to get started?Download WordPress

Forums

Instagram Slider Widget
[resolved] Error (3 posts)

  1. nashmag
    Member
    Posted 3 months ago #

    That is what shows up on my site when widget was added

    Warning: Wrong parameter count for strstr() in /wp-content/plugins/instagram-slider-widget/inc/functions.php on line 33

    what can I do about it? Anyone?

    https://wordpress.org/plugins/instagram-slider-widget/

  2. jetonr
    Member
    Plugin Author

    Posted 3 months ago #

    The PHP version you're using does not support the third parameter of strstr, hence the error message. The function requires PHP 5.3.0 or higher.

    If you can't upgrade your php to 5.3.0 or higher, try replacing line 33 on inc/functions.php with the following:

    $json = substr( $json, 0, strpos($json, '</script>' ) );

  3. jetonr
    Member
    Plugin Author

    Posted 3 months ago #

    Fixed on latest version 1.0.2!

Reply

You must log in to post.

About this Plugin

About this Topic