Fatal error: Uncaught Core\ORM\Exceptions\QueryException: SQLSTATE[42000]: Syntax error or access violation: 1142 SELECT command denied to user 'aussbiz_base'@'localhost' for table 'sender_emails'
SELECT DISTINCT * FROM `websites_locations`.sender_emails WHERE type="0" OR type="1" ORDER BY RAND() LIMIT 1 in /home/aussbiz/public_html/Core/Handlers/DatabaseHandler.php:318
Stack trace:
#0 /home/aussbiz/public_html/Core/Handlers/DatabaseHandler.php(210): Core\Handlers\DatabaseHandler->getQueryObjects('`websites_locat...', 'DISTINCT *', 'type="0" OR typ...', 'RAND()', '1', '', '', 'Frontend\\Entity...', false)
#1 /home/aussbiz/public_html/Entity/SenderEmailsRepository.php(74): Core\Handlers\DatabaseHandler->getQueryOneObject('`websites_locat...', 'DISTINCT *', 'type="0" OR typ...', 'RAND()', NULL, '', '', 'Frontend\\Entity...')
#2 /home/aussbiz/public_html/Core/Handlers/MailerHandler.php(56): Frontend\Entity\SenderEmailsRepository->findByCustom('type="0" OR typ...', 'RAND()')
#3 /home/aussbiz/public_html/Core/Handlers/ErrorHa in /home/aussbiz/public_html/Core/Handlers/DatabaseHandler.php on line 318