Excessive PHP errors in Joomla

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I have Joomla 2.5 installed on Windows 7 with Apache 2 and PHP 5. I have countless PHP errors in the com/tag/log">log like the following:

[01-Sep-2012 19:33:55 UTC] PHP Strict standards:  Only variables should be assigned by reference in C:\ammon_dev\ammon\plugins\system\jquery\jquery.php on line 24
[01-Sep-2012 19:33:55 UTC] PHP Stack trace:   
[01-Sep-2012 19:33:55 UTC] PHP   1. {main}() C:\ammon_dev\ammon\administrator\index.php:0    
[01-Sep-2012 19:33:55 UTC] PHP   2. JAdministrator->route() C:\ammon_dev\ammon\administrator\index.php:40    
[01-Sep-2012 19:33:55 UTC] PHP   3. JApplication->triggerEvent() C:\ammon_dev\ammon\administrator\includes\application.php:106   
[01-Sep-2012 19:33:55 UTC] PHP   4. JDispatcher->trigger() C:\ammon_dev\ammon\libraries\joomla\application\application.php:670    
[01-Sep-2012 19:33:55 UTC] PHP   5. JEvent->update() C:\ammon_dev\ammon\libraries\joomla\event\dispatcher.php:161    
[01-Sep-2012 19:33:55 UTC] PHP   6. call_user_func_array() C:\ammon_dev\ammon\libraries\joomla\event\event.php:71    
[01-Sep-2012 19:33:55 UTC] PHP   7. plgSystemJquery->onAfterRoute() C:\ammon_dev\ammon\libraries\joomla\event\event.php:71

I tried disabling error logging in php.ini:

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

Unfortunately that does not make a difference.

Joomla isn’t in debug mode, and I am sure that I’m editing the correct copy of php.ini because other changes I make to it take effect.

Any ideas why I am getting so many errors or how to stop it from exploding the com/tag/log">log?

profilepic.png
manpreet 2 years ago

Try using the following setting instead:

error_reporting = (E_ALL & ~ E_ERROR)

It will report all problems except for errors and strict.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.