MyBB Community Forums

Full Version: Unknown column 'visibility' in 'where clause'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, after updating to 1.6.5 when I search for messages by ip address I always get this error

SQL Error:1054 - Unknown column 'visibility' in 'where clause'
Query:SELECT COUNT(pid) AS count FROM mybb_posts WHERE longipaddress='1379614798' AND visibility >= 0

Thanks
see required code changes in modcp.php file here => mysql error in moderator control panel
Thanks!