MyBB Community Forums

Full Version: Warning messages have appeared all over the forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello. Since I updated to 1.8.38, various warning messages have appeared all over the forum. Undecided 


In the index:

Warning [2] Undefined property: MyLanguage::$myalerts_modal_mark_all_read_confirm - Line: 5 - File: inc/plugins/myalerts.php(866) : eval()'d code PHP 8.0.30 (Linux)
File 	Line 	Function
/inc/class_error.php 	153 	errorHandler->error
/inc/plugins/myalerts.php(866) : eval()'d code 	5 	errorHandler->error_callback
/inc/plugins/myalerts.php 	866 	eval
/inc/class_plugins.php 	142 	myalerts_global_intermediate
/global.php 	498 	pluginSystem->run_hooks
/index.php 	18 	require_once
Warning [2] Undefined array key "action" - Line: 31 - File: inc/plugins/lock/core/purchase.php PHP 8.0.30 (Linux)
File 	Line 	Function
/inc/class_error.php 	153 	errorHandler->error
/inc/plugins/lock/core/purchase.php 	31 	errorHandler->error_callback
/inc/plugins/lock.php 	163 	require_once
/inc/class_plugins.php 	142 	lock_purchase
/global.php 	1276 	pluginSystem->run_hooks
/index.php 	18 	require_once



In the acp:

Warning [2] Undefined variable $mybb - Line: 40 - File: inc/plugins/newpoints.php PHP 8.0.30 (Linux)
File 	Line 	Function
/inc/class_error.php 	153 	errorHandler->error
/inc/plugins/newpoints.php 	40 	errorHandler->error_callback
/inc/class_plugins.php 	38 	require_once
/inc/init.php 	235 	pluginSystem->load
/admin/index.php 	18 	require_once

Warning [2] Attempt to read property "input" on null - Line: 40 - File: inc/plugins/newpoints.php PHP 8.0.30 (Linux)
File 	Line 	Function

/inc/class_error.php 	153 	errorHandler->error
/inc/plugins/newpoints.php 	40 	errorHandler->error_callback
/inc/class_plugins.php 	38 	require_once
/inc/init.php 	235 	pluginSystem->load
/admin/index.php 	18 	require_once


Warning [2] Trying to access array offset on value of type null - Line: 40 - File: inc/plugins/newpoints.php PHP 8.0.30 (Linux)
File 	Line 	Function
/inc/class_error.php 	153 	errorHandler->error
/inc/plugins/newpoints.php 	40 	errorHandler->error_callback
/inc/class_plugins.php 	38 	require_once
/inc/init.php 	235 	pluginSystem->load
/admin/index.php 	18 	require_once

Warning [2] Cannot modify header information - headers already sent by (output started at /home/digisoul/public_html/foro/inc/class_error.php:267) - Line: 5132 - File: inc/functions.php PHP 8.0.30 (Linux)
File 	Line 	Function
/inc/class_error.php 	153 	errorHandler->error
[PHP] 		errorHandler->error_callback
/inc/functions.php 	5132 	header
/admin/index.php 	22 	send_page_headers

Warning [2] Cannot modify header information - headers already sent by (output started at /home/digisoul/public_html/foro/inc/class_error.php:267) - Line: 24 - File: admin/index.php PHP 8.0.30 (Linux)
File 	Line 	Function
/inc/class_error.php 	153 	errorHandler->error
[PHP] 		errorHandler->error_callback
/admin/index.php 	24 	header

Warning [2] Cannot modify header information - headers already sent by (output started at /home/digisoul/public_html/foro/inc/class_error.php:267) - Line: 25 - File: admin/index.php PHP 8.0.30 (Linux)
File 	Line 	Function
/inc/class_error.php 	153 	errorHandler->error
[PHP] 		errorHandler->error_callback
/admin/index.php 	25 	header

Warning [2] Cannot modify header information - headers already sent by (output started at /home/digisoul/public_html/foro/inc/class_error.php:267) - Line: 60 - File: admin/index.php PHP 8.0.30 (Linux)
File 	Line 	Function
/inc/class_error.php 	153 	errorHandler->error
[PHP] 		errorHandler->error_callback
/admin/index.php 	60 	header

Warning [2] Cannot modify header information - headers already sent by (output started at /home/digisoul/public_html/foro/inc/class_error.php:267) - Line: 2323 - File: inc/functions.php PHP 8.0.30 (Linux)
File 	Line 	Function
/inc/class_error.php 	153 	errorHandler->error
[PHP] 		errorHandler->error_callback
/inc/functions.php 	2323 	header
/inc/functions.php 	2336 	my_setcookie
/admin/index.php 	538 	my_unsetcookie



As a note, I can't see anything in the acp because it always asks me to enter my username and password, over and over again. Huh

I would appreciate your help since I would not like to have to start from 0
These can be hidden by setting Error Type Medium (Configuration → Settings → Server and Optimization Options) to Hide Errors and Warnings.

If you can't login to the Admin CP, the setting can be temporarily changed by adding these lines at the end of the inc/settings.php file:
// manual overrides
$settings['errortypemedium'] = 'none';
(2024-07-02, 03:14 PM)Devilshakerz Wrote: [ -> ]These can be hidden by setting Error Type Medium (Configuration → Settings → Server and Optimization Options) to Hide Errors and Warnings.

If you can't login to the Admin CP, the setting can be temporarily changed by adding these lines at the end of the inc/settings.php file:
// manual overrides
$settings['errortypemedium'] = 'none';

Great! The errors have been hidden!