Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

php warning messages filling up error_log
(1 viewing) (1) Guest
component
Go to bottomPage: 12
TOPIC: php warning messages filling up error_log
#61433
php warning messages filling up error_log 7 Years, 1 Month ago Karma: 0
Hi, we are currently running ARI Quiz version 3.8.4 on a Joomla 3.6.5 site with PHP version 7.1. The plugin is filling up Apache's error_log with PHP Warning messages - about one every second or less. Here are excerpts of the same three warning messages, which are getting generated over and over again:

[Wed Oct 04 13:14:59.533253 2017] [php7:warn] [pid 12359] [client xxx.xxx.xx.xxx:xxxxx] PHP Warning: Declaration of AriDateUtility::toUnix($date, $local = true) should be compatible with JDate::toUnix() in ../components/com_ariquiz/kernel/Utils/j16/class.DateUtility.php on line 104, referer:

[Wed Oct 04 13:14:59.533759 2017] [php7:warn] [pid 12359] [client xxx.xxx.xx.xxx:xxxxx] PHP Warning: Declaration of AriQuizTableQuiz::_getAssetParentId() should be compatible with JTable::_getAssetParentId(?JTable $table = NULL, $id = NULL) in ../components/com_ariquiz/tables/quiz.php on line 23, referer:

[Wed Oct 04 13:14:59.674313 2017] [php7:warn] [pid 13678] [client xxx.xxx.xx.xxx:xxxxx] PHP Warning: Declaration of AriConfig::set($name, $val) should be compatible with JObject::set($property, $value = NULL) in ../components/com_ariquiz/kernel/Utils/class.Config.php on line 208

The error logs are huge and I am having to delete them to reclaim space. What can I do to disable these warning messages?
The administrator has disabled public write access.
 
#61434
Re:php warning messages filling up error_log 7 Years, 1 Month ago Karma: 760
Hello,

Send your order number by email please.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#61463
Re:php warning messages filling up error_log 7 Years, 1 Month ago Karma: 0
Hi, I forwarded the order number as you requested. However, I still don't have a resolution. Should I hide PHP warning messages by appending ~E_WARNING to error_reporting in the php.ini file?
The administrator has disabled public write access.
 
#61464
Re:php warning messages filling up error_log 7 Years, 1 Month ago Karma: 0
I hid the PHP Warning messages in my php.ini file, but my error_log is still getting filled with PHP Notice messages like these:

[Fri Oct 06 15:08:33.964731 2017] [php7:notice] [pid 18740] [client xxx.xxx.xx.xxx:xxxxx] PHP Notice: Only variables should be assigned by reference in ../joomla/administrator/components/com_ariquiz/kernel/Joomla/Tables/class.Table.php on line 409, referer:

I'd appreciate any input. Should I just disable error logging altogether?
The administrator has disabled public write access.
 
#61465
Re:php warning messages filling up error_log 7 Years, 1 Month ago Karma: 760
If you want to disable notices, use the following value for error_reporting parameter:

error_reporting = E_ALL & ~E_DEPRECATED | E_STRICT | E_NOTICE

Regards,
ARI Soft
The administrator has disabled public write access.
 
#61478
Re:php warning messages filling up error_log 7 Years, 1 Month ago Karma: 0
Thanks, I can do that. Is there a newer version of ARI Quiz that is more compatible with PHP 7.x that I could upgrade to so I don't have to disable the warning and notification messages?
The administrator has disabled public write access.
 
Go to topPage: 12