Codeigniter: Mengatasi Error Common.php Line 239

Codeigniter error common line 239Jadibaru – Ketika menjalankan project orang lain kadang muncul error begini:

A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 239

Tak usah panik gan, berikut cara mengatasi error common.php line  239:

Edit filename: System/core/Common.php, line number: 239


return $_config[0] =& $config; 

diedit menjadi:

$_config[0] =& $config;
return $_config[0]; 


Orang bijak selalu tinggalkan jejak, :)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *