PHP 5.4 Errors (1 post)

  1. doublesharp
    Posted 2 years ago #


    I just updated my server to 5.4 and noticed that your plugin has some incompatibilities - namely that there are some instances of "call-time pass-by-reference". There is a good explanation of how the code should be updated in this Stack Exchange post - http://stackoverflow.com/questions/8971261/php-5-4-call-time-pass-by-reference-easy-fix-available

    The lines that need to be updated are:

    • /instapress/instagram.php on line 306 (getFeedByUserId reference)
    • /instapress/instagram.php on line 309 (getFeedByUserId reference)
    • /instapress/instagram.php on line 311 (getFeedByTag reference)
    • /instapress/instagram.php on line 389 (getFeedByUserId function)
    • /instapress/instagram.php on line 452 (getFeedByTag function)
    • /instapress/instagram.php on line 777 (getAccessToken reference)
    • /instapress/instagram.php on line 952 (getAccessToken function) - this doesn't actually take an argument
    • /instapress/widget.php on line 80 (getFeedByUserId reference)
    • /instapress/widget.php on line 83 (getFeedByUserId reference)
    • /instapress/widget.php on line 85 (getFeedByTag reference)

    Thanks for all your work!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Instapress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.