Bug #100916
closedlockIPv4PartCount) must be of type int
100%
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 2961
Files
Updated by Georg Ringer over 1 year ago
- Status changed from New to Needs Feedback
thanks for creating the issue!
can you share some more of the stack trace to identify where the issue comes from? thanks a lot
Updated by Georg Ringer over 1 year ago
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?
Updated by Mohamed Masmoudi over 1 year ago
In my setting.php file:
'BE' => ['lockIP' => '0',],
Updated by Mohamed Masmoudi over 1 year ago
You are right it should be without the single quote like this:
'BE' => ['lockIP' => 0,],
Thank you Georg!
Updated by Gerrit Code Review over 1 year ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79147
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79147
Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79147
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79124
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79125
Updated by Georg Ringer over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d6d517a2b89566247854ec8d826ef78d948e4103.