Notice: Trying to get property of non-object in /home/neutralblue/webapps/ipsadvisors/wolf/plugins/flexual/FlexualController.php on line 533

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 date DESC LIMIT 0, 10' at line 1

Location

Exception thrown on line 105 in /home/neutralblue/webapps/ipsadvisors/wolf/plugins/flexual/rb.php

Stack trace

require('/home/neutralblue/webapps/ipsadvisors/wolf/app/main.php')  on line 196 in /home/neutralblue/webapps/ipsadvisors/index.php
   main()  on line 167 in /home/neutralblue/webapps/ipsadvisors/wolf/app/main.php
      Dispatcher→dispatch('/news/news_categories/37')  on line 127 in /home/neutralblue/webapps/ipsadvisors/wolf/app/main.php
         Dispatcher→executeAction('plugin', 'flexual', array[4])  on line 237 in /home/neutralblue/webapps/ipsadvisors/wolf/Framework.php
            PluginController→execute('flexual', array[4])  on line 323 in /home/neutralblue/webapps/ipsadvisors/wolf/Framework.php
               call_user_func_array(array[2], array[3])  on line 183 in /home/neutralblue/webapps/ipsadvisors/wolf/app/controllers/PluginController.php
                  FlexualController→front_related_index('37', 'news', 'news_categories')  on line unknown in unknown
                     RedBean_Facade→getAll('SELECT x.* FROM `news` x inner join `news_categories` y on y.id ...')  on line 541 in /home/neutralblue/webapps/ipsadvisors/wolf/plugins/flexual/FlexualController.php
                        RedBean_Facade→query('get', 'SELECT x.* FROM `news` x inner join `news_categories` y on y.id ...', array[0])  on line 2199 in /home/neutralblue/webapps/ipsadvisors/wolf/plugins/flexual/rb.php
                           RedBean_Adapter_DBAdapter→get('SELECT x.* FROM `news` x inner join `news_categories` y on y.id ...', array[0])  on line 2213 in /home/neutralblue/webapps/ipsadvisors/wolf/plugins/flexual/rb.php
                              RedBean_Driver_PDO→GetAll('SELECT x.* FROM `news` x inner join `news_categories` y on y.id ...', array[0])  on line 436 in /home/neutralblue/webapps/ipsadvisors/wolf/plugins/flexual/rb.php
                                 RedBean_Driver_PDO→runQuery('SELECT x.* FROM `news` x inner join `news_categories` y on y.id ...', array[0])  on line 111 in /home/neutralblue/webapps/ipsadvisors/wolf/plugins/flexual/rb.php
                                    

Dispatcher status
VariableValue
requested_url/news/news_categories/37
controllerplugin
actionflexual
paramsfront_related_index, 37, news, news_categories
request methodGET
SERVER
VariableValue
PATH/usr/local/bin:/usr/bin:/bin
REDIRECT_HANDLERphp54-cgi
REDIRECT_STATUS200
UNIQUE_IDWjW2w5duHmI89Oh5wSXJMQAAAAE
HTTP_AUTHORIZATION
PHP_INI_SCAN_DIR/home/neutralblue/webapps/ipsadvisors
SCRIPT_URL/news/news_categories/37
SCRIPT_URIhttp://www.ipsadvisors.com/news/news_categories/37
HTTPSoff
HTTP_HOSTwww.ipsadvisors.com
HTTP_X_FORWARDED_HOSTwww.ipsadvisors.com
HTTP_X_FORWARDED_SERVERwww.ipsadvisors.com
HTTP_X_FORWARDED_FOR54.82.79.109
HTTP_FORWARDED_REQUEST_URI/news/news_categories/37
HTTP_HTTPSoff
HTTP_X_FORWARDED_PROTOhttp
HTTP_X_FORWARDED_SSLoff
HTTP_CONNECTIONclose
HTTP_ACCEPT_ENCODINGx-gzip, gzip, deflate
HTTP_USER_AGENTCCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
SERVER_SIGNATURE
SERVER_SOFTWAREApache
SERVER_NAMEwww.ipsadvisors.com
SERVER_ADDR127.0.0.1
SERVER_PORT80
REMOTE_ADDR54.82.79.109
DOCUMENT_ROOT/home/neutralblue/webapps/ipsadvisors
REQUEST_SCHEMEhttp
CONTEXT_PREFIX/cgi-bin/php54.cgi
CONTEXT_DOCUMENT_ROOT/home/php-cgi/php54.cgi
SERVER_ADMIN[no address given]
SCRIPT_FILENAME/home/neutralblue/webapps/ipsadvisors/index.php
REMOTE_PORT40206
REDIRECT_QUERY_STRINGWOLFPAGE=news/news_categories/37
REDIRECT_URL/index.php
GATEWAY_INTERFACECGI/1.1
SERVER_PROTOCOLHTTP/1.0
REQUEST_METHODGET
QUERY_STRINGWOLFPAGE=news/news_categories/37
REQUEST_URI/news/news_categories/37
SCRIPT_NAME/index.php
ORIG_SCRIPT_FILENAME/home/php-cgi/php54.cgi
ORIG_PATH_INFO/index.php
ORIG_PATH_TRANSLATED/home/neutralblue/webapps/ipsadvisors/index.php
ORIG_SCRIPT_NAME/cgi-bin/php54.cgi
PHP_SELF/index.php
REQUEST_TIME_FLOAT1513469635.5688
REQUEST_TIME1513469635
argvarray[1]
argc1