Guten Tag,
Ich habe gerade mal versucht auf einem Test-system das Update auf Version 6.0 zu probieren. In zuge dessen wollte ich das Arbeitsplatz Plugin einmal deinstallieren, dabei erhielt ich folgende meldung.
Code
Mon, 15 Apr 2024 15:22:33 +0000
Message: Could not execute statement 'DROP TABLE IF EXISTS `workplace1_task`'
PHP version: 8.2.18
WoltLab Suite version: 5.5.20
Request URI: POST /acp/index.php?uninstall-package/&t=80667305475269f39b92ee7f351872419045e4c6c0ceb6fd79e1fc74fae89c98-pyMwEOi8ngEZzpvi15Gajg==
Referrer: https://##/acp/index.php?package-list/
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15
Peak Memory Usage: 3675168/134217728
======
Error Class: wcf\system\database\exception\DatabaseQueryExecutionException
Error Message: Could not execute statement 'DROP TABLE IF EXISTS `workplace1_task`'
Error Code: 23000
File: /Users/peter/www/doerek/lib/system/database/statement/PreparedStatement.class.php (144)
Extra Information: -
Stack Trace: [{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/database\/editor\/MySQLDatabaseEditor.class.php","line":260,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/package\/plugin\/SQLPackageInstallationPlugin.class.php","line":124,"function":"dropTable","class":"wcf\\system\\database\\editor\\MySQLDatabaseEditor","type":"->","args":["workplace1_task"]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/package\/PackageUninstallationDispatcher.class.php","line":125,"function":"uninstall","class":"wcf\\system\\package\\plugin\\SQLPackageInstallationPlugin","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/package\/PackageUninstallationDispatcher.class.php","line":80,"function":"executePIP","class":"wcf\\system\\package\\PackageUninstallationDispatcher","type":"->","args":[{"pluginName":"[redacted]","className":"[redacted]"}]},{"file":"\/Users\/peter\/www\/doerek\/lib\/acp\/action\/UninstallPackageAction.class.php","line":122,"function":"uninstall","class":"wcf\\system\\package\\PackageUninstallationDispatcher","type":"->","args":["8cf671ce"]},{"file":"\/Users\/peter\/www\/doerek\/lib\/action\/AbstractDialogAction.class.php","line":73,"function":"stepUninstall","class":"wcf\\acp\\action\\UninstallPackageAction","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/lib\/action\/AbstractAction.class.php","line":57,"function":"execute","class":"wcf\\action\\AbstractDialogAction","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/request\/Request.class.php","line":90,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/acp\/index.php","line":11,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf",true]}]
======
Error Class: PDOException
Error Message: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails
Error Code: 23000
File: /Users/peter/www/doerek/lib/system/database/statement/PreparedStatement.class.php (126)
Extra Information: -
Stack Trace: [{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/database\/statement\/PreparedStatement.class.php","line":126,"function":"execute","class":"PDOStatement","type":"->","args":[[]]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/database\/editor\/MySQLDatabaseEditor.class.php","line":260,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/package\/plugin\/SQLPackageInstallationPlugin.class.php","line":124,"function":"dropTable","class":"wcf\\system\\database\\editor\\MySQLDatabaseEditor","type":"->","args":["workplace1_task"]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/package\/PackageUninstallationDispatcher.class.php","line":125,"function":"uninstall","class":"wcf\\system\\package\\plugin\\SQLPackageInstallationPlugin","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/package\/PackageUninstallationDispatcher.class.php","line":80,"function":"executePIP","class":"wcf\\system\\package\\PackageUninstallationDispatcher","type":"->","args":[{"pluginName":"[redacted]","className":"[redacted]"}]},{"file":"\/Users\/peter\/www\/doerek\/lib\/acp\/action\/UninstallPackageAction.class.php","line":122,"function":"uninstall","class":"wcf\\system\\package\\PackageUninstallationDispatcher","type":"->","args":["8cf671ce"]},{"file":"\/Users\/peter\/www\/doerek\/lib\/action\/AbstractDialogAction.class.php","line":73,"function":"stepUninstall","class":"wcf\\acp\\action\\UninstallPackageAction","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/lib\/action\/AbstractAction.class.php","line":57,"function":"execute","class":"wcf\\action\\AbstractDialogAction","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/request\/Request.class.php","line":90,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/Users\/peter\/www\/doerek\/acp\/index.php","line":11,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf",true]}]
Alles anzeigen
Hat jemand das gleiche Problem?
mfg