Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearing Admin notification causes "Fatal error: Maximum function nesting level of '100' reached" #427

Closed
Bogardo opened this issue Dec 4, 2013 · 5 comments

Comments

@Bogardo
Copy link

Bogardo commented Dec 4, 2013

When deleting all notifications in the admin after installation I get the following error:
Fatal error: Maximum function nesting level of '100' reached, aborting! in D:\wamp\www\sandbox\magento\magento2\app\code\Magento\Core\Model\Resource\Db\AbstractDb.php on line 180

Here is the full Call Stack

Call Stack
#   Time    Memory  Function    Location
1   0.0002  255056  {main}( )   ..\index.php:0
2   0.0025  412744  Magento\App\EntryPoint\EntryPoint->run( )   ..\index.php:39
3   0.0745  5162872 Magento\App\Http->execute( )    ..\EntryPoint.php:82
4   0.1932  13416176    Magento\App\FrontController\Interceptor->dispatch( )    ..\Http.php:113
5   0.1932  13416632    Magento\App\FrontController\Interceptor->_invoke( ) ..\Interceptor.php:145
6   0.1960  13830496    Magento\Code\Plugin\InvocationChain->proceed( ) ..\Interceptor.php:102
7   0.1962  13833856    Magento\Core\App\FrontController\Plugin\DispatchExceptionHandler->aroundDispatch( ) ..\InvocationChain.php:80
8   0.1962  13834024    Magento\Code\Plugin\InvocationChain->proceed( ) ..\DispatchExceptionHandler.php:66
9   0.1962  13834440    
call_user_func_array
( ) ..\InvocationChain.php:82
10  0.1962  13834760    Magento\App\FrontController->dispatch( )    ..\InvocationChain.php:82
11  0.2739  18597416    Magento\AdminNotification\Controller\Adminhtml\Notification\Interceptor->dispatch( )    ..\FrontController.php:67
12  0.2739  18597872    Magento\AdminNotification\Controller\Adminhtml\Notification\Interceptor->_invoke( ) ..\Interceptor.php:194
13  0.2766  18705424    Magento\Code\Plugin\InvocationChain->proceed( ) ..\Interceptor.php:103
14  0.2767  18710616    Magento\Core\App\Action\Plugin\Install->aroundDispatch( )   ..\InvocationChain.php:80
15  0.2767  18710800    Magento\Code\Plugin\InvocationChain->proceed( ) ..\Install.php:84
16  0.2768  18711376    Magento\Backend\App\Action\Plugin\MassactionKey->aroundDispatch( )  ..\InvocationChain.php:80
17  0.2768  18711528    Magento\Code\Plugin\InvocationChain->proceed( ) ..\MassactionKey.php:47
18  0.2770  18718736    Magento\Core\App\Action\Plugin\Session->aroundDispatch( )   ..\InvocationChain.php:80
19  0.2771  18720136    Magento\Code\Plugin\InvocationChain->proceed( ) ..\Session.php:126
20  0.2776  18733976    Magento\Core\App\Action\Plugin\Design->aroundDispatch( )    ..\InvocationChain.php:80
21  0.2986  19965536    Magento\Code\Plugin\InvocationChain->proceed( ) ..\Design.php:52
22  0.2988  19971728    Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch( ) ..\InvocationChain.php:80
23  0.3003  19972824    Magento\Code\Plugin\InvocationChain->proceed( ) ..\Authentication.php:108
24  0.3003  19973240    
call_user_func_array
( ) ..\InvocationChain.php:82
25  0.3003  19973560    Magento\Backend\App\AbstractAction->dispatch( ) ..\InvocationChain.php:82
26  0.3023  20240944    Magento\App\Action\Action->dispatch( )  ..\AbstractAction.php:232
27  0.3086  20540176    Magento\AdminNotification\Controller\Adminhtml\Notification->indexAction( ) ..\Action.php:112
28  0.5108  31807560    Magento\App\View->renderLayout( )   ..\Notification.php:42
29  0.5108  31807976    Magento\Core\Model\Layout->getOutput( ) ..\View.php:284
30  0.5108  31808104    Magento\Core\Model\Layout->renderElement( ) ..\Layout.php:1540
31  0.5109  31808552    Magento\Core\Model\Layout->_renderBlock( )  ..\Layout.php:1154
32  0.5109  31808600    Magento\View\Block\AbstractBlock->toHtml( ) ..\Layout.php:1179
33  0.5110  31809632    Magento\Backend\Block\Template->_toHtml( )  ..\AbstractBlock.php:648
34  0.5111  31809696    Magento\View\Block\Template->_toHtml( ) ..\Template.php:118
35  0.5155  31960344    Magento\View\Block\Template->fetchView( )   ..\Template.php:249
36  0.5172  31995256    Magento\View\TemplateEngine\Php->render( )  ..\Template.php:229
37  0.5174  32030416    include( 'D:\wamp\www\sandbox\magento\magento2\app\code\Magento\Backend\view\adminhtml\admin\page.phtml' )  ..\Php.php:59
38  3.0722  45872224    
getChildHtml
( ) ..\page.phtml:61
39  3.0722  45872560    Magento\View\TemplateEngine\Php->__call( )  ..\page.phtml:61
40  3.0722  45872976    
call_user_func_array
( ) ..\Php.php:82
41  3.0722  45873296    Magento\View\Block\AbstractBlock->getChildHtml( )   ..\Php.php:82
42  3.0722  45873504    Magento\Core\Model\Layout->renderElement( ) ..\AbstractBlock.php:474
43  3.0722  45873504    Magento\Core\Model\Layout->_renderContainer( )  ..\Layout.php:1156
44  3.0722  45873976    Magento\Core\Model\Layout->renderElement( ) ..\Layout.php:1193
45  3.0722  45874024    Magento\Core\Model\Layout->_renderBlock( )  ..\Layout.php:1154
46  3.0722  45874024    Magento\View\Block\AbstractBlock->toHtml( ) ..\Layout.php:1179
47  3.0723  45875048    Magento\Backend\Block\Template->_toHtml( )  ..\AbstractBlock.php:648
48  3.0723  45875112    Magento\View\Block\Template->_toHtml( ) ..\Template.php:118
49  3.0724  45875464    Magento\View\Block\Template->fetchView( )   ..\Template.php:249
50  3.0728  45876144    Magento\View\TemplateEngine\Php->render( )  ..\Template.php:229
51  3.0729  45897080    include( 'D:\wamp\www\sandbox\magento\magento2\app\code\Magento\Backend\view\adminhtml\widget\grid\container.phtml' )   ..\Php.php:59
52  3.0730  45897480    
getGridHtml
( ) ..\container.phtml:30
53  3.0730  45897656    Magento\View\TemplateEngine\Php->__call( )  ..\container.phtml:30
54  3.0730  45898072    
call_user_func_array
( ) ..\Php.php:82
55  3.0730  45898232    Magento\Backend\Block\Widget\Grid\Container->getGridHtml( ) ..\Php.php:82
56  3.0730  45898344    Magento\View\Block\AbstractBlock->getChildHtml( )   ..\Container.php:106
57  3.0730  45898688    Magento\Core\Model\Layout->renderElement( ) ..\AbstractBlock.php:474
58  3.0730  45898688    Magento\Core\Model\Layout->_renderBlock( )  ..\Layout.php:1154
59  3.0730  45898688    Magento\View\Block\AbstractBlock->toHtml( ) ..\Layout.php:1179
60  3.0788  46278992    Magento\Backend\Block\Template->_toHtml( )  ..\AbstractBlock.php:648
61  3.0788  46279056    Magento\View\Block\Template->_toHtml( ) ..\Template.php:118
62  3.0789  46279392    Magento\View\Block\Template->fetchView( )   ..\Template.php:249
63  3.0793  46280024    Magento\View\TemplateEngine\Php->render( )  ..\Template.php:229
64  3.0797  46373664    include( 'D:\wamp\www\sandbox\magento\magento2\app\code\Magento\Backend\view\adminhtml\widget\grid.phtml' ) ..\Php.php:59
65  3.0860  46400360    
getChildHtml
( ) ..\grid.phtml:146
66  3.0860  46400696    Magento\View\TemplateEngine\Php->__call( )  ..\grid.phtml:146
67  3.0860  46401112    
call_user_func_array
( ) ..\Php.php:82
68  3.0860  46401432    Magento\View\Block\AbstractBlock->getChildHtml( )   ..\Php.php:82
69  3.0860  46401672    Magento\Core\Model\Layout->renderElement( ) ..\AbstractBlock.php:474
70  3.0860  46401672    Magento\Core\Model\Layout->_renderBlock( )  ..\Layout.php:1154
71  3.0860  46401672    Magento\View\Block\AbstractBlock->toHtml( ) ..\Layout.php:1179
72  3.0894  46670456    Magento\View\Block\Template->_toHtml( ) ..\AbstractBlock.php:648
73  3.0895  46670872    Magento\View\Block\Template->fetchView( )   ..\Template.php:249
74  3.0899  46671536    Magento\View\TemplateEngine\Php->render( )  ..\Template.php:229
75  3.0904  46751608    include( 'D:\wamp\www\sandbox\magento\magento2\app\code\Magento\Backend\view\adminhtml\widget\grid\column_set.phtml' )  ..\Php.php:59
76  3.0937  47006320    Magento\Backend\Block\Widget\Grid\Column->getHeaderHtml( )  ..\column_set.phtml:47
77  3.0937  47006320    Magento\Backend\Block\Widget\Grid\Column->getRenderer( )    ..\Column.php:194
78  3.0937  47006320    Magento\Core\Model\Layout->createBlock( )   ..\Column.php:428
79  3.0937  47007232    Magento\Core\Model\Layout->_createBlock( )  ..\Layout.php:1344
80  3.0937  47007232    Magento\Core\Model\Layout->_getBlockInstance( ) ..\Layout.php:1358
81  3.0942  47067472    Magento\View\Element\BlockFactory->createBlock( )   ..\Layout.php:1445
82  3.0942  47067472    Magento\ObjectManager\ObjectManager->create( )  ..\BlockFactory.php:55
83  3.0942  47067472    Magento\Interception\FactoryDecorator->create( )    ..\ObjectManager.php:85
84  3.0943  47067656    Magento\ObjectManager\Factory\Factory->create( )    ..\FactoryDecorator.php:116
85  3.0943  47070680    Magento\ObjectManager\Factory\Factory->_resolveArguments( ) ..\Factory.php:172
86  3.0944  47072344    Magento\ObjectManager\ObjectManager->get( ) ..\Factory.php:132
87  3.0944  47072344    Magento\Interception\FactoryDecorator->create( )    ..\ObjectManager.php:98
88  3.0944  47072640    Magento\ObjectManager\Factory\Factory->create( )    ..\FactoryDecorator.php:116
89  3.0946  47079864    Magento\Core\Model\AbstractModel->__construct( )    ..\Factory.php:183
90  3.0946  47079400    Magento\AdminNotification\Model\Inbox->_construct( )    ..\AbstractModel.php:168
91  3.0946  47079544    Magento\Core\Model\AbstractModel->_init( )  ..\Inbox.php:62
92  3.0946  47079728    Magento\Core\Model\AbstractModel->_getResource( )   ..\AbstractModel.php:187
93  3.0946  47079856    Magento\ObjectManager\ObjectManager->get( ) ..\AbstractModel.php:244
94  3.0946  47079856    Magento\Interception\FactoryDecorator->create( )    ..\ObjectManager.php:98
95  3.0946  47079984    Magento\ObjectManager\Factory\Factory->create( )    ..\FactoryDecorator.php:116
96  3.0946  47081432    Magento\Core\Model\Resource\Db\AbstractDb->__construct( )   ..\Factory.php:175
97  3.0946  47081384    Magento\Core\Model\Resource\AbstractResource->__construct( )    ..\AbstractDb.php:148
98  3.0946  47081384    Magento\AdminNotification\Model\Resource\Inbox->_construct( )   ..\AbstractResource.php:51
99  3.0946  47081552    Magento\Core\Model\Resource\Db\AbstractDb->_init( ) ..\Inbox.php:45

Notification error screenshot

@kandy
Copy link
Contributor

kandy commented Dec 4, 2013

It's not problem of Magento.
Please configure your php xdebug extension properly
I propose to set xdebug.max_nesting_level to 2000

@Bogardo
Copy link
Author

Bogardo commented Dec 4, 2013

Thanks, that did fix the problem.

@maksek
Copy link
Contributor

maksek commented Dec 9, 2013

We are closing the ticket, since it is not Magento issue, but configuration one, and fix is provided.

@LennardWesterveld
Copy link

Is this normal that you have nesting above 200 with fresh install? Or is there something wrong with my code?

@mazhalai
Copy link
Contributor

@LennardWesterveld please do not comment on closed issues. This thread is over 1.5 years old. See this

magento-team pushed a commit that referenced this issue Mar 21, 2016
magento-devops-reposync-svc pushed a commit that referenced this issue May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants