Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] MyConversations: a conversation plugin for MyBB
#42
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.
Reply


Messages In This Thread
RE: MyConversations: a conversation plugin for MyBB - by HLFadmin - 2023-02-01, 11:04 AM

Forum Jump:


Users browsing this thread: 10 Guest(s)