Nachdem ich soeben in meinem WSC 5.4 das Plugin auf die Version 5.4.0 pl 1 aktualisiert habe, habe ich versucht, die Grafiken der Ostereier neu im ACP zuzuweisen. Dazu habe ich die PNG-Dateien als Medien hochgeladen, die ich bereits in den letzten Jahren als Eier genutzt habe.
Als ich nun die Grafik des ersten Ostereis ersetzen wollte, wurde mir nach dem Auswählen der Grafik und Klick auf "Absenden" dieser Fehler angezeigt.
Code
Wed, 10 Aug 2022 13:04:26 +0000
Message: Could not execute statement 'UPDATE wcf1_eggs_level SET level = ?, points = ?, time = ?, mediaID = ? WHERE level = ?'
PHP version: 8.0.21
WoltLab Suite version: 5.4.21
Request URI: POST /acp/index.php?eggs-level-edit/1/
Referrer: https://www.compiware-forum.de/acp/index.php?eggs-level-edit/1/
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36
Peak Memory Usage: 5129000/536870912
======
Error Class: wcf\system\database\exception\DatabaseQueryExecutionException
Error Message: Could not execute statement 'UPDATE wcf1_eggs_level SET level = ?, points = ?, time = ?, mediaID = ? WHERE level = ?'
Error Code: 23000
File: /storagepool/c01005/htdocs/compiware-forum.de/lib/system/database/statement/PreparedStatement.class.php (144)
Extra Information: YTo1OntpOjA7YToyOntpOjA7czoxNzoiUXVlcnkgUGFyYW1ldGVyIDEiO2k6MTtpOjExO31pOjE7YToyOntpOjA7czoxNzoiUXVlcnkgUGFyYW1ldGVyIDIiO2k6MTtpOjEwO31pOjI7YToyOntpOjA7czoxNzoiUXVlcnkgUGFyYW1ldGVyIDMiO2k6MTtpOjE4MDA7fWk6MzthOjI6e2k6MDtzOjE3OiJRdWVyeSBQYXJhbWV0ZXIgNCI7aToxO3M6NjoiJzE5NDknIjt9aTo0O2E6Mjp7aTowO3M6MTc6IlF1ZXJ5IFBhcmFtZXRlciA1IjtpOjE7aToxO319
Stack Trace: [{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/data\/DatabaseObjectEditor.class.php","line":55,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":388,"function":"update","class":"wcf\\data\\DatabaseObjectEditor","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":216,"function":"update","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/form\/AbstractFormBuilderForm.class.php","line":188,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/form\/AbstractForm.class.php","line":66,"function":"save","class":"wcf\\form\\AbstractFormBuilderForm","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/form\/AbstractForm.class.php","line":134,"function":"submit","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/form\/AbstractFormBuilderForm.class.php","line":147,"function":"readData","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/page\/AbstractPage.class.php","line":339,"function":"readData","class":"wcf\\form\\AbstractFormBuilderForm","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/page\/AbstractPage.class.php","line":122,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/system\/request\/Request.class.php","line":89,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/system\/request\/RequestHandler.class.php","line":121,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/acp\/index.php","line":11,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":[]}]
======
Error Class: PDOException
Error Message: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails ("c01005_forum"."wcf1_eggs_search", CONSTRAINT "e8e25d450bed9d077a5913f5493242e9_fk" FOREIGN KEY ("level") REFERENCES "wcf1_eggs_level" ("level") ON DELETE CASCADE)
Error Code: 23000
File: /storagepool/c01005/htdocs/compiware-forum.de/lib/system/database/statement/PreparedStatement.class.php (126)
Extra Information: -
Stack Trace: [{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/system\/database\/statement\/PreparedStatement.class.php","line":126,"function":"execute","class":"PDOStatement","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/data\/DatabaseObjectEditor.class.php","line":55,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":388,"function":"update","class":"wcf\\data\\DatabaseObjectEditor","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":216,"function":"update","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/form\/AbstractFormBuilderForm.class.php","line":188,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/form\/AbstractForm.class.php","line":66,"function":"save","class":"wcf\\form\\AbstractFormBuilderForm","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/form\/AbstractForm.class.php","line":134,"function":"submit","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/form\/AbstractFormBuilderForm.class.php","line":147,"function":"readData","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/page\/AbstractPage.class.php","line":339,"function":"readData","class":"wcf\\form\\AbstractFormBuilderForm","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/page\/AbstractPage.class.php","line":122,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/system\/request\/Request.class.php","line":89,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/lib\/system\/request\/RequestHandler.class.php","line":121,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/storagepool\/c01005\/htdocs\/compiware-forum.de\/acp\/index.php","line":11,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":[]}]
Alles anzeigen
Was hat das zu bedeuten?