[How to solve] – CodeIgniter Error : Only Variable References Should Be Returned By Reference

Previously I had heard and seen on several issues regarding this. One of them is this forum. And it turns out I experienced the same thing.  See the error on the image below.

codeigniter-error-only-variable-references-shouldbe-returned-by-reference

I was trying to fix the error code and discover the error message. Seen this line which is the source of the error. You can open this file “/system/core/Common.php”.

codeigniter-error-only-variable-references-shouldbe-returned-by-reference-2

You can quickly turn it into like this.

codeigniter-error-only-variable-references-shouldbe-returned-by-reference-3

And now try to refresh your web browser. You can continue the your project now.

Source : http://forum.codeigniter.com/thread-60436.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s