Does anybody know how to make a disabled function (in my case ini_set()
) stop throwing an error? I usually have it like @ini_set()
but on this WP plugin, it STILL fills the error_log with:
[30-Apr-2018 12:01:39 UTC] All-in-One Event Calendar: ini_set() has been disabled for security reasons @ /home/burp/public_html/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php:81 #2
I suspect it's because that ini_set actually sets a callback function and another ini_set() is called within that ini_set() function defined. Here's the error_log'ed line 81 in question:
@ini_set( 'unserialize_callback_func', 'spl_autoload_call' );
I'm the server administrator and I disabled ini_set() years ago and I have no problem with this, I just want to MUTE the error logging on that script. +100 WP sites that all include ini_set() are NOT reporting any error, only this particular one, despite the @ before the ini_set().