Knowledge Base

Notice: Only variables should be assigned by reference in xxxxxx

Problem: Suddenly, I start receiving a bunch of errors similar to:

Notice: Only variables should be assigned by reference in /home/example.com/public_html/system/core/core.template.php on line 191


Solution: The most likely cause of this is that your Host has updated to PHP v4.4.0 or newer and that you are running an older version of EE.  PHP 4.4 introduced changes that were not backward compatible with how some things were previously done in EE.  In response, EE v1.3.1 was released to make EE compatible with PHP v4.4.  So, the first thing to do is to update your EE installation to the latest version.

You may also see a similar error message caused by Plugins that are affected by the same PHP 4.4.0 change.  In this case, go to the EE Plugins site and make sure you download the latest version of all of your plugins.

Finally, a few people with PHP v5.0.4 or newer have also reported similar errors.  In these cases, it is actually caused by a bug in PHP itself, which is planned to be fixed in a forthcoming version.

Last Updated on Oct 10, 2005 at 09:08   ( Permalink )
Category: Technical Issues, Error Messages