2024-05-14, 12:38 PM
I have just ressurected a dormant forum. It was running 1.8.30 on php 7.3 and the server now runs php8.2 by default. I upgraded the forum to 1.8.38 but got quite a few error messages.
A couple were from plugins that I simply removed as unneeded, but lots of the errors seem to be from core files.
Everything is fine if I switch to php7.4 but php8.0 or newer gets me these errors:
Has the upgrade not gone properly, or is something else wrong? I could run it on php7.4 but I'd prefer not to.
Any suggestions?
A couple were from plugins that I simply removed as unneeded, but lots of the errors seem to be from core files.
Everything is fine if I switch to php7.4 but php8.0 or newer gets me these errors:
Warning [2] Undefined property: MyLanguage::$today_rel - Line: 476 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 476 errorHandler->error_callback
/global.php 490 my_date
/index.php 18 require_once
Warning [2] Undefined property: MyLanguage::$confirm_title - Line: 14 - File: global.php(958) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(958) : eval()'d code 14 errorHandler->error_callback
/global.php 958 eval
/index.php 18 require_once
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 15 - File: global.php(958) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(958) : eval()'d code 15 errorHandler->error_callback
/global.php 958 eval
/index.php 18 require_once
Warning [2] Undefined property: MyLanguage::$expcol_expand - Line: 16 - File: global.php(958) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(958) : eval()'d code 16 errorHandler->error_callback
/global.php 958 eval
/index.php 18 require_once
Warning [2] Undefined property: MyLanguage::$bottomlinks_markread - Line: 15 - File: global.php(1070) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(1070) : eval()'d code 15 errorHandler->error_callback
/global.php 1070 eval
/index.php 18 require_once
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$expcol_collapse - Line: 447 - File: inc/functions_forumlist.php PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php 447 errorHandler->error_callback
/index.php 463 build_forumbits
Warning [2] Undefined property: MyLanguage::$forum_closed - Line: 26 - File: index.php(468) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/index.php(468) : eval()'d code 26 errorHandler->error_callback
/index.php 468 eval
Warning [2] Undefined property: MyLanguage::$forum_closed - Line: 27 - File: index.php(468) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/index.php(468) : eval()'d code 27 errorHandler->error_callback
/index.php 468 eval
Has the upgrade not gone properly, or is something else wrong? I could run it on php7.4 but I'd prefer not to.
Any suggestions?