2022-12-02, 09:19 PM
(This post was last modified: 2022-12-02, 09:21 PM by netllama. Edited 1 time in total.)
Greetings,
I'm running myBB-1.8.32 on a Linux server. Everything works fine when using php-7.4.33. However, as soon as I update to php-8.0.x (or 8.1.x) every page load of the myBB forum triggers the following error message:
As php-7.x has become EOL, I really need to update to an 8.x version soon to ensure timely security updates. Is the above a known issue? Is there any workaround for php-8.x?
thanks!
I'm running myBB-1.8.32 on a Linux server. Everything works fine when using php-7.4.33. However, as soon as I update to php-8.0.x (or 8.1.x) every page load of the myBB forum triggers the following error message:
Type: 2
File: showthread.php(1617) : eval()'d code (Line no. 60)
Message
Undefined variable $search_thread
Back Trace: #0 /var/www/html/dv/inc/class_error.php(229): errorHandler->email_error(2, 'Undefined varia...', 'showthread.php(...', 60)
#1 /var/www/html/dv/inc/class_error.php(153): errorHandler->error(2, 'Undefined varia...', 'showthread.php(...', 60)
#2 /var/www/html/dv/showthread.php(1617) : eval()'d code(60): errorHandler->error_callback(2, 'Undefined varia...', '/var/www/html/d...', 60)
#3 /var/www/html/dv/showthread.php(1617): eval()
As php-7.x has become EOL, I really need to update to an 8.x version soon to ensure timely security updates. Is the above a known issue? Is there any workaround for php-8.x?
thanks!