Gewinnspiel
Plugin um Gewinnspiel im Forum zu veranstalten.
Plugin um Gewinnspiel im Forum zu veranstalten.
Der neue SSO-Dienst von Apple jetzt im Form eines Plugins.
Dieses Plugin ermöglicht die Synchronisierung von Benutzergruppen und Channelgruppen zwischen der WoltLab Suite und deinem TeamSpeak-Server.
Hey, ich habe die Version Discord-API 2.0.0 als Update eingespielt und bekam kurze Zeit später eine Fehlermeldung (Call to a member function getBody() on null )
:
Sat, 03 Jul 2021 04:56:09 +0000
Message: Call to a member function getBody() on null
PHP version: 7.4.20
WoltLab Suite version: 5.3.10
Request URI: POST /index.php?ajax-proxy/&t=129c92365c52f3e4b8da416ecdd3f39eb0f619dd
Referrer: https://www.trek-rs.de/
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Peak Memory Usage: 3973304/536870912
======
Error Class: Error
Error Message: Call to a member function getBody() on null
Error Code: 0
File: /var/www/vhosts/trek-rs.de/trekrs/wcf/lib/system/discord/DiscordApi.class.php (2616)
Extra Information: -
Stack Trace: [{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/system\/discord\/DiscordApi.class.php","line":2571,"function":"parseReply","class":"wcf\\system\\discord\\DiscordApi","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/system\/discord\/DiscordApi.class.php","line":592,"function":"execute","class":"wcf\\system\\discord\\DiscordApi","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/system\/discord\/DiscordShoutboxHandler.class.php","line":131,"function":"getChannelMessages","class":"wcf\\system\\discord\\DiscordApi","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/data\/discord\/shoutbox\/message\/DiscordShoutboxMessageAction.class.php","line":176,"function":"readNewMessages","class":"wcf\\system\\discord\\DiscordShoutboxHandler","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":204,"function":"getNewMessages","class":"wcf\\data\\discord\\shoutbox\\message\\DiscordShoutboxMessageAction","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/action\/AJAXProxyAction.class.php","line":75,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/action\/AJAXInvokeAction.class.php","line":94,"function":"invoke","class":"wcf\\action\\AJAXProxyAction","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/action\/AbstractAction.class.php","line":47,"function":"execute","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/action\/AJAXInvokeAction.class.php","line":61,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/system\/request\/Request.class.php","line":83,"function":"__run","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/wcf\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/trek-rs.de\/trekrs\/index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":[]}]
Alles anzeigen
Grüße
Hallo,
was genau hast du gemacht damit dieser Fehler auftritt?
Hallo,
ich habe den Fehler analysiert und konnte das Problem beheben. Der Fehler tritt allerdings nur auf wenn dein Webserver keine Verbindung zu Discord-API aufbauen kann. Entweder war zu dem Zeitpunkt die Discord-API offline oder deine Server hat Probleme bei ausgehenden Verbindungen.