Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.2 warnings: Undefined property: MyLanguage::$thread_modes and others on 1.8.34 #4717

Closed
w13 opened this issue Jun 3, 2023 · 1 comment · Fixed by #4722
Closed

PHP 8.2 warnings: Undefined property: MyLanguage::$thread_modes and others on 1.8.34 #4717

w13 opened this issue Jun 3, 2023 · 1 comment · Fixed by #4722
Labels
b:1.8 Branch: 1.8.x s:resolved Status: Resolved. Solution implemented or scheduled t:bug Type: Bug. An issue causing error / flaw / malfunction
Milestone

Comments

@w13
Copy link

w13 commented Jun 3, 2023

The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1621) : eval()'d code PHP 8.2.6 (Linux)
File	Line	Function
/inc/class_error.php	153	errorHandler->error
/showthread.php(1621) : eval()'d code	46	errorHandler->error_callback
/showthread.php	1621	eval
The following warnings occurred:
Warning [2] Undefined variable $attachmentop - Line: 13 - File: inc/functions_user.php(615) : eval()'d code PHP 8.2.6 (Linux)
File	Line	Function
/inc/class_error.php	153	errorHandler->error
/inc/functions_user.php(615) : eval()'d code	13	errorHandler->error_callback
/inc/functions_user.php	615	eval
/inc/class_plugins.php	142	usercp_menu_misc
/inc/functions_user.php	465	pluginSystem->run_hooks
/private.php	88	usercp_menu
The following warnings occurred:
Warning [2] Undefined variable $attachmentop - Line: 13 - File: inc/functions_user.php(615) : eval()'d code PHP 8.2.6 (Linux)
File	Line	Function
/inc/class_error.php	153	errorHandler->error
/inc/functions_user.php(615) : eval()'d code	13	errorHandler->error_callback
/inc/functions_user.php	615	eval
/inc/class_plugins.php	142	usercp_menu_misc
/inc/functions_user.php	465	pluginSystem->run_hooks
/private.php	88	usercp_menu
The following warnings occurred:
Warning [2] Undefined array key "action" - Line: 414 - File: inc/functions_online.php PHP 8.2.6 (Linux)
File	Line	Function
/inc/class_error.php	153	errorHandler->error
/inc/functions_online.php	414	errorHandler->error_callback
/online.php	258	fetch_wol_activity
Warning [2] Undefined array key "action" - Line: 414 - File: inc/functions_online.php PHP 8.2.6 (Linux)
File	Line	Function
/inc/class_error.php	153	errorHandler->error
/inc/functions_online.php	414	errorHandler->error_callback
/online.php	258	fetch_wol_activity
Warning [2] Undefined array key "action" - Line: 414 - File: inc/functions_online.php PHP 8.2.6 (Linux)
File	Line	Function
/inc/class_error.php	153	errorHandler->error
/inc/functions_online.php	414	errorHandler->error_callback
/online.php	258	fetch_wol_activity
The following warnings occurred:
Warning [2] Undefined variable $awaysection - Line: 180 - File: modcp.php(3272) : eval()'d code PHP 8.2.6 (Linux)
File	Line	Function
/inc/class_error.php	153	errorHandler->error
/modcp.php(3272) : eval()'d code	180	errorHandler->error_callback
/modcp.php	3272	eval

MyBB Version 1.8.34 ("There are no active plugins on your forum.")
PHP Version 8.2.6
Server API FPM/FastCGI
Apache/2.4.56 (Debian)

@Sama34
Copy link
Contributor

Sama34 commented Jun 8, 2023

I couldn't find {$thread_modes} inside the default showthread template.

@dvz dvz closed this as completed in #4722 Jun 22, 2023
dvz pushed a commit that referenced this issue Jun 22, 2023
@dvz dvz added t:bug Type: Bug. An issue causing error / flaw / malfunction b:1.8 Branch: 1.8.x s:resolved Status: Resolved. Solution implemented or scheduled labels Jun 22, 2023
@dvz dvz added this to the 1.8.35 milestone Jun 22, 2023
dvz pushed a commit that referenced this issue Jul 24, 2023
…_modes and others on 1.8.34

# Conflicts:
#	modcp.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
b:1.8 Branch: 1.8.x s:resolved Status: Resolved. Solution implemented or scheduled t:bug Type: Bug. An issue causing error / flaw / malfunction
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants