Uncaught PDOException

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 '' at line 1

Trace in execution order:

require('/var/www/clients/client148/web181/web/frog/app/main.php')  on line 83 in /var/www/clients/client148/web181/web/index.php
   main()  on line 245 in /var/www/clients/client148/web181/web/frog/app/main.php
      Page→_executeLayout()  on line 235 in /var/www/clients/client148/web181/web/frog/app/main.php
         eval()  on line 388 in /var/www/clients/client148/web181/web/frog/app/classes/Page.php
            require('/var/www/clients/client148/web181/web/views/home.php')  on line 2 in /var/www/clients/client148/web181/web/frog/app/classes/Page.php(388) : eval()'d code
               require('/var/www/clients/client148/web181/web/views/snippet.header.php')  on line 1 in /var/www/clients/client148/web181/web/views/home.php
                  Frontend→drawCourseDetailView('4719')  on line 84 in /var/www/clients/client148/web181/web/views/snippet.header.php
                     Frontend→processFolgetermine(null, ' Einheiten')  on line 513 in /var/www/clients/client148/web181/web/organizer/php/class.Frontend.new.php
                        Core→_exec('SELECT * FROM kurse_termine WHERE KursID = ', PDO Object)  on line 874 in /var/www/clients/client148/web181/web/organizer/php/class.Frontend.new.php
                           PDOStatement→execute()  on line 40 in /var/www/clients/client148/web181/web/organizer/php/class.Core.php
                              

Exception was thrown on line 40 in /var/www/clients/client148/web181/web/organizer/php/class.Core.php

Dispatcher status

VariableValue
request methodGET

GET

VariableValue
kategorie
kurs4719

SERVER

VariableValue
TMPDIR/var/www/clients/client148/web181/tmp
PHPRC/etc/php5/cgi/
TEMP/var/www/clients/client148/web181/tmp
PHP_DOCUMENT_ROOT/var/www/clients/client148/web181
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD/var/www/php-fcgi-scripts/web181
SHLVL0
TMP/var/www/clients/client148/web181/tmp
PHP_FCGI_MAX_REQUESTS5000
CONTENT_LENGTH0
SCRIPT_NAME/index.php
REQUEST_URI/?kategorie=&kurs=4719
QUERY_STRINGkategorie=&kurs=4719
REQUEST_METHODGET
SERVER_PROTOCOLHTTP/1.1
GATEWAY_INTERFACECGI/1.1
REMOTE_PORT52970
SCRIPT_FILENAME/var/www/ekiz-schwaz.at/web/index.php
SERVER_ADMINwebmaster@ekiz-schwaz.at
CONTEXT_DOCUMENT_ROOT/var/www/ekiz-schwaz.at/web
CONTEXT_PREFIX
REQUEST_SCHEMEhttps
DOCUMENT_ROOT/var/www/ekiz-schwaz.at/web
REMOTE_ADDR54.242.115.55
SERVER_PORT443
SERVER_ADDR82.150.192.19
SERVER_NAMEwww.ekiz-schwaz.at
SERVER_SOFTWAREApache/2.4.10 (Debian)
SERVER_SIGNATURE<address>Apache/2.4.10 (Debian) Server at www.ekiz-schwaz.at Por …
HTTP_ACCEPT_ENCODINGgzip
HTTP_CONNECTIONclose
HTTP_HOSTwww.ekiz-schwaz.at
HTTP_IF_MODIFIED_SINCEWed, 16 Jan 2019 05:30:20 GMT
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENTCCBot/2.0 (https://commoncrawl.org/faq/)
SSL_TLS_SNIwww.ekiz-schwaz.at
HTTPSon
SCRIPT_URIhttps://www.ekiz-schwaz.at/
SCRIPT_URL/
FCGI_ROLERESPONDER
PHP_SELF/index.php
REQUEST_TIME_FLOAT1553138284.1586
REQUEST_TIME1553138284