#101289Error on excuting upgradewizard "sysLogChannel" in TYPO3 12
Description
I’m using a database dump from a TYPO3 9.5 instance and try to execute the update Wizard “sysLogChannel”. Database schema is up to date.
On excuting the wizard (cli and backend) an error is shown.
Uncaught TYPO3 Exception #1: assert(is_int($param)) thrown in file /app/vendor/doctrine/dbal/src/Driver/Mysqli/Statement.php in line 105
Even if I truncate or delete the sys_log table (created new afterwards) the error is shown.
After executing the wizard, he is not longer visible in the list of u pgrade:list
Local docker system with php 8.2, MariaDB-1:10.3.29, TYPO3 12.4.2
Reviews 1
History 68
-
Georg Ringer commented and changed status
NewNeeds Feedback 07/09/23, 15:20 -
Karsten Nowak (undkonsorten) commented 07/10/23, 06:12
I’m using the core_upgrader2 extension to use the other wizards. The sysLogChannel wizard come from core. Therefore I thought that’s not a problem of the extension. But the order of execution is a godd hint. I will check this.
-
Karsten Nowak (undkonsorten) commented and changed done
0 %50 % 07/10/23, 07:36I tested the wizard with the same database in TYPO3 11 instance. No errors.
It seems to me that the sysLogChannel wizard only properly works in TYPO3 11, not in TYPO3 12. However, it’s working for me in TYPO3 11. That’s ok for me.
But in TYPO3 12 maybe the wizard has a problem with the doctrine/dbal package?
I’m using doctrine/dbal 3.6.4To reproduce the error it should be enough to have an empty sys_log table with schema of TYPO3 9.5.
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 80169 status
Needs FeedbackUnder Review 07/25/23, 14:11 -
Gerrit Code Review pushed patch set 2 for 12.4 to change 80169 07/25/23, 14:47
-
Elias Häußler commented 07/25/23, 14:56
I can confirm this on TYPO3 12.4.4 and just pushed a patch that solves the issue for me.
-
Anonymous commented and changed status
Under ReviewResolved done50 %100 % 07/28/23, 18:31Applied in changeset commit:21d462d0deb53a504525d04b0ad66544a0f88467.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 14:15
without knowing more details it is hard to find the problem. however a direct upgrade from 9LTS is not supported, please run first all upgrade wizards in a TYPO3 10 LTS and then you can switch to a v12