WordPress.org

Ready to get started?Download WordPress

Forums

Instapress
Error when I try to activate (7 posts)

  1. oddcopter
    Member
    Posted 2 years ago #

    I get these errors:

    Warning: Call-time pass-by-reference has been deprecated in /usr/local/pem/vhosts/112327/webspace/httpdocs/wp-content/plugins/instapress/instagram.php on line 306 Warning: Call-time pass-by-reference has been deprecated in /usr/local/pem/vhosts/112327/webspace/httpdocs/wp-content/plugins/instapress/instagram.php on line 309 Warning: Call-time pass-by-reference has been deprecated in /usr/local/pem/vhosts/112327/webspace/httpdocs/wp-content/plugins/instapress/instagram.php on line 311 Warning: Call-time pass-by-reference has been deprecated in /usr/local/pem/vhosts/112327/webspace/httpdocs/wp-content/plugins/instapress/instagram.php on line 777 Warning: Call-time pass-by-reference has been deprecated in /usr/local/pem/vhosts/112327/webspace/httpdocs/wp-content/plugins/instapress/widget.php on line 80 Warning: Call-time pass-by-reference has been deprecated in /usr/local/pem/vhosts/112327/webspace/httpdocs/wp-content/plugins/instapress/widget.php on line 83 Warning: Call-time pass-by-reference has been deprecated in /usr/local/pem/vhosts/112327/webspace/httpdocs/wp-content/plugins/instapress/widget.php on line 85

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

  2. boviatt
    Member
    Posted 2 years ago #

    I'm also getting this error...

  3. mccomb
    Member
    Posted 2 years ago #

    Same error here:
    Fatal error: Call-time pass-by-reference has been removed in /home/www/public_html/wp-content/plugins/instapress/instagram.php on line 306

    This happened after upgrading to PHP 5.4.4. The site actually gave me a 500 error and I had to disable the plugin to get the site back up. Now it cannot be re-enabled with this error.

  4. mccomb
    Member
    Posted 2 years ago #

    Ok, I found the solution to this: You need to change all the instances of "&$" to just "$"

    In instagram.php:
    Line 306: change &$nextMaxId to $nextMaxId
    Line 309: change &$nextMaxId to $nextMaxId
    Line 311: change &$nextMaxId to $nextMaxId
    Line 777: change &$errorMessage to $errorMessage

    In widget.php:
    Line 80: change &$nextMaxId to $nextMaxId
    Line 83: change &$nextMaxId to $nextMaxId
    Line 85: change &$nextMaxId to $nextMaxId

    Hope that helps.

  5. boviatt
    Member
    Posted 2 years ago #

    That solved it for me, Thanks!

  6. shagbagboy
    Member
    Posted 1 year ago #

    Thanx! This made my day.

  7. nikco
    Member
    Posted 1 year ago #

    Top work mccomb - thanks for the fix.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.