$uid must be positive integer, 0 given when creating a new Page
In TYPO3 Backend when i create a new page I receive the following Error:
#1437656456: $uid must be positive integer, 0 given (More information) InvalidArgumentException thrown in file .../httpsdocs/typo3_src-7.6.24/typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractDatabaseRecordProvider.php in line 39.
In the Database a new record in the pages table is created with the UID 0.
Occures in TYPO3 7.6.23 and 7.6.24.
Ubuntu 14.04.5 LTS (GNU/Linux 4.4.98-3-pve x86_64) mysql Ver 14.14 Distrib 5.5.59, for debian-linux-gnu (x86_64) using readline 6.3 PHP 5.5.9-1ubuntu4.23 (cli) (built: Feb 8 2018 21:59:47) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd., and with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
#2 Updated by Christian Kuhn 11 months ago
- Status changed from New to Needs Feedback
That's odd: Such a huge issue would pop up rather immediately.
I'm also unable to reproduce this locally on a v7 instance.
Would you please document how exactly you create the page? From the page module, the list module, the page tree? Do you always see this or just in some situations? Do you maybe have some extensions loaded that may trigger this issue? Maybe unload some extensions to see if the issue persists? Apart from that, usual mysql never creates a uid=0 in the database, so that is odd, too. Are you sure you really created a uid=0 record in the database?
#3 Updated by Manuel Thaler 11 months ago
i See the same issue on TYPO3 v 7.6.24.
This happens after Migration from 6 to 7.6.24 in my case.
Actually as described here:
#1437656456: $uid must be positive integer, 0 given (More information) InvalidArgumentException thrown in file /Users/manuel/Development/Source/Typo3Source/typo3_src-7.6.24/typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractDatabaseRecordProvider.php in line 39.