2022-09-10, 11:04 PM
I'm attempting to upgrade to php-8.1 in an myBB-1.8.30 test environment, and its mostly working. However, every time I try to create a new thread + post, it seemingly works, but I also see the following error spew:
Type: 2
File: inc/datahandlers/post.php (Line no. 1715)
Message
Undefined array key 41
Back Trace: #0 /var/www/html/dv-test0/inc/class_error.php(229): errorHandler->email_error(2, 'Undefined array...', 'inc/datahandler...', 1715)
#1 /var/www/html/dv-test0/inc/class_error.php(153): errorHandler->error(2, 'Undefined array...', 'inc/datahandler...', 1715)
#2 /var/www/html/dv-test0/inc/datahandlers/post.php(1715): errorHandler->error_callback(2, 'Undefined array...', '/var/www/html/d...', 1715)
#3 /var/www/html/dv-test0/newthread.php(438): PostDataHandler->insert_thread()
I definitely don't see this behavior with php-7.4.x.