Bug #89830

Avoid resolving default value of static property in ClassSchema

Added by Oliver Hader over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2019-12-03
Due date:
% Done:

100%

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

Description

( ! ) Fatal error: Uncaught PDOException: You cannot serialize or unserialize PDO instances in /Users/olly/Development/typo3/master/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php on line 59
( ! ) PDOException: You cannot serialize or unserialize PDO instances in /Users/olly/Development/typo3/master/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php on line 59

#    Time    Memory    Function    Location
1    6.9564    33279256    TYPO3\CMS\Extbase\Reflection\ReflectionService->__destruct( )    .../ReflectionService.php:0
2    6.9564    33279256    TYPO3\CMS\Core\Cache\Frontend\VariableFrontend->set( )    .../ReflectionService.php:81
3    6.9565    33279256    serialize ( )    .../VariableFrontend.php:59
4    6.9578    33805968    __sleep ( )    .../VariableFrontend.php:59

This happens, when e.g. calling new felogin password reset controller using PDO database driver (which just triggers this problem).


Related issues

Related to TYPO3 Core - Bug #91206: PDOException "You cannot serialize or unserialize PDOStatement instances" in PopulatePageSlugs wizardClosed2020-04-27

Actions
#1

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62518

#2

Updated by Oliver Hader over 1 year ago

  • Description updated (diff)
#3

Updated by Oliver Hader over 1 year ago

  • Description updated (diff)
#4

Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62518

#5

Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62518

#6

Updated by Gerrit Code Review over 1 year ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62518

#7

Updated by Oliver Hader over 1 year ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
#9

Updated by Christoph Lehmann about 1 year ago

I get the same error in 9.5 at typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php line 59

Can we backport it?

#10

Updated by Stephan Großberndt about 1 year ago

  • Related to Bug #91206: PDOException "You cannot serialize or unserialize PDOStatement instances" in PopulatePageSlugs wizard added
#11

Updated by Oliver Hader about 1 year ago

Christoph Lehmann wrote:

I get the same error in 9.5 at typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php line 59

Can we backport it?

Can you please post the complete stack-trace (order + class-name + method name is enough).
VariableFrontend just triggers the final error - but it's important to find the origin of it...

Also available in: Atom PDF