Adsense
Popular Posts
- Install APXS in Redhat Linux
- MySQL workbench -"Could not decrypt password cache"
- Transfer modules between sites
- JavaScript, remove trailing insignificant zeros after toFixed function
- Set Windows path command line
- datatable order by nunmeric
- MySQL date created and date modified
- super(props) in React
- PHP, dump varailbes in a format way
- React: connect(mapStateToProps, mapDispatchToProps)
Friday, November 23, 2018
Error message in PHP upgrade: Only variable references should be returned by reference
When I update PHP5.3 to PHP7, the following error message shows:
"A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php"
CodeIgniter system/core/Common.php
My code location:
/var/www/html/new6sp/system/core/Common.php
line 257 change
return $_config[0] =& $config;
to
$_config[0] =& $config;
return $_config[0];
Labels:
CodeIgniter,
php
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment