Übersetzer
Dieses Plugin fungiert als dein persönlicher Dolmetscher für deine Seite.
Dieses Plugin fungiert als dein persönlicher Dolmetscher für deine Seite.
Hinterlegen Sie Ihre Belege aus dem VieCode Shop automatisch in Ihren sevDesk-Konto und lassen Sie sich gleichzeitig bei der Umsatzsteuer-Voranmeldung und OSS-Steuererklärung durch dieses Plugin unterstützen.
Discord Synchronisation Artikel ist eine Erweiterung für Discord Synchronisation. Bei neuen Artikeln kann automatisch eine Vorschau des Artikels in Discord gepostet werden.
Hallo,
nachdem ich das Plugin "Discord-Shoutbox" installiert und eingerichtet habe, funktionierte alles problemlos. Seitdem ich nach erfolgreicher Installation und Einrichtung jedoch alle Plugins aktualisieren wollte und das auch tat, schmeißt das Plugin "Discord-API" wohl nun einen Fehler, der unser komplettes Forum down legt. Erst nach Abschaltung bzw. Deaktivierung der eingerichteten Box lief das Forum wieder.
Fehlercode:
Thu, 12 Jan 2023 18:12:05 +0000
Message: syntax error, unexpected 'DiscordApi' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
PHP version: 7.3.33-4+0~20220627.98+debian10~1.gbp40b3e4
WoltLab Suite version: 5.5.7
Request URI: POST /forum/index.php?ajax-proxy/&t=fd22cc9450919326b3c0e437609acb9e3efe55483e9cdd17a744f0540df7289a-v1k2t7lAJ1y37uHMWQwP2g==
Referrer: https://domain.de/forum/thread/41135-teamspeak/?postID=269284
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
Peak Memory Usage: 5938824/268435456
======
Error Class: ParseError
Error Message: syntax error, unexpected 'DiscordApi' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Error Code: 0
File: /var/www/forum/lib/data/discord/bot/DiscordBot.class.php (41)
Extra Information: -
Stack Trace: [{"function":"autoload","class":"wcf\\system\\WCF","type":"::","args":["wcf\\data\\discord\\bot\\DiscordBot"],"file":"[internal function]","line":"?"},{"file":"\/var\/www\/forum\/lib\/data\/DatabaseObjectList.class.php","line":306,"function":"spl_autoload_call","args":["wcf\\data\\discord\\bot\\DiscordBot"],"class":"","type":""},{"file":"\/var\/www\/forum\/lib\/data\/DatabaseObjectList.class.php","line":188,"function":"getDatabaseTableAlias","class":"wcf\\data\\DatabaseObjectList","type":"->","args":[]},{"file":"\/var\/www\/forum\/lib\/system\/cache\/runtime\/AbstractRuntimeCache.class.php","line":65,"function":"readObjects","class":"wcf\\data\\DatabaseObjectList","type":"->","args":[]},{"file":"\/var\/www\/forum\/lib\/system\/cache\/runtime\/AbstractRuntimeCache.class.php","line":97,"function":"fetchObjects","class":"wcf\\system\\cache\\runtime\\AbstractRuntimeCache","type":"->","args":[]},{"file":"\/var\/www\/forum\/lib\/system\/discord\/DiscordShoutboxHandler.class.php","line":436,"function":"getObject","class":"wcf\\system\\cache\\runtime\\AbstractRuntimeCache","type":"->","args":[1]},{"file":"\/var\/www\/forum\/lib\/system\/discord\/DiscordShoutboxHandler.class.php","line":443,"function":"getBot","class":"wcf\\system\\discord\\DiscordShoutboxHandler","type":"->","args":[1]},{"file":"\/var\/www\/forum\/lib\/system\/discord\/DiscordShoutboxHandler.class.php","line":287,"function":"getBotAPI","class":"wcf\\system\\discord\\DiscordShoutboxHandler","type":"->","args":[1]},{"file":"\/var\/www\/forum\/lib\/system\/cronjob\/DiscordShoutboxRefreshCronjob.class.php","line":54,"function":"initUpdateShouts","class":"wcf\\system\\discord\\DiscordShoutboxHandler","type":"->","args":["wcf\\data\\box\\Box"]},{"file":"\/var\/www\/forum\/lib\/system\/cronjob\/CronjobScheduler.class.php","line":272,"function":"execute","class":"wcf\\system\\cronjob\\DiscordShoutboxRefreshCronjob","type":"->","args":["wcf\\data\\cronjob\\Cronjob"]},{"file":"\/var\/www\/forum\/lib\/system\/cronjob\/CronjobScheduler.class.php","line":75,"function":"executeCronjob","class":"wcf\\system\\cronjob\\CronjobScheduler","type":"->","args":["wcf\\data\\cronjob\\CronjobEditor","wcf\\data\\cronjob\\log\\CronjobLogEditor"]},{"file":"\/var\/www\/forum\/lib\/data\/cronjob\/CronjobAction.class.php","line":240,"function":"executeCronjobs","class":"wcf\\system\\cronjob\\CronjobScheduler","type":"->","args":[]},{"file":"\/var\/www\/forum\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":216,"function":"executeCronjobs","class":"wcf\\data\\cronjob\\CronjobAction","type":"->","args":[]},{"file":"\/var\/www\/forum\/lib\/action\/AJAXProxyAction.class.php","line":92,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"\/var\/www\/forum\/lib\/action\/AJAXInvokeAction.class.php","line":111,"function":"invoke","class":"wcf\\action\\AJAXProxyAction","type":"->","args":[]},{"file":"\/var\/www\/forum\/lib\/action\/AbstractAction.class.php","line":57,"function":"execute","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"\/var\/www\/forum\/lib\/action\/AJAXInvokeAction.class.php","line":65,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/var\/www\/forum\/lib\/system\/request\/Request.class.php","line":90,"function":"__run","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"\/var\/www\/forum\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/forum\/forum\/index.php","line":11,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wbb"]}]
Alles anzeigen
Wenn ich eine neue System-Box erstellen möchte und dabei den Controller "Discord-Shoutbox" ausgewählt habe, kommt die folgende Fehlermeldung:
syntax error, unexpected 'DiscordApi' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
File:
/var/www/forum/lib/data/discord/bot/DiscordBot.class.php in line 41
Stacktrace:
#0 [internal function]: wcf\system\WCF::autoload('wcf\\data\\discor...')
#1 /var/www/forum/lib/data/DatabaseObjectList.class.php(306): spl_autoload_call('wcf\\data\\discor...')
#2 /var/www/forum/lib/data/DatabaseObjectList.class.php(198): wcf\data\DatabaseObjectList->getDatabaseTableAlias()
#3 /var/www/forum/lib/system/condition/DiscordShoutboxCondition.class.php(62): wcf\data\DatabaseObjectList->readObjects()
#4 /var/www/forum/acp/templates/compiled/0_wcf_1_boxConditions.php(96): wcf\system\condition\DiscordShoutboxCondition->getHTML()
#5 /var/www/forum/lib/system/template/TemplateEngine.class.php(350): include('/var/www/forum/...')
#6 /var/www/forum/lib/system/template/TemplateEngine.class.php(594): wcf\system\template\TemplateEngine->display('boxConditions', 'wcf', false)
#7 /var/www/forum/lib/system/box/AbstractDatabaseObjectListBoxController.class.php(276): wcf\system\template\TemplateEngine->fetch('boxConditions', 'wcf', Array, true)
#8 /var/www/forum/lib/data/box/BoxAction.class.php(320): wcf\system\box\AbstractDatabaseObjectListBoxController->getConditionsTemplate()
#9 /var/www/forum/lib/data/AbstractDatabaseObjectAction.class.php(216): wcf\data\box\BoxAction->getBoxConditionsTemplate()
#10 /var/www/forum/lib/action/AJAXProxyAction.class.php(92): wcf\data\AbstractDatabaseObjectAction->executeAction()
#11 /var/www/forum/lib/action/AJAXInvokeAction.class.php(111): wcf\action\AJAXProxyAction->invoke()
#12 /var/www/forum/lib/action/AbstractAction.class.php(57): wcf\action\AJAXInvokeAction->execute()
#13 /var/www/forum/lib/action/AJAXInvokeAction.class.php(65): wcf\action\AbstractAction->__run()
#14 /var/www/forum/lib/system/request/Request.class.php(90): wcf\action\AJAXInvokeAction->__run()
#15 /var/www/forum/lib/system/request/RequestHandler.class.php(107): wcf\system\request\Request->execute()
#16 /var/www/forum/acp/index.php(11): wcf\system\request\RequestHandler->handle('wcf', true)
#17 {main}
Alles anzeigen
Habe erstmal die Plugins "Discord-Shoutbox" & "Discord-API" neu installiert und die Box neu eingerichtet. Die Plugin-Updates für das Plugin "Discord-API" lasse ich erstmal sein.
Hallo,
du hast eine sehr alte PHP-Version. Aktualisiere am besten zu PHP 8.0. Dann sollte es auch keine Probleme geben.