Help: symfony2 JMS JMS\SerializerBundle serialization timeout.
PHPz
PHPz 2017-05-16 16:45:28
0
2
536

Fatal error: Maximum execution time of 30 seconds exceeded in vendor/jmsrializer-bundle/JMS/SerializerBundle/Serializer/GraphNavigator.php on line 52

What are the possible reasons for this situation?

PHPz
PHPz

学习是最好的投资!

reply all(2)
Peter_Zhu

Serialization still requires human intervention, check:

  1. Depth of object reference
  2. Circular Reference

You can first exclude all references to (any other objects) in your (object you want to serialize), and then add them one by one to see who caused the recursion.

给我你的怀抱

php script execution timeout
Add this sentence before the code
set_time_limit(0);

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template