Not Solved [How To?] How do i solve this error ?
Not Solved
My website is -
Test id - _A_
password- pradip987

The problem is i just installed a plugin.. named who view this thread ( )

An it comes with an error. its showing up in my header in showthread page. just take a look , i have a screenshot.


just check this link of my forum.

it show an error comes with
Quote:Warning [2] Use of undefined constant username - assumed 'username' (this will throw an Error in a future version of PHP) - Line: 170 - File: inc/plugins/whoreadthread.php PHP 7.2.33 (Linux)

and i check the line :170 of that plugin file... here is this...
$row['username'] = $db->escape_string(htmlspecialchars($row[username]));
            $username = format_name($row['username'], $row['usergroup'], $row['displaygroup']);
            $profilelink = build_profile_link($username, $row['uid']);

Forum Jump:

Users browsing this thread: 1 Guest(s)