- Affected App
- WoltLab Suite Forum
Hallo zusammen,
habe heute auf die Neueste Version des WBB aktualisiert ohne Probleme. Nachdem ich mich vergewissert hatte, dass alles noch funktioniert habe ich auch die PHP Version von 7.1 auf 7.3 erhöht. Als ich das überprüfen wollte beim System Check bekam ich folgenden Fehler:
Sat, 18 Jan 2020 19:50:49 +0000
Message: version_compare() expects parameter 2 to be string, array given
PHP version: 7.3.11-nmm1
WoltLab Suite version: 5.2.1
Request URI: /acp/index.php?system-check/
Referrer: https://forum.roleplaytalk.net/acp/index.php?index/
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Peak Memory Usage: 4674160/134217728
======
Error Class: wcf\system\exception\ErrorException
Error Message: version_compare() expects parameter 2 to be string, array given
Error Code: 0
File: /www/htdocs/w00977db/roleplaytalk/woltlab/lib/system/WCF.class.php (341)
Extra Information: -
Stack Trace: [{"function":"handleError","class":"wcf\\system\\WCF","type":"::","args":[2,"version_compare() expects parameter 2 to be string, array given","\/www\/htdocs\/w00977db\/roleplaytalk\/woltlab\/lib\/acp\/page\/SystemCheckPage.class.php",218,{"sqlVersion":"[redacted]","compareSQLVersion":"[redacted]"}],"file":"[internal function]","line":"?"},{"file":"\/www\/htdocs\/w00977db\/roleplaytalk\/woltlab\/lib\/acp\/page\/SystemCheckPage.class.php","line":218,"function":"version_compare","args":["5.7.28",{"5":"[redacted]","8":"[redacted]"}],"class":"","type":""},{"file":"\/www\/htdocs\/w00977db\/roleplaytalk\/woltlab\/lib\/acp\/page\/SystemCheckPage.class.php","line":179,"function":"validateMysql","class":"wcf\\acp\\page\\SystemCheckPage","type":"->","args":[]},{"file":"\/www\/htdocs\/w00977db\/roleplaytalk\/woltlab\/lib\/page\/AbstractPage.class.php","line":291,"function":"readData","class":"wcf\\acp\\page\\SystemCheckPage","type":"->","args":[]},{"file":"\/www\/htdocs\/w00977db\/roleplaytalk\/woltlab\/lib\/page\/AbstractPage.class.php","line":114,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/www\/htdocs\/w00977db\/roleplaytalk\/woltlab\/lib\/system\/request\/Request.class.php","line":83,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/www\/htdocs\/w00977db\/roleplaytalk\/woltlab\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/www\/htdocs\/w00977db\/roleplaytalk\/woltlab\/acp\/index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf",true]}]
Nach bisherigem Kenntnisstand ist das die Einzige Seite die Probleme macht. Im Log hab ich dann noch gesehen, dass der Fehler vor meiner Umstellung der PHP Version auch schon auftrat 2 Stunden vorher, also liegt es höchstwahrscheinlich nicht daran.