Project

General

Profile

Actions

Bug #100916

closed

lockIPv4PartCount) must be of type int

Added by Mohamed Masmoudi 12 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2023-05-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

download (4).jpg (131 KB) download (4).jpg Mohamed Masmoudi, 2023-05-24 16:34
Actions #1

Updated by Georg Ringer 11 months 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

Actions #2

Updated by Georg Ringer 11 months 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?

Actions #3

Updated by Mohamed Masmoudi 11 months ago

In my setting.php file:

'BE' => ['lockIP' => '0',],
Actions #4

Updated by Mohamed Masmoudi 11 months ago

You are right it should be without the single quote like this:
'BE' => ['lockIP' => 0,],
Thank you Georg!

Actions #5

Updated by Gerrit Code Review 11 months 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

Actions #6

Updated by Gerrit Code Review 11 months 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

Actions #7

Updated by Gerrit Code Review 11 months 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

Actions #8

Updated by Gerrit Code Review 11 months 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

Actions #9

Updated by Gerrit Code Review 11 months 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

Actions #10

Updated by Georg Ringer 11 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF