We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Lots of PHP error messages after switching to HHVM cache

How Do I?

Creative Spirits's avatar
Creative Spirits
40 posts
10 years ago
Creative Spirits's avatar Creative Spirits

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: 119

I 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!

       
Creative Spirits's avatar
Creative Spirits
40 posts
10 years ago
Creative Spirits's avatar Creative Spirits

I’m on EE v2.9.2, PHP 5.5 for the EE install.

       
Creative Spirits's avatar
Creative Spirits
40 posts
10 years ago
Creative Spirits's avatar Creative Spirits

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.
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.