[5.2] Fehler beim Löschen von Themen mit Reaktion

  • Affected App
    WoltLab Suite Core

    1. Thema erstellen.

    2. Im 1. Beitrag eine Reaktion vergeben.

    3. Thema in Forum-Themenliste markieren, dann löschen, erneut markieren und endgültig löschen.

    Erzeugt in einer frischen Beta 4-Installation nur mit WL-Anwendungen reproduzierbar den folgenden Fehler:

    Display Spoiler

    Tue, 10 Dec 2019 10:19:09 +0000

    Message: Array to string conversion

    PHP version: 7.0.33-0+deb9u5

    WoltLab Suite version: 5.2.0 Beta 4

    Request URI: /wsc52/forum/index.php?ajax-proxy/&t=d04a964b1e6890dded79322e9105cfe6137f3f63

    Referrer: http://zayx.de/wsc52/forum/index.php?board/2-default-forum/

    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36

    Peak Memory Usage: 5918824/629145600

    ======

    Error Class: wcf\system\exception\ErrorException

    Error Message: Array to string conversion

    Error Code: 0

    File: /var/www/zayx.de/wsc52/lib/system/WCF.class.php (341)

    Extra Information: -

    Stack Trace: [{"function":"handleError","class":"wcf\\system\\WCF","type":"::","args":[8,"Array to string conversion","\/var\/www\/zayx.de\/wsc52\/lib\/system\/database\/statement\/PreparedStatement.class.php",93,{"parameters":"[redacted]"}],"file":"[internal function]","line":"?"},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/system\/database\/statement\/PreparedStatement.class.php","line":93,"function":"execute","class":"PDOStatement","type":"->","args":[["[redacted]"]]},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":399,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[["[redacted]"]]},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":345,"function":"readObjects","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"function":"delete","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[],"file":"[internal function]","line":"?"},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":205,"function":"call_user_func","args":[["[redacted]","[redacted]"]],"class":"","type":""},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/system\/reaction\/ReactionHandler.class.php","line":677,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/system\/like\/LikeHandler.class.php","line":157,"function":"removeReactions","class":"wcf\\system\\reaction\\ReactionHandler","type":"->","args":["com.woltlab.wbb.likeablePost",["[redacted]"],[]]},{"file":"\/var\/www\/zayx.de\/wsc52\/forum\/lib\/data\/post\/PostAction.class.php","line":1172,"function":"removeLikes","class":"wcf\\system\\like\\LikeHandler","type":"->","args":["com.woltlab.wbb.likeablePost",["[redacted]"]]},{"function":"delete","class":"wbb\\data\\post\\PostAction","type":"->","args":[],"file":"[internal function]","line":"?"},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":205,"function":"call_user_func","args":[["[redacted]","[redacted]"]],"class":"","type":""},{"file":"\/var\/www\/zayx.de\/wsc52\/forum\/lib\/data\/thread\/ThreadAction.class.php","line":1194,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"function":"delete","class":"wbb\\data\\thread\\ThreadAction","type":"->","args":[],"file":"[internal function]","line":"?"},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":205,"function":"call_user_func","args":[["[redacted]","[redacted]"]],"class":"","type":""},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/action\/AJAXProxyAction.class.php","line":75,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/action\/AJAXInvokeAction.class.php","line":94,"function":"invoke","class":"wcf\\action\\AJAXProxyAction","type":"->","args":[]},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/action\/AbstractAction.class.php","line":47,"function":"execute","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/action\/AJAXInvokeAction.class.php","line":61,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/system\/request\/Request.class.php","line":83,"function":"__run","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"\/var\/www\/zayx.de\/wsc52\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/zayx.de\/wsc52\/forum\/index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wbb"]}]

    Der Fehler tritt auch auf, wenn die Reaktion vorher zurückgezogen wurde.

    Wird nach Fehlermeldung erneut "endgültig löschen" ausgeführt, tritt der Fehler nicht mehr auf.

    Gruß, Udo

  • Joshua Rüsweg December 10, 2019 at 11:46 AM

    Added the Label Duplicate

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!