AcidCat Member Nov 25, 2020 #1 Is there a way to exclude within code when using XF PHP files all error logs? for example I have a file that gets a users avatar xfavatar.php?name=user is there a way for me to exclude this from the xenforo error log within admin cp?
Is there a way to exclude within code when using XF PHP files all error logs? for example I have a file that gets a users avatar xfavatar.php?name=user is there a way for me to exclude this from the xenforo error log within admin cp?
AcidCat Member Nov 25, 2020 #3 briansol said: try putting error_reporting(0); in the avatar file Click to expand... doesnt work
AcidCat Member Nov 25, 2020 #5 Ozzy47 said: Fix the error instead of hiding it? Click to expand... just added a default avatar that displays instead if anything is null or errors this also prevented the error logging.
Ozzy47 said: Fix the error instead of hiding it? Click to expand... just added a default avatar that displays instead if anything is null or errors this also prevented the error logging.