WordPress.org

Forums

Instagram Slider Widget
[resolved] Error (3 posts)

  1. nashmag
    Member
    Posted 1 year 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 1 year 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 1 year ago #

    Fixed on latest version 1.0.2!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Instagram Slider Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic