exception 'RuntimeException' with message ' SQL=SELECT a.id, a.asset_id, a.title, a.alias, a.introtext, a.fulltext, CASE WHEN badcats.id is null THEN a.state ELSE 0 END AS state, a.catid, a.created, a.created_by, a.created_by_alias, CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.urls, a.attribs, a.version, a.ordering, a.metakey, a.metadesc, a.access, a.hits, a.metadata, a.featured, a.language, a.xreference,c.title AS category_title, c.alias AS category_alias, c.access AS category_access,u.name AS author,(
SELECT MAX(contact.id) AS id
FROM pgbvr_contact_details AS contact
WHERE contact.published = 1 AND contact.user_id = a.created_by) as contactid,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count
FROM pgbvr_content AS a
LEFT JOIN pgbvr_categories AS c on c.id = a.catid
LEFT JOIN pgbvr_users AS u on u.id = a.created_by
LEFT JOIN pgbvr_categories as parent ON parent.id = c.parent_id
LEFT JOIN pgbvr_content_rating AS v ON a.id = v.content_id
LEFT OUTER JOIN (SELECT cat.id as id FROM pgbvr_categories AS cat JOIN pgbvr_categories AS parent ON cat.lft BETWEEN parent.lft AND parent.rgt WHERE parent.extension = 'com_content' AND parent.published <= 0 GROUP BY cat.id) AS badcats ON badcats.id = c.id
WHERE a.id = 77 AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-05-19 14:00:40') AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-05-19 14:00:40') AND (a.state = 1 OR a.state =2)' in /home/disksoft/public_html/libraries/joomla/database/driver/mysql.php:337
Stack trace:
#0 /home/disksoft/public_html/libraries/joomla/database/driver.php(1242): JDatabaseDriverMysql->execute()
#1 /home/disksoft/public_html/components/com_content/models/article.php(165): JDatabaseDriver->loadObject()
#2 /home/disksoft/public_html/libraries/legacy/view/legacy.php(398): ContentModelArticle->getItem()
#3 /home/disksoft/public_html/components/com_content/views/article/view.html.php(37): JViewLegacy->get('Item')
#4 /home/disksoft/public_html/libraries/legacy/controller/legacy.php(685): ContentViewArticle->display()
#5 /home/disksoft/public_html/components/com_content/controller.php(79): JControllerLegacy->display(true, Array)
#6 /home/disksoft/public_html/libraries/legacy/controller/legacy.php(722): ContentController->display()
#7 /home/disksoft/public_html/components/com_content/content.php(16): JControllerLegacy->execute(NULL)
#8 /home/disksoft/public_html/libraries/legacy/component/helper.php(355): require_once('/home/disksoft/...')
#9 /home/disksoft/public_html/libraries/legacy/component/helper.php(335): JComponentHelper::executeComponent('/home/disksoft/...')
#10 /home/disksoft/public_html/includes/application.php(220): JComponentHelper::renderComponent('com_content')
#11 /home/disksoft/public_html/index.php(52): JSite->dispatch()
#12 {main}