MyBB Community Forums

Full Version: The following warnings occurred:
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Warning [2] Constant TIME_NOW already defined - Line: 7 - File: inc/plugins/rexshop.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
[PHP] errorHandler->error_callback
/inc/plugins/rexshop.php 7 define
/inc/class_plugins.php 38 require_once
/inc/init.php 235 pluginSystem->load
/global.php 20 require_once
/index.php 18 require_once

Warning [2] Undefined array key "info" - Line: 458 - File: inc/plugins/grouplegend.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/grouplegend.php 458 errorHandler->error_callback
/inc/plugins/grouplegend.php 490 grouplegend_leaders
/inc/class_plugins.php 142 grouplegend_show
/index.php 26 pluginSystem->run_hooks

Warning [2] Trying to access array offset on value of type null - Line: 522 - File: inc/plugins/grouplegend.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/grouplegend.php 522 errorHandler->error_callback
/inc/class_plugins.php 142 grouplegend_show
/index.php 26 pluginSystem->run_hooks

Warning [2] Trying to access array offset on value of type null - Line: 522 - File: inc/plugins/grouplegend.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/grouplegend.php 522 errorHandler->error_callback
/inc/class_plugins.php 142 grouplegend_show
/index.php 26 pluginSystem->run_hooks

Warning [2] Trying to access array offset on value of type null - Line: 522 - File: inc/plugins/grouplegend.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/grouplegend.php 522 errorHandler->error_callback
/inc/class_plugins.php 142 grouplegend_show
/index.php 26 pluginSystem->run_hooks

Warning [2] Trying to access array offset on value of type null - Line: 522 - File: inc/plugins/grouplegend.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/grouplegend.php 522 errorHandler->error_callback
/inc/class_plugins.php 142 grouplegend_show
/index.php 26 pluginSystem->run_hooks

Warning [2] Trying to access array offset on value of type null - Line: 522 - File: inc/plugins/grouplegend.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/grouplegend.php 522 errorHandler->error_callback
/inc/class_plugins.php 142 grouplegend_show
/index.php 26 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 522 - File: inc/plugins/grouplegend.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/grouplegend.php 522 errorHandler->error_callback
/inc/class_plugins.php 142 grouplegend_show
/index.php 26 pluginSystem->run_hooks

Warning [2] Trying to access array offset on value of type null - Line: 522 - File: inc/plugins/grouplegend.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/grouplegend.php 522 errorHandler->error_callback
/inc/class_plugins.php 142 grouplegend_show
/index.php 26 pluginSystem->run_hooks

Warning [2] Trying to access array offset on value of type null - Line: 522 - File: inc/plugins/grouplegend.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/grouplegend.php 522 errorHandler->error_callback
/inc/class_plugins.php 142 grouplegend_show
/index.php 26 pluginSystem->run_hooks

Warning [2] Trying to access array offset on value of type null - Line: 522 - File: inc/plugins/grouplegend.php PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/grouplegend.php 522 errorHandler->error_callback
/inc/class_plugins.php 142 grouplegend_show
/index.php 26 pluginSystem->run_hooks

Warning [2] Undefined variable $mnxt_af - Line: 17 - File: index.php(468) : eval()'d code PHP 8.0.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/index.php(468) : eval()'d code 17 errorHandler->error_callback
/index.php 468 eval

How can I solve this, I cant even access my admin portal to login...
According to this page: https://docs.mybb.com/1.8/install/requirements/

Quote:Requirements

MyBB 1.8 and the Merge System 1.8 have a few minimum system requirements:

    PHP ≥ 5.2, < 8.0
    MySQL ≥ 5.0, PostgreSQL ≥ 8.1 or SQLite ≥ 3
    Apache, nginx, lighttpd or IIS webserver

So, it will not work correctly with PHP 8

You'll need to downgrade your PHP interpreter.
it always worked with this php version... so that's not it. the plugins are corrupt I guess, but I dont have access to them cause my admin gives a huge error:

Warning [2] Constant TIME_NOW already defined - Line: 7 - File: inc/plugins/rexshop.php PHP 8.0.19 (Linux)
File	Line	Function
/inc/class_error.php	153	errorHandler->error
[PHP]		errorHandler->error_callback
/inc/plugins/rexshop.php	7	define
/inc/class_plugins.php	38	require_once
/inc/init.php	235	pluginSystem->load
/admin/index.php	18	require_once
MyBB should be compatible with PHP 8 at this point but some plugins probably won't be. It'd work if you switched to 7.4.
Thanks my webhoster fixed it for me! Thank you @matt I should wait for 8.0 php versions in the future <3