Update from 3.2.10 to 3.5.40
Hellow, I try to update contao from 3.2.10 to 3.5.40. Backend works OK, but I can't open menu Theme. I get error:
PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Table 'mydatabasename.tl_image_size' doesn't exist (DELETE FROM tl_image_size WHERE NOT EXISTS (SELECT * FROM tl_theme WHERE tl_image_size.pid = tl_theme.id))' thrown in C:\xampp\htdocs\myprojectname\system\modules\core\ library\Contao\Database\Statement.php on line 295
I try update database with install.php tool but then I get error:
Fatal error: Uncaught exception Exception with message Query error: Can't DROP INDEX `username`; check that it exists (ALTER TABLE `tl_member` DROP INDEX `username`, ADD UNIQUE KEY `username` (`username`)) thrown in system\modules\core\library\Contao\Database\Statem ent.php on line 295
What is gone wrong?