That was the error I was getting trying to create a PDF file using the "Understanding the Zend Framework" tutorial series (With some serious improvements and patching to work with a newer framework version)Fatal error: Nesting level too deep - recursive dependency? in W:\www\framework\libs\ZendFramework\library\Zend\Pdf\ElementFactory.php on line 262
I googled the error and found a solution for a general PHP error.
Thus using that information I patched the Zend_PDF_ElementFactory file on line 262 to read:
Code: Select all
if ($obj->getFactory() !== $this) {Code: Select all
if ($obj->getFactory() != $this) {What do you think, is it a bug that needs to be fixed?