WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
[resolved] Warning: substr_compare() [function.substr-compare]: The length cannot exceed in (4 posts)

  1. tillsond
    Member
    Posted 1 year ago #

    after installing 1.1.9 I got the following ...

    Downloading update from http://downloads.wordpress.org/plugin/facebook.1.1.9.zip…

    Unpacking the update…

    Installing the latest version…

    Removing the old version of the plugin…

    Plugin updated successfully.

    Warning: substr_compare() [function.substr-compare]: The length cannot exceed initial string length in ... /wp-content/plugins/facebook/admin/migrate-options-118.php on line 74

    Warning: substr_compare() [function.substr-compare]: The length cannot exceed initial string length in ... /wp-content/plugins/facebook/admin/migrate-options-118.php on line 74

    Warning: substr_compare() [function.substr-compare]: The length cannot exceed initial string length in ... /wp-content/plugins/facebook/admin/migrate-options-118.php on line 74

    (note: i removed the specific path info from my server for this post)

    then when i am looking at the plugin setting pages, i see the following on each page ...

    Warning: Invalid argument supplied for foreach() in .../wp-content/plugins/facebook/admin/settings.php on line 300

    Warning: Invalid argument supplied for foreach() in .../wp-content/plugins/facebook/admin/settings.php on line 300

    Warning: Invalid argument supplied for foreach() in .../wp-content/plugins/facebook/admin/settings.php on line 300

    Any ideas what would cause that and what i need to do to fix it?

    http://wordpress.org/extend/plugins/facebook/

  2. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    I added additional checks in the code and released a new version of the plugin. The warning messages you saw should no longer be present.

  3. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    marking as resolved

  4. tillsond
    Member
    Posted 1 year ago #

    Excellent! Thank you so much for the quick resolution, this is a really great plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.