Cpanel keeps writing php notices in logs

rhm.geerts

Well-Known Member
Jul 29, 2008
184
25
78
Maastricht
cPanel Access Level
Root Administrator
I got a problem with Cpanel.

In the server php.ini it says:
error_reporting = E_ALL & ~E_NOTICE

This should report all errors except for Notices.

But still notices get in the error log like this, flooding the logfile:
[Wed Aug 31 16:42:27 2011] [error] [client 202.167.218.201] PHP Notice: Undefined index: products_image_med_destination in /home/user/public_html/admin/categories.php on line 1033
[Wed Aug 31 16:42:27 2011] [error] [client 202.167.218.201] PHP Notice: Undefined index: products_image_lrg_destination in /home/user/public_html/admin/categories.php on line 1033
Since it says PHP Notice, I presume these are php notices, but how can they keep getting in there while the php.ini setting says it shouldn't display notices?

This user has no custom php.ini present. How can I fix this?