Notice: Trying to get property of non-object in /home/flex3601/webapps/wareagle/wolf/plugins/flexual/FlexualController.php on line 534

Wolf CMS - Uncaught RedBean_Exception_SQL

Description

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY sort_order LIMIT 0, 50' at line 1

Location

Exception thrown on line 105 in /home/flex3601/webapps/wareagle/wolf/plugins/flexual/rb.php

Stack trace

require('/home/flex3601/webapps/wareagle/wolf/app/main.php')  on line 199 in /home/flex3601/webapps/wareagle/index.php
   main()  on line 167 in /home/flex3601/webapps/wareagle/wolf/app/main.php
      Dispatcher→dispatch('/boats/categories/tomahawk-series')  on line 127 in /home/flex3601/webapps/wareagle/wolf/app/main.php
         Dispatcher→executeAction(PluginController Object, 'flexual', array[4])  on line 237 in /home/flex3601/webapps/wareagle/wolf/Framework.php
            PluginController→execute('front_related_index', array[3])  on line 323 in /home/flex3601/webapps/wareagle/wolf/Framework.php
               FlexualController→front_related_index('tomahawk-series', 'products', 'categories')  on line 182 in /home/flex3601/webapps/wareagle/wolf/app/controllers/PluginController.php
                  RedBean_Facade→getAll('SELECT x.* FROM `products` x inner join `categories` y on y.id =...')  on line 543 in /home/flex3601/webapps/wareagle/wolf/plugins/flexual/FlexualController.php
                     RedBean_Facade→query('get', 'SELECT x.* FROM `products` x inner join `categories` y on y.id =...', array[0])  on line 2199 in /home/flex3601/webapps/wareagle/wolf/plugins/flexual/rb.php
                        RedBean_Adapter_DBAdapter→get('SELECT x.* FROM `products` x inner join `categories` y on y.id =...', array[0])  on line 2213 in /home/flex3601/webapps/wareagle/wolf/plugins/flexual/rb.php
                           RedBean_Driver_PDO→GetAll('SELECT x.* FROM `products` x inner join `categories` y on y.id =...', array[0])  on line 436 in /home/flex3601/webapps/wareagle/wolf/plugins/flexual/rb.php
                              RedBean_Driver_PDO→runQuery('SELECT x.* FROM `products` x inner join `categories` y on y.id =...', array[0])  on line 111 in /home/flex3601/webapps/wareagle/wolf/plugins/flexual/rb.php
                                 

Dispatcher status
VariableValue
requested_url/boats/categories/tomahawk-series
controllerplugin
actionflexual
paramsfront_related_index, tomahawk-series, products, categories
request methodGET
SERVER
VariableValue
PATH/usr/local/bin:/usr/bin:/bin
REDIRECT_HANDLERphp70-cgi
REDIRECT_STATUS200
UNIQUE_IDYJUwzqe8ZZtGyVH7O1uOiwAAAAM
HTTP_AUTHORIZATION
PHP_INI_SCAN_DIR/home/flex3601/webapps/wareagle
SCRIPT_URL/boats/categories/tomahawk-series
SCRIPT_URIhttp://wareagleboats.com/boats/categories/tomahawk-series
HTTPSon
HTTP_HOSTwareagleboats.com
HTTP_X_FORWARDED_HOSTwareagleboats.com
HTTP_X_FORWARDED_SERVERwareagleboats.com
HTTP_X_FORWARDED_FOR3.236.231.61
HTTP_FORWARDED_REQUEST_URI/boats/categories/tomahawk-series
HTTP_HTTPSon
HTTP_X_FORWARDED_PROTOhttps
HTTP_X_FORWARDED_SSLon
HTTP_CONNECTIONclose
HTTP_USER_AGENTCCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGEen-US,en;q=0.5
HTTP_ACCEPT_ENCODINGbr,gzip
SERVER_SIGNATURE
SERVER_SOFTWAREApache
SERVER_NAMEwareagleboats.com
SERVER_ADDR127.0.0.1
SERVER_PORT80
REMOTE_ADDR3.236.231.61
DOCUMENT_ROOT/home/flex3601/webapps/wareagle
REQUEST_SCHEMEhttp
CONTEXT_PREFIX/cgi-bin/php70.cgi
CONTEXT_DOCUMENT_ROOT/home/php-cgi/php70.cgi
SERVER_ADMIN[no address given]
SCRIPT_FILENAME/home/flex3601/webapps/wareagle/index.php
REMOTE_PORT41714
REDIRECT_QUERY_STRINGWOLFPAGE=boats/categories/tomahawk-series
REDIRECT_URL/index.php
GATEWAY_INTERFACECGI/1.1
SERVER_PROTOCOLHTTP/1.0
REQUEST_METHODGET
QUERY_STRINGWOLFPAGE=boats/categories/tomahawk-series
REQUEST_URI/boats/categories/tomahawk-series
SCRIPT_NAME/index.php
ORIG_SCRIPT_FILENAME/home/php-cgi/php70.cgi
ORIG_PATH_INFO/index.php
ORIG_PATH_TRANSLATED/home/flex3601/webapps/wareagle/index.php
ORIG_SCRIPT_NAME/cgi-bin/php70.cgi
PHP_SELF/index.php
REQUEST_TIME_FLOAT1620390094.8469
REQUEST_TIME1620390094
argvarray[1]
argc1