I’m getting the same error. It was working fine on my older server, but the plugin does not work on the new server.
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 : http://stackoverflow.com/questions/8971261/php-5-4-call-time-pass-by-reference-easy-fix-available
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.