Notice: Trying to get property of non-object in C:\inetpub\wwwroot\wolf\plugins\flexual\FlexualController.php on line 554

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

Location

Exception thrown on line 105 in C:\inetpub\wwwroot\wolf\plugins\flexual\rb.php

Stack trace

require('C:\inetpub\wwwroot\wolf\app\main.php')  on line 187 in C:\inetpub\wwwroot\index.php
   main()  on line 169 in C:\inetpub\wwwroot\wolf\app\main.php
      Dispatcher→dispatch('/faqs/faq_categories/induction-mentoring')  on line 127 in C:\inetpub\wwwroot\wolf\app\main.php
         Dispatcher→executeAction('plugin', 'flexual', array[5])  on line 237 in C:\inetpub\wwwroot\wolf\Framework.php
            PluginController→execute('flexual', array[5])  on line 323 in C:\inetpub\wwwroot\wolf\Framework.php
               call_user_func_array(array[2], array[4])  on line 179 in C:\inetpub\wwwroot\wolf\app\controllers\PluginController.php
                  FlexualController→front_related_index('induction-mentoring', 'faqs', 'faq_categories', 'true')  on line unknown in unknown
                     RedBean_Facade→getAll('SELECT x.* FROM `faqs` x inner join `faq_categories_faqs` y on x...')  on line 564 in C:\inetpub\wwwroot\wolf\plugins\flexual\FlexualController.php
                        RedBean_Facade→query('get', 'SELECT x.* FROM `faqs` x inner join `faq_categories_faqs` y on x...', array[0])  on line 2195 in C:\inetpub\wwwroot\wolf\plugins\flexual\rb.php
                           RedBean_Adapter_DBAdapter→get('SELECT x.* FROM `faqs` x inner join `faq_categories_faqs` y on x...', array[0])  on line 2209 in C:\inetpub\wwwroot\wolf\plugins\flexual\rb.php
                              RedBean_Driver_PDO→GetAll('SELECT x.* FROM `faqs` x inner join `faq_categories_faqs` y on x...', array[0])  on line 432 in C:\inetpub\wwwroot\wolf\plugins\flexual\rb.php
                                 RedBean_Driver_PDO→runQuery('SELECT x.* FROM `faqs` x inner join `faq_categories_faqs` y on x...', array[0])  on line 111 in C:\inetpub\wwwroot\wolf\plugins\flexual\rb.php
                                    

Dispatcher status
VariableValue
requested_url/faqs/faq_categories/induction-mentoring
controllerplugin
actionflexual
paramsfront_related_index, induction-mentoring, faqs, faq_categories, …
request methodGET
GET
VariableValue
page1
SERVER
VariableValue
PROCESSOR_ARCHITEW6432AMD64
_FCGI_X_PIPE_\\.\pipe\IISFCGI-b5d232c0-7845-47d4-8add-23ada4dbc0e5
PHP_FCGI_MAX_REQUESTS10000
PHPRCC:\Program Files (x86)\PHP\v5.3
ALLUSERSPROFILEC:\ProgramData
APPDATAC:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIGC:\inetpub\temp\apppools\DefaultAppPool\DefaultAppPool.config
APP_POOL_IDDefaultAppPool
CommonProgramFilesC:\Program Files (x86)\Common Files
CommonProgramFiles(x86)C:\Program Files (x86)\Common Files
CommonProgramW6432C:\Program Files\Common Files
COMPUTERNAMECM-ADE-ADEWEB1
ComSpecC:\Windows\system32\cmd.exe
DEFLOGDIRC:\ProgramData\McAfee\DesktopProtection
FP_NO_HOST_CHECKNO
LOCALAPPDATAC:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS1
OSWindows_NT
PathC:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windo …
PATHEXT.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTUREx86
PROCESSOR_IDENTIFIERIntel64 Family 6 Model 26 Stepping 4, GenuineIntel
PROCESSOR_LEVEL6
PROCESSOR_REVISION1a04
ProgramDataC:\ProgramData
ProgramFilesC:\Program Files (x86)
ProgramFiles(x86)C:\Program Files (x86)
ProgramW6432C:\Program Files
PSModulePathC:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLICC:\Users\Public
SystemDriveC:
SystemRootC:\Windows
TEMPC:\Windows\TEMP
TMPC:\Windows\TEMP
USERDOMAINADE
USERNAMECM-ADE-ADEWEB1$
USERPROFILEC:\Windows\system32\config\systemprofile
VSEDEFLOGDIRC:\ProgramData\McAfee\DesktopProtection
windirC:\Windows
FCGI_ROLERESPONDER
HTTP_CONTENT_LENGTH0
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODINGx-gzip, gzip, deflate
HTTP_ACCEPT_LANGUAGEen-us,en-gb,en;q=0.7,*;q=0.3
HTTP_HOSTwww.arkansased.org
HTTP_USER_AGENTCCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_X_ORIGINAL_URL/faqs/faq_categories/induction-mentoring?page=1
IIS_WasUrlRewritten1
UNENCODED_URL/faqs/faq_categories/induction-mentoring?page=1
IIS_UrlRewriteModule7.1.0871.0
APPL_MD_PATH/LM/W3SVC/1/ROOT
APPL_PHYSICAL_PATHC:\inetpub\wwwroot\
AUTH_TYPE
AUTH_PASSWORD
AUTH_USER
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_SERIALNUMBER
CERT_SUBJECT
CONTENT_LENGTH0
CONTENT_TYPE
DOCUMENT_ROOTC:\inetpub\wwwroot
GATEWAY_INTERFACECGI/1.1
HTTPSoff
HTTPS_KEYSIZE
HTTPS_SECRETKEYSIZE
HTTPS_SERVER_ISSUER
HTTPS_SERVER_SUBJECT
INSTANCE_ID1
INSTANCE_NAMEDEFAULT WEB SITE
INSTANCE_META_PATH/LM/W3SVC/1
LOCAL_ADDR165.29.23.153
LOGON_USER
PATH_TRANSLATEDC:\inetpub\wwwroot\index.php
QUERY_STRINGWOLFPAGE=faqs/faq_categories/induction-mentoring&page=1
REMOTE_ADDR23.20.77.156
REMOTE_HOST23.20.77.156
REMOTE_PORT59212
REMOTE_USER
REQUEST_METHODGET
REQUEST_URI/faqs/faq_categories/induction-mentoring?page=1
SCRIPT_FILENAMEC:\inetpub\wwwroot\index.php
SCRIPT_NAME/index.php
SERVER_NAMEwww.arkansased.org
SERVER_PORT80
SERVER_PORT_SECURE0
SERVER_PROTOCOLHTTP/1.0
SERVER_SOFTWAREMicrosoft-IIS/7.5
URL/index.php
ORIG_PATH_INFO/index.php
PHP_SELF/index.php
REQUEST_TIME1412201979