pKris 0 Posted November 23, 2022 Hey all! We recently upgraded to WHMCS 8.6, and all is well except for a few issues. Occasionally a ticket will throw an error when opening it, this ticket could be brand-new or days old with many replies in it: TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /var/www/html/ponyboy/supporttickets.php:0 Stack trace: #0 /var/www/html/ponyboy/supporttickets.php(0): in_array() #1 {main}\] I can still access the ticket via the WHMCS mobile app, it's just the browser that complains. 0 Quote Share this post Link to post Share on other sites
sonuyos 0 Posted December 2, 2022 Same, facing this issue too. 0 Quote Share this post Link to post Share on other sites
DennisHermannsen 104 Posted December 2, 2022 Are you able to reproduce the error by doing specific steps? Giving all information possible will most likely result in a quick fix from WHMCS. 0 Quote Share this post Link to post Share on other sites
pKris 0 Posted December 2, 2022 1 minute ago, DennisHermannsen said: Are you able to reproduce the error by doing specific steps? Giving all information possible will most likely result in a quick fix from WHMCS. Sadly no, it is an issue that may happen once in a blue moon - we could have a ticket open with a customer and be communicating back and forth on it for days when all of the sudden this pops up. 0 Quote Share this post Link to post Share on other sites
DennisHermannsen 104 Posted December 2, 2022 (edited) That specific error just seem like it would happen in a very specific case. Does the client attach anything? Are they trying to add a CC? Also, does it happen on 8.6.1 as well? Edited December 2, 2022 by DennisHermannsen 0 Quote Share this post Link to post Share on other sites
WHMCS John 240 Posted December 14, 2022 Hi all, I can confirm this issue was resolved in v8.6.1: Quote CORE-18286 - Prevent error in PHP 8.1 on ticket observer requests https://docs.whmcs.com/Changelog:WHMCS_V8.6.1 0 Quote Share this post Link to post Share on other sites