Jump to content

How to Disable PHP Error Logging to tblerrorlog in WHMCS 8


Recommended Posts


I’m using WHMCS 8.
In the settings under General Settings, the options like Display Errors and Log Errors are all disabled. However, the tblerrorlog table is still receiving many entries, mostly warnings.
How can I disable the logging of PHP errors into the tblerrorlog?
What is the difference between tblmodulelog and tblerrorlog?
Can I enable tblmodulelog and disable tblerrorlog, or raise the log level from Warning to Error?
Thanks, Best Regards

Link to comment
Share on other sites

On 4/13/2025 at 10:56 PM, Khang Phuc said:

How can I disable the logging of PHP errors into the tblerrorlog?

I don't think this type of granular logging is natively supported.

On 4/13/2025 at 10:56 PM, Khang Phuc said:

What is the difference between tblmodulelog and tblerrorlog?

tblmodulelog will log Module specific logs, not just errors either-great for finding specific module related info. tblerrorlog is the systems general error log.

On 4/13/2025 at 10:56 PM, Khang Phuc said:

Can I enable tblmodulelog and disable tblerrorlog, or raise the log level from Warning to Error?

These two can be run independently of one another. I've not heard of capturing a specific log level in tblmodulelog.

Doesnt't mean it's not possible, but I'd defer to a WHMCS representative to answer this.
 

@WHMCS ChrisD @WHMCS Alex @WHMCS Chance

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated