Previous Thread
Next Thread
Print Thread
Hop To
#266361 10/07/2024 8:08 PM
Joined: Oct 2007
Posts: 469
Likes: 12
Addict
Addict
Joined: Oct 2007
Posts: 469
Likes: 12
This was posted in our Moderators forum.
Quote
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.
The screenshot is attached.
Attachments
Screenshot-2024-10-07-105926---Error-message-reeived-while-posting-a-PM-this-morning.png


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

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
Baldeagle #266362 10/07/2024 9:33 PM
Joined: Jun 2006
Posts: 16,372
Likes: 129
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,372
Likes: 129
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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Baldeagle #266363 10/07/2024 10:11 PM
Joined: Oct 2007
Posts: 469
Likes: 12
Addict
Addict
Joined: Oct 2007
Posts: 469
Likes: 12
Thank you.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

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
Baldeagle #266365 10/11/2024 11:10 PM
Joined: Oct 2007
Posts: 469
Likes: 12
Addict
Addict
Joined: Oct 2007
Posts: 469
Likes: 12
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.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

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
Baldeagle #266367 10/16/2024 5:20 PM
Joined: Oct 2007
Posts: 469
Likes: 12
Addict
Addict
Joined: Oct 2007
Posts: 469
Likes: 12
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
The reply was successfully posted to the thread.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

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
Baldeagle #266373 10/18/2024 11:54 PM
Joined: Oct 2007
Posts: 469
Likes: 12
Addict
Addict
Joined: Oct 2007
Posts: 469
Likes: 12
We're getting these sporadically.
Code
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
Have you figured out what the cause might be?


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

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
Baldeagle #266447 12/25/2024 10:47 PM
Joined: Oct 2007
Posts: 469
Likes: 12
Addict
Addict
Joined: Oct 2007
Posts: 469
Likes: 12
We are still seeing these errors. Any progress on tracking down the cause?
Attachments
IMG_0334.jpeg


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

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

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Cook Book for relocating a Live Forum to a new host
by InlinersAdmin - 01/17/2025 9:41 PM
Inundated!: Who's Online - Guests
by Z65Paul - 01/15/2025 11:39 PM
online table full
by ehill - 01/13/2025 9:23 AM
Upgraded to ver8 - now can't login
by phoenix011235 - 10/24/2024 7:50 AM
Another error
by Baldeagle - 10/07/2024 8:08 PM
Who's Online Now
1 members (1 invisible), 195 guests, and 153 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)