Support » Plugin: Instapress » Error fatal at activate plugin

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m getting the same error. It was working fine on my older server, but the plugin does not work on the new server.

    Same here

    In PHP 5.3.0 you will get a warning saying that “call-time pass-by-reference” is deprecated.

    If PHP version is >5.4.0 call-time pass-by-reference was removed, so using it will raise a fatal error.

    I hope in new version of plugin soon.

    Yeah, I just updated to PHP 5.4 and am getting this problem now. I can’t find another instagram plugin that does what I liked about this one, so I’m also looking for a resolution to this.

    Still having the same problem. Solving it is easy though, following this thread on SO :

    1°) You open instagram.php in the plugin’s folder.
    2°) You’re looking for the declaration of the method getFeedByUserId and getFeedByTag
    3°) You change $nextMaxId = 0 with &$nextMaxId = 0
    4°) Then, you look over instagram.php and widget.php and every time you see &$nextMaxId you change it for $nextMaxId (removing the ampersand)
    5°) Activate the plugin

    But it would be easier if the plugin was PHP5.4-ready



    Thanks a lot for posting this information.

    I had the same problem, but instead of just changing &$nextMaxId to $nextMaxId I changed all instances of an argument with &$ to $ in instagram.php and widget.php.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error fatal at activate plugin’ is closed to new replies.