Database Error

I'm having the following database error report. it seems to be missing another INNER JOIN statment but haven't managed to sort it out.

Query:
SELECT `sys_profiles`.* FROM `sys_profiles` INNER JOIN `sys_acl_levels_members` AS `tlm` ON `sys_profiles`.`id`=`tlm`.`IDMember` WHERE 1 AND `tlm`.`IDLevel` IN (7,8) AND (`tlm`.`DateStarts` IS NULL OR `tlm`.`DateStarts` <= NOW()) AND (`tlm`.`DateExpires` IS NULL OR `tlm`.`DateExpires` > NOW()) AND `sys_accounts`.`email_confirmed` != 0

Mysql error:
Unknown column 'sys_accounts.email_confirmed' in 'where clause'

Location:
The error was found in getAll function in the file /var/www/html/main/inc/classes/BxDolAclQuery.php at line 444.

collation_connection:
utf8mb4_unicode_ci

  • 624
  • More
Replies (17)
    Login or Join to comment.