Bug #83994
closed
$uid must be positive integer, 0 given when creating a new Page
Added by Pascal Naujoks over 6 years ago.
Updated about 6 years ago.
Description
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.
System:
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
- Project changed from 9 to TYPO3 Core
- Category deleted (
Development)
- TYPO3 Version set to 9
- 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?
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:
https://wiki.typo3.org/Exception/CMS/1437656456
#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.
- Related to Bug #84236: Uncaught exception in DataHandler added
Is this issue still present? - see also my comment on #84236
Thank you.
- Status changed from Needs Feedback to Closed
There have been some fixes in this area the last months for other DB drivers.
I close this issue because no feedback was given the last months.
- Related to Bug #86933: $uid must be positive integer, 0 given when trying to edit multiple records in a workspace added
Also available in: Atom
PDF