#100916lockIPv4PartCount) must be of type int
Description
I have started a migration of a TYPO3 v11 project to v12 on my local development space.
I use Windows 10
Xampp with php 8.2 version installed on my Windows Machine
The project was working fine on TYPO3 11.
After the migration to version 12 this error is showing when i try to got to the backend link: project.local/typo3/
TYPO3\CMS\Core\Authentication\IpLocker::__construct(): Argument #1 ($lockIPv4PartCount) must be of type int, string given, called in C:\xampp\htdocs\typo3_src-12.4.1\typo3\sysext\core\Classes\Utility\GeneralUtility.php on line 2961Reviews 3
Files 1
History 611
-
Georg Ringer commented and changed status
NewNeeds Feedback 05/25/23, 11:50 -
Georg Ringer commented 05/25/23, 11:52
after checking the code: I guess
$GLOBALS['TYPO3_CONF_VARS'][FE]['lockIP']or$GLOBALS['TYPO3_CONF_VARS'][BE]['lockIP']is a string in your localconfiguration? can you confirm? -
Mohamed Masmoudi commented 05/25/23, 14:47
In my setting.php file:
‘BE’ => [‘lockIP’ => ‘0’,], -
Mohamed Masmoudi commented 05/25/23, 15:25
You are right it should be without the single quote like this:
’BE’ => [‘lockIP’ => 0,],
Thank you Georg! -
Gerrit Code Review pushed patch set 1 for main to change 79147 status
Needs FeedbackUnder Review 05/26/23, 06:24 -
Gerrit Code Review pushed patch set 2 for main to change 79147 05/26/23, 06:32
-
Gerrit Code Review pushed patch set 3 for main to change 79147 05/26/23, 06:33
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 79124 05/31/23, 12:29
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 79125 05/31/23, 12:29
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % 05/31/23, 12:30Applied in changeset commit:d6d517a2b89566247854ec8d826ef78d948e4103.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 14:15
thanks for creating the issue!
can you share some more of the stack trace to identify where the issue comes from? thanks a lot