mysqli_sql_exception Object
(
    [message:protected] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')  AND main_media=1 order by c.created DESC' at line 6
    [string:Exception:private] => 
    [code:protected] => 1064
    [file:protected] => /home/admin/web/staging.gameworld.gr/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php
    [line:protected] => 138
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php
                    [line] => 138
                    [function] => prepare
                    [class] => mysqli
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php
                    [line] => 1020
                    [function] => __construct
                    [class] => Joomla\Database\Mysqli\MysqliStatement
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/vendor/joomla/database/src/DatabaseDriver.php
                    [line] => 1785
                    [function] => prepareStatement
                    [class] => Joomla\Database\Mysqli\MysqliDriver
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/templates/jreviews_overrides/views/themes/gameworld/listings/detail_review.thtml
                    [line] => 289
                    [function] => setQuery
                    [class] => Joomla\Database\DatabaseDriver
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/templates/jreviews_overrides/views/themes/gameworld/listings/detail.thtml
                    [line] => 18
                    [args] => Array
                        (
                            [0] => /home/admin/web/staging.gameworld.gr/public_html/templates/jreviews_overrides/views/themes/gameworld/listings/detail_review.thtml
                        )

                    [function] => require
                )

            [5] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_s2framework/s2framework/libs/view/view.php
                    [line] => 435
                    [args] => Array
                        (
                            [0] => /home/admin/web/staging.gameworld.gr/public_html/templates/jreviews_overrides/views/themes/gameworld/listings/detail.thtml
                        )

                    [function] => include
                )

            [6] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_s2framework/s2framework/libs/view/view.php
                    [line] => 207
                    [function] => _render
                    [class] => MyView
                    [type] => ->
                )

            [7] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_s2framework/s2framework/libs/controller/controller.php
                    [line] => 246
                    [function] => render
                    [class] => MyView
                    [type] => ->
                )

            [8] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_jreviews/jreviews/controllers/my_controller.php
                    [line] => 363
                    [function] => render
                    [class] => S2Controller
                    [type] => ->
                )

            [9] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_jreviews/jreviews/controllers/com_content_controller.php
                    [line] => 437
                    [function] => render
                    [class] => MyController
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_s2framework/s2framework/dispatcher.php
                    [line] => 359
                    [function] => com_content_view
                    [class] => ComContentController
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_jreviews/jreviews/cms_compat/joomla/includes/plugins/jreviews-joomla4.php
                    [line] => 134
                    [function] => dispatch
                    [class] => S2Dispatcher
                    [type] => ->
                )

            [12] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_jreviews/jreviews/cms_compat/joomla/includes/plugins/jreviews-joomla4.php
                    [line] => 90
                    [function] => processDetailPage
                    [class] => plgContentJreviews
                    [type] => ->
                )

            [13] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/src/Plugin/CMSPlugin.php
                    [line] => 289
                    [function] => onContentPrepare
                    [class] => plgContentJreviews
                    [type] => ->
                )

            [14] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/vendor/joomla/event/src/Dispatcher.php
                    [line] => 454
                    [function] => Joomla\CMS\Plugin\{closure}
                    [class] => Joomla\CMS\Plugin\CMSPlugin
                    [type] => ->
                )

            [15] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_content/src/View/Article/HtmlView.php
                    [line] => 237
                    [function] => dispatch
                    [class] => Joomla\Event\Dispatcher
                    [type] => ->
                )

            [16] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/src/MVC/Controller/BaseController.php
                    [line] => 697
                    [function] => display
                    [class] => Joomla\Component\Content\Site\View\Article\HtmlView
                    [type] => ->
                )

            [17] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_content/src/Controller/DisplayController.php
                    [line] => 122
                    [function] => display
                    [class] => Joomla\CMS\MVC\Controller\BaseController
                    [type] => ->
                )

            [18] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/src/MVC/Controller/BaseController.php
                    [line] => 730
                    [function] => display
                    [class] => Joomla\Component\Content\Site\Controller\DisplayController
                    [type] => ->
                )

            [19] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/src/Dispatcher/ComponentDispatcher.php
                    [line] => 143
                    [function] => execute
                    [class] => Joomla\CMS\MVC\Controller\BaseController
                    [type] => ->
                )

            [20] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/components/com_content/src/Dispatcher/Dispatcher.php
                    [line] => 56
                    [function] => dispatch
                    [class] => Joomla\CMS\Dispatcher\ComponentDispatcher
                    [type] => ->
                )

            [21] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/src/Component/ComponentHelper.php
                    [line] => 361
                    [function] => dispatch
                    [class] => Joomla\Component\Content\Site\Dispatcher\Dispatcher
                    [type] => ->
                )

            [22] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/src/Application/SiteApplication.php
                    [line] => 218
                    [function] => renderComponent
                    [class] => Joomla\CMS\Component\ComponentHelper
                    [type] => ::
                )

            [23] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/src/Application/SiteApplication.php
                    [line] => 261
                    [function] => dispatch
                    [class] => Joomla\CMS\Application\SiteApplication
                    [type] => ->
                )

            [24] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/libraries/src/Application/CMSApplication.php
                    [line] => 306
                    [function] => doExecute
                    [class] => Joomla\CMS\Application\SiteApplication
                    [type] => ->
                )

            [25] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/includes/app.php
                    [line] => 58
                    [function] => execute
                    [class] => Joomla\CMS\Application\CMSApplication
                    [type] => ->
                )

            [26] => Array
                (
                    [file] => /home/admin/web/staging.gameworld.gr/public_html/index.php
                    [line] => 33
                    [args] => Array
                        (
                            [0] => /home/admin/web/staging.gameworld.gr/public_html/includes/app.php
                        )

                    [function] => require_once
                )

        )

    [previous:Exception:private] => 
    [sqlstate:protected] => 42000
)