2023-02-01, 11:04 AM
Thanks for the update. It works without problem on live forum still running PHP 7.4, also no errors on test forum on PHP 8, until I get this one.
Warning [2] Undefined variable $cnv_unread_convmsgs - Line: 1276 - File: inc/plugins/converse.php PHP 8.0.27 (Linux)
$mybb->user['cnv_unread_msg_str'] = $cnv_unread_convmsgs;
This happens when not logged in. My forum requires a log in.
I believe I fixed it by adding a line at 1248 to define it.
$cnv_unread_convmsgs = '';
Is it that simple? Define a variable? That variable only appears within the function, so definition stays within the function.
Warning [2] Undefined variable $cnv_unread_convmsgs - Line: 1276 - File: inc/plugins/converse.php PHP 8.0.27 (Linux)
$mybb->user['cnv_unread_msg_str'] = $cnv_unread_convmsgs;
This happens when not logged in. My forum requires a log in.
I believe I fixed it by adding a line at 1248 to define it.
$cnv_unread_convmsgs = '';
Is it that simple? Define a variable? That variable only appears within the function, so definition stays within the function.