MyBB Community Forums

Full Version: After Upgrade 1.8.33 - PHP 8 Error UserCP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After Upgrade to MyBB 1.8.33 we have an error while calling user-cp:

Warning [2] Undefined variable $reputation - Line: 22 - File: usercp.php(4749) : eval()'d code PHP 8.0.27 (Linux)

File                                                     Line                             Function
/inc/class_error.php                              153                             errorHandler->error
/usercp.php(4749) : eval()'d code          22                             errorHandler->error_callback
/usercp.php                                         4749                              eval


While reverse to PHP 7.4 to error disapears. Hoster is Strato.

Hope anyone have a solution.
Thank you in advance 

Greets
This one actually seems like a bug. Am I correct in saying you have the reputation system disabled?

If you edit usercp.php, edit line 4205:

$reputations = '';

change to:

$reputation = '';

This will fix the error.
Great - worked !
Thx for very fast support and solution!

Best regards