Php errors: Deprecated: Call-time pass-by-reference has been deprecated and its solution






Got problems with the Notice in the code you can simply remove them by pasting the line below

error_reporting (E_ALL ^ E_NOTICE);

Notice: Use of undefined constant action - assumed 'action' in D:\web\xampp\htdocs\....\....\..\.....php(1) : eval()'d code on line 43



Deprecated: Call-time pass-by-reference has been deprecated

if we get this errors then we just have to change 
allow_call_time_pass_reference = off 
 to

allow_call_time_pass_reference = on


at php.ini file


After this don't forget to restart your xampp or wamp or means server.


Ways to find the php.ini file
Make one file and write <?php echo phpinfo(); ?>

and run it in the browser and search for the word "php.ini"
According to above mine php.ini file is included in the D:\web\xampp\php folders.

By this you will be able to get the php.ini file and change the setting as per your need.

Thanking You
Rupak Nepali

Comments

Popular posts from this blog

Opencart error: Notice: Trying to access array offset on value of type null in ..../vendor/scss.inc.php on line 1753

Creating Class Templates

Fixed: Opencart installation error linux: warning: fopen(system/storage) failed to open stream: Permission denied