Jump to content

Opps Error on EMAIL tab of client


slim

Recommended Posts

8.6, php 8.1

I get this error when clicking on the EMAILS tab in a client profile. (doesnt happen on all clients)

Oops!
Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.

For additional assistance, please reference the WHMCS TroubleShooting Guide »

TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/xxxxx/public_html/xxxxx/clientsemails.php:0
Stack trace:
#0 {main}

Link to comment
Share on other sites

  • 2 weeks later...
  • WHMCS Support Manager

Hi there,

This error occurs when an email campaign message failed to send to the Client Account in question (eg. invalid email address).

As a workaround you can remove the failed emails from the client's EMail log:

DELETE FROM `tblemails` WHERE `failed` = 1 and userid = x;

Replace x with the ID of the Client Account in question.

Link to comment
Share on other sites

11 hours ago, WHMCS John said:

Hi there,

This error occurs when an email campaign message failed to send to the Client Account in question (eg. invalid email address).

As a workaround you can remove the failed emails from the client's EMail log:


DELETE FROM `tblemails` WHERE `failed` = 1 and userid = x;

Replace x with the ID of the Client Account in question.

Hi John

I had failed campaign emails due to an earlier php 8.1 bug in the beta - Once these were removed from the database by your support team, the issue stopped. Thanks

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