Background - Before the software update and changes, I used to be able to post a PM to myself by creating a PM but leaving the "Add By Display Name" entry blank. Any PM I created this way was automatically generated with me as the sole person in the PM. I used it when drafting sticky posts and other things related to my forums for updating headers and such, allowing me to develop and save them until I had all the kinks worked out.
I attempted to do this again today for the first time since the software update and got the error message displayed in the attachment below. I'm guessing this capability is no longer functional and wondering, if I try to put my own display name in the box, will that make it work to create a new PM to myself???
I didn't want to attempt that yet as once the other error message showed up, it forced me to clear my cookies and get signed out/sign back in to get Stovebolt to work again.
Server Information UBB.threads Version 8.0.0 Release 20240826 Server OS Linux Server Load 0.11 Web Server Apache/2.4.37 PHP Version 8.3.11 MYSQL Version 8.0.39 Database Size 1.82 GB
The error message being generated is because they're attempting to create a private thread with no participants; where previous versions allowed this PHP8 is far more strict as to how it'll allow code to process.
Server Information UBB.threads Version 8.0.0 Release 20240826 Server OS Linux Server Load 0.11 Web Server Apache/2.4.37 PHP Version 8.3.11 MYSQL Version 8.0.39 Database Size 1.82 GB
This is a second instance. I'm including the entire post from our member.
Quote
Hope this email finds you well, and busy doing Stovebolt things. I'm just writing because I've gotten the following error now, twice, when replying to thread topics. Once in Big Bolts, once in the Engine Bay. Here's the text of said error, which occurs upon completing text entry and hitting 'Submit.':
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, false given in /var/www/html/ubbthreads/libs/user.inc.php:608 Stack trace: #0 /var/www/html/ubbthreads/libs/user.inc.php(608): in_array() #1 /var/www/html/ubbthreads/scripts/addpost.inc.php(668): user->check_group_join() #2 /var/www/html/ubbthreads/ubbthreads.php(286): page_addpost_run() #3 {main} thrown in /var/www/html/ubbthreads/libs/user.inc.php on line 608
My post still seems to be posted, as the first time I saw this I hit the back button, then preview, where it looked OK. Then upon hitting Reply, I got a dialog stating that reply had already been posted and Reply button is disabled. Clicked OK to dismiss it. Then refreshed page, and my reply was there.
Hope this helps,
Bolton
PS many years ago, I tested software for a living. So as then, I tried to recreate my whole chain of events leading up to said error, and what happens next.
Server Information UBB.threads Version 8.0.0 Release 20240826 Server OS Linux Server Load 0.11 Web Server Apache/2.4.37 PHP Version 8.3.11 MYSQL Version 8.0.39 Database Size 1.82 GB
I just replied to an existing thread and got this error:
Quote
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, false given in /var/www/html/ubbthreads/libs/user.inc.php:608 Stack trace: #0 /var/www/html/ubbthreads/libs/user.inc.php(608): in_array() #1 /var/www/html/ubbthreads/scripts/addpost.inc.php(668): user->check_group_join() #2 /var/www/html/ubbthreads/ubbthreads.php(286): page_addpost_run() #3 {main} thrown in /var/www/html/ubbthreads/libs/user.inc.php on line 608
Server Information UBB.threads Version 8.0.0 Release 20240826 Server OS Linux Server Load 0.11 Web Server Apache/2.4.37 PHP Version 8.3.11 MYSQL Version 8.0.39 Database Size 1.82 GB
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, false given in /var/www/html/ubbthreads/libs/user.inc.php:608 Stack trace: #0 /var/www/html/ubbthreads/libs/user.inc.php(608): in_array() #1 /var/www/html/ubbthreads/scripts/addpost.inc.php(668): user->check_group_join() #2 /var/www/html/ubbthreads/ubbthreads.php(286): page_addpost_run() #3 {main} thrown in /var/www/html/ubbthreads/libs/user.inc.php on line 608
Server Information UBB.threads Version 8.0.0 Release 20240826 Server OS Linux Server Load 0.11 Web Server Apache/2.4.37 PHP Version 8.3.11 MYSQL Version 8.0.39 Database Size 1.82 GB
Server Information UBB.threads Version 8.0.0 Release 20240826 Server OS Linux Server Load 0.11 Web Server Apache/2.4.37 PHP Version 8.3.11 MYSQL Version 8.0.39 Database Size 1.82 GB