Jump to content
mikelegg

Blocked Senders Can Still Submit Support Tickets

Recommended Posts

It's a hook someone posted here on this board. It allows us to see if anything was unexpectedly blocked.

This is likely it:

 

Edited by bear

Share this post


Link to post
Share on other sites
54 minutes ago, bear said:

It's a hook someone posted here on this board. It allows us to see if anything was unexpectedly blocked.

This is likely it:

 

Thanks! Great tool. I installed it and I only see entries from 15 days ago, not related to this. Even with the keywords, Eric still manages to spam us. Very, very strange.

Share this post


Link to post
Share on other sites

@DennisHermannsen - Hmm, found a bug in WHMCS 7.9.x - when I create a ticket for a customer and submit, I get an error page and the ticket isn't submitted. Once I disable this hook, it works.

But, in WHMCS 8.4.1, it works fine.

Share this post


Link to post
Share on other sites

I've only checked it with the latest version of WHMCS. I don't have any installations running WHMCS 7.

If you're able to provide me with more details about the error (like the error message), I might be able to fix it.

Share this post


Link to post
Share on other sites
35 minutes ago, DennisHermannsen said:

I've only checked it with the latest version of WHMCS. I don't have any installations running WHMCS 7.

If you're able to provide me with more details about the error (like the error message), I might be able to fix it.

I appreciate your help!

Oops!

Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

Error: Call to a member function toArray() on array in /home/x/public_html/includes/hooks/block-ticket-spam.php:11
Stack trace:
#0 /home/x/public_html/includes/hookfunctions.php(0): WHMCS\Utility\SafeInclude::{closure}(Array)
#1 /home/x/public_html/customadminfolder/supporttickets.php(0): run_hook('TicketOpenValid...', Array)
#2 {main}

Share this post


Link to post
Share on other sites
22 hours ago, Ramouz said:

I appreciate your help!

Oops!

Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

Error: Call to a member function toArray() on array in /home/x/public_html/includes/hooks/block-ticket-spam.php:11
Stack trace:
#0 /home/x/public_html/includes/hookfunctions.php(0): WHMCS\Utility\SafeInclude::{closure}(Array)
#1 /home/x/public_html/customadminfolder/supporttickets.php(0): run_hook('TicketOpenValid...', Array)
#2 {main}

pluck() is already an array.

Share this post


Link to post
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