Support » Plugin: WP Social Post And Widget » PHP Fatal error – InstagramAPI\Instagram::_setUser

  • Resolved Mark Howells-Mead

    (@markhowellsmead)


    Getting the following response from the AJAX request when trying to authenticate using the verification code:

    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function InstagramAPI\Instagram::_setUser(), 2 passed in [my webroot path]/wp-content/plugins/wp-instagram-post/vendor/mgp25/instagram-php/src/Instagram.php on line 565 and exactly 3 expected in [my webroot path]/wp-content/plugins/wp-instagram-post/vendor/mgp25/instagram-php/src/Instagram.php:599

    Newest version of the plugin; WordPress 5.1; PHP 7.1.26

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author qsheeraz

    (@qsheeraz)

    Hi,

    Thanks for pointing out the issue. Yes it was a minor bug. Just fixed.
    Please delete the plugin and reinstall fresh copy.
    Let us know if you still have issues.

    Regards

    The latest version in the Plugin Repository is still 1.5. Have you pushed the newest version (1.5.1)?

    I deleted and reinstalled 1.5 and this issue is now resolved. You should update the version number so that everyone gets the new version.

    Plugin Author qsheeraz

    (@qsheeraz)

    Great!

    Yes not launched new version. Some users have difficulty after update new version as it replaces their login session which resides in plugin folder.

    We are working on a separate session location for that issue and then we will launch new version.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Fatal error – InstagramAPI\Instagram::_setUser’ is closed to new replies.