I have just switched my site to use the HHVM cache offered by my provider. Since the switch, when logged in, I get dozens of error messages for each page, and they are always the same:
A PHP Error was encountered
Severity: Warning
Message: Parameter 2 to EE_Extensions::universal_call() expected to be a reference, value given
Filename: libraries/Extensions.php
Line Number: 119I also get it on every page of the control panel.
My provider struggles to find the issue. Are there any EE experts around who have seen this before?
Thank you!
This is what my hosting company eventually came back with:
There was a “&” sign in-front of the second parameter for the function universal_call() that was causing all the warnings, by removing it we resolved the issue. The “&” sign in PHP is used to pass a variable by reference, and sometimes this could cause issues. Here you can check more info about the “&” in PHP (in-front of variables): http://php.net/manual/en/language.references.pass.php Note that removing the “&” should not effect your site as the variable is still there.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.