Ignore certain php errors

Home Forums BulletProof Security Pro Ignore certain php errors

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5043
    protection
    Participant

    Hello –
    I have a cron job that kicks off a php script and all runs fine, however, it triggers a PHP notice. Is there a way to ignore this particular notice so that it doesn’t write to my PHP Error log?
    Thanks

    #5050
    AITpro Admin
    Keymaster

    You can set the Logging level based on the type of error.  Example:  Log only Fatal errors, Log only Fatal and Warning errors, etc., but you cannot specify by application, plugin, etc. that is not possible with php error logging done by your Server.

    http://forum.ait-pro.com/forums/topic/how-to-troubleshoot-php-errors-php-errors-in-your-php-error-log/

     

    #5055
    protection
    Participant

    got it, thanks

    #38154
    Alex Laxton
    Participant

    Great dude, there are many Error’s and Warning comes while coding for PHP, but as admin said you have to avoid such type of useless errors.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.