Maximum nesting level when attaching comment field to User.

Created on 18 October 2013, about 11 years ago
Updated 21 August 2024, 4 months ago

Fatal error: Maximum function nesting level of '200' reached, aborting! in /Users/gordon/Sites/demo8/core/includes/bootstrap.inc on line 2422

I have set up a minumal version of Drupal 8.x, and disabled the node module. I have then attached a comment field to the user.

The comment field displays on the /user/1 without issue, and then I get the above error if I create a comment.

I have my nesting level set to 200, so that should be much more than is required.

Here is the error backtrace.

( ! ) Fatal error: Maximum function nesting level of '200' reached, aborting! in /Users/gordon/Sites/demo8/core/includes/bootstrap.inc on line 2422
Call Stack
# Time Memory Function Location
1 0.0001 641584 {main}( ) ../index.php:0
2 0.0222 1544472 drupal_handle_request( ) ../index.php:15
3 0.2428 13495584 Drupal\Core\DrupalKernel->handle( ) ../bootstrap.inc:1865
4 0.2491 13631856 Drupal\Core\HttpKernel->handle( ) ../DrupalKernel.php:281
5 0.2492 13633032 Symfony\Component\HttpKernel\HttpKernel->handle( ) ../HttpKernel.php:52
6 0.2492 13633032 Symfony\Component\HttpKernel\HttpKernel->handleRaw( ) ../HttpKernel.php:61
7 0.5052 19061736 call_user_func_array ( ) ../HttpKernel.php:117
8 0.5052 19062160 Drupal\Core\Controller\HtmlPageController->content( ) ../HttpKernel.php:117
9 0.8039 23781560 drupal_render_page( ) ../HtmlPageController.php:100
10 0.8473 24456032 drupal_render( ) ../common.inc:3669
11 0.8473 24458264 theme( ) ../common.inc:3855
12 1.0034 26351336 twig_render_template( ) ../theme.inc:1136
13 1.0116 26771584 Twig_Template->render( ) ../twig.engine:54
14 1.0116 26812656 Twig_Template->display( ) ../Template.php:249
15 1.0117 26813088 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
16 1.0117 26813088 __TwigTemplate_115c4c692dbe3fb9d3f96150b63648be->doDisplay( ) ../Template.php:264
17 1.0268 26954680 twig_render_var( ) ../becb348e71f03d45b98c5beca0168a5d592664651241f4db07102aff827b74b5.php:272
18 1.0268 26954680 render( ) ../twig.engine:130
19 1.0268 26954824 drupal_render( ) ../common.inc:3989
20 1.0268 26956592 drupal_render( ) ../common.inc:3868
21 1.0282 26958736 theme( ) ../common.inc:3855
22 1.0292 26971072 twig_render_template( ) ../theme.inc:1136
23 1.0323 27011984 Twig_Template->render( ) ../twig.engine:54
24 1.0323 27053680 Twig_Template->display( ) ../Template.php:249
25 1.0323 27053896 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
26 1.0323 27053896 __TwigTemplate_feb088292fb80b7a159db4877ecff3ec->doDisplay( ) ../Template.php:264
27 1.0325 27059088 twig_render_var( ) ../ea86bba60799fe2c003b553245b6fffcf34795f1ef4729d3d5cbf29fd3b68837.php:27
28 1.0325 27059088 render( ) ../twig.engine:130
29 1.0325 27059232 drupal_render( ) ../common.inc:3989
30 1.0326 27062096 drupal_render( ) ../common.inc:3868
31 1.0327 27064936 theme( ) ../common.inc:3855
32 1.0333 27076104 theme_field( ) ../theme.inc:1070
33 1.0333 27077088 drupal_render( ) ../field.module:775
34 1.0333 27078688 theme( ) ../common.inc:3855
35 1.0339 27087240 twig_render_template( ) ../theme.inc:1136
36 1.0378 27144832 Twig_Template->render( ) ../twig.engine:54
37 1.0379 27186000 Twig_Template->display( ) ../Template.php:249
38 1.0379 27186216 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
39 1.0379 27186216 __TwigTemplate_dcc4d6a42609a04c8bc42f166e120ac4->doDisplay( ) ../Template.php:264
40 1.0386 27208960 twig_render_var( ) ../5b9744e731661bee9b67b7867a5de866ce73b242447652ff3a19d9d5c3179749.php:45
41 1.0386 27208960 render( ) ../twig.engine:130
42 1.0386 27209104 drupal_render( ) ../common.inc:3989
43 1.0387 27211128 drupal_render( ) ../common.inc:3868
44 1.0388 27213528 theme( ) ../common.inc:3855
45 1.0866 27557672 twig_render_template( ) ../theme.inc:1136
46 1.0921 27640056 Twig_Template->render( ) ../twig.engine:54
47 1.0921 27681224 Twig_Template->display( ) ../Template.php:249
48 1.0921 27681440 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
49 1.0922 27681440 __TwigTemplate_f50e4632d33c43dca1e7ababe980137d->doDisplay( ) ../Template.php:264
50 1.0925 27690064 twig_render_var( ) ../9f5a4cb771417edcc37c8c7c329b8dcac7b4c3b709eb85ee37c67cde951e5710.php:29
51 1.0926 27690064 render( ) ../twig.engine:130
52 1.0926 27690208 drupal_render( ) ../common.inc:3989
53 1.0939 27692352 theme( ) ../common.inc:3855
54 1.0944 27699528 twig_render_template( ) ../theme.inc:1136
55 1.0945 27702440 Twig_Template->render( ) ../twig.engine:54
56 1.0946 27743608 Twig_Template->display( ) ../Template.php:249
57 1.0946 27743824 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
58 1.0946 27743824 __TwigTemplate_feb088292fb80b7a159db4877ecff3ec->doDisplay( ) ../Template.php:264
59 1.0947 27747528 twig_render_var( ) ../ea86bba60799fe2c003b553245b6fffcf34795f1ef4729d3d5cbf29fd3b68837.php:27
60 1.0947 27747528 render( ) ../twig.engine:130
61 1.0947 27747672 drupal_render( ) ../common.inc:3989
62 1.0948 27750536 drupal_render( ) ../common.inc:3868
63 1.0949 27753376 theme( ) ../common.inc:3855
64 1.0952 27762936 theme_field( ) ../theme.inc:1070
65 1.0952 27763920 drupal_render( ) ../field.module:775
66 1.0953 27765520 theme( ) ../common.inc:3855
67 1.0956 27772936 twig_render_template( ) ../theme.inc:1136
68 1.0956 27776040 Twig_Template->render( ) ../twig.engine:54
69 1.0956 27817208 Twig_Template->display( ) ../Template.php:249
70 1.0956 27817424 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
71 1.0956 27817424 __TwigTemplate_dcc4d6a42609a04c8bc42f166e120ac4->doDisplay( ) ../Template.php:264
72 1.0959 27821720 twig_render_var( ) ../5b9744e731661bee9b67b7867a5de866ce73b242447652ff3a19d9d5c3179749.php:45
73 1.0959 27821720 render( ) ../twig.engine:130
74 1.0960 27821864 drupal_render( ) ../common.inc:3989
75 1.0960 27823888 drupal_render( ) ../common.inc:3868
76 1.0961 27826288 theme( ) ../common.inc:3855
77 1.1371 28114136 twig_render_template( ) ../theme.inc:1136
78 1.1371 28119232 Twig_Template->render( ) ../twig.engine:54
79 1.1372 28160400 Twig_Template->display( ) ../Template.php:249
80 1.1372 28160616 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
81 1.1372 28160616 __TwigTemplate_f50e4632d33c43dca1e7ababe980137d->doDisplay( ) ../Template.php:264
82 1.1374 28167744 twig_render_var( ) ../9f5a4cb771417edcc37c8c7c329b8dcac7b4c3b709eb85ee37c67cde951e5710.php:29
83 1.1374 28167744 render( ) ../twig.engine:130
84 1.1374 28167888 drupal_render( ) ../common.inc:3989
85 1.1383 28170032 theme( ) ../common.inc:3855
86 1.1387 28177208 twig_render_template( ) ../theme.inc:1136
87 1.1388 28180120 Twig_Template->render( ) ../twig.engine:54
88 1.1388 28221288 Twig_Template->display( ) ../Template.php:249
89 1.1388 28221504 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
90 1.1388 28221504 __TwigTemplate_feb088292fb80b7a159db4877ecff3ec->doDisplay( ) ../Template.php:264
91 1.1389 28225208 twig_render_var( ) ../ea86bba60799fe2c003b553245b6fffcf34795f1ef4729d3d5cbf29fd3b68837.php:27
92 1.1389 28225208 render( ) ../twig.engine:130
93 1.1389 28225352 drupal_render( ) ../common.inc:3989
94 1.1389 28228216 drupal_render( ) ../common.inc:3868
95 1.1390 28231056 theme( ) ../common.inc:3855
96 1.1393 28240616 theme_field( ) ../theme.inc:1070
97 1.1394 28241600 drupal_render( ) ../field.module:775
98 1.1394 28243200 theme( ) ../common.inc:3855
99 1.1396 28250616 twig_render_template( ) ../theme.inc:1136
100 1.1397 28253720 Twig_Template->render( ) ../twig.engine:54
101 1.1398 28294888 Twig_Template->display( ) ../Template.php:249
102 1.1398 28295104 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
103 1.1398 28295104 __TwigTemplate_dcc4d6a42609a04c8bc42f166e120ac4->doDisplay( ) ../Template.php:264
104 1.1401 28299400 twig_render_var( ) ../5b9744e731661bee9b67b7867a5de866ce73b242447652ff3a19d9d5c3179749.php:45
105 1.1401 28299400 render( ) ../twig.engine:130
106 1.1401 28299544 drupal_render( ) ../common.inc:3989
107 1.1401 28301568 drupal_render( ) ../common.inc:3868
108 1.1402 28303968 theme( ) ../common.inc:3855
109 1.1822 28591816 twig_render_template( ) ../theme.inc:1136
110 1.1822 28596912 Twig_Template->render( ) ../twig.engine:54
111 1.1823 28638080 Twig_Template->display( ) ../Template.php:249
112 1.1823 28638296 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
113 1.1823 28638296 __TwigTemplate_f50e4632d33c43dca1e7ababe980137d->doDisplay( ) ../Template.php:264
114 1.1825 28645424 twig_render_var( ) ../9f5a4cb771417edcc37c8c7c329b8dcac7b4c3b709eb85ee37c67cde951e5710.php:29
115 1.1825 28645424 render( ) ../twig.engine:130
116 1.1825 28645568 drupal_render( ) ../common.inc:3989
117 1.1835 28647712 theme( ) ../common.inc:3855
118 1.1839 28654888 twig_render_template( ) ../theme.inc:1136
119 1.1839 28657800 Twig_Template->render( ) ../twig.engine:54
120 1.1840 28698968 Twig_Template->display( ) ../Template.php:249
121 1.1840 28699184 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
122 1.1840 28699184 __TwigTemplate_feb088292fb80b7a159db4877ecff3ec->doDisplay( ) ../Template.php:264
123 1.1841 28702888 twig_render_var( ) ../ea86bba60799fe2c003b553245b6fffcf34795f1ef4729d3d5cbf29fd3b68837.php:27
124 1.1841 28702888 render( ) ../twig.engine:130
125 1.1841 28703032 drupal_render( ) ../common.inc:3989
126 1.1841 28705896 drupal_render( ) ../common.inc:3868
127 1.1842 28708736 theme( ) ../common.inc:3855
128 1.1845 28718296 theme_field( ) ../theme.inc:1070
129 1.1845 28719280 drupal_render( ) ../field.module:775
130 1.1845 28720880 theme( ) ../common.inc:3855
131 1.1848 28728296 twig_render_template( ) ../theme.inc:1136
132 1.1849 28731400 Twig_Template->render( ) ../twig.engine:54
133 1.1849 28772568 Twig_Template->display( ) ../Template.php:249
134 1.1849 28772784 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
135 1.1849 28772784 __TwigTemplate_dcc4d6a42609a04c8bc42f166e120ac4->doDisplay( ) ../Template.php:264
136 1.1852 28777080 twig_render_var( ) ../5b9744e731661bee9b67b7867a5de866ce73b242447652ff3a19d9d5c3179749.php:45
137 1.1852 28777080 render( ) ../twig.engine:130
138 1.1852 28777224 drupal_render( ) ../common.inc:3989
139 1.1852 28779248 drupal_render( ) ../common.inc:3868
140 1.1853 28781648 theme( ) ../common.inc:3855
141 1.2262 29069496 twig_render_template( ) ../theme.inc:1136
142 1.2263 29074592 Twig_Template->render( ) ../twig.engine:54
143 1.2263 29115760 Twig_Template->display( ) ../Template.php:249
144 1.2263 29115976 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
145 1.2263 29115976 __TwigTemplate_f50e4632d33c43dca1e7ababe980137d->doDisplay( ) ../Template.php:264
146 1.2265 29123104 twig_render_var( ) ../9f5a4cb771417edcc37c8c7c329b8dcac7b4c3b709eb85ee37c67cde951e5710.php:29
147 1.2265 29123104 render( ) ../twig.engine:130
148 1.2265 29123248 drupal_render( ) ../common.inc:3989
149 1.2275 29125392 theme( ) ../common.inc:3855
150 1.2279 29132568 twig_render_template( ) ../theme.inc:1136
151 1.2280 29135480 Twig_Template->render( ) ../twig.engine:54
152 1.2280 29176648 Twig_Template->display( ) ../Template.php:249
153 1.2280 29176864 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
154 1.2280 29176864 __TwigTemplate_feb088292fb80b7a159db4877ecff3ec->doDisplay( ) ../Template.php:264
155 1.2281 29180568 twig_render_var( ) ../ea86bba60799fe2c003b553245b6fffcf34795f1ef4729d3d5cbf29fd3b68837.php:27
156 1.2281 29180568 render( ) ../twig.engine:130
157 1.2281 29180712 drupal_render( ) ../common.inc:3989
158 1.2281 29183576 drupal_render( ) ../common.inc:3868
159 1.2282 29186416 theme( ) ../common.inc:3855
160 1.2285 29195976 theme_field( ) ../theme.inc:1070
161 1.2285 29196960 drupal_render( ) ../field.module:775
162 1.2286 29198560 theme( ) ../common.inc:3855
163 1.2288 29205976 twig_render_template( ) ../theme.inc:1136
164 1.2289 29209080 Twig_Template->render( ) ../twig.engine:54
165 1.2289 29250248 Twig_Template->display( ) ../Template.php:249
166 1.2289 29250464 Twig_Template->displayWithErrorHandling( ) ../Template.php:238
167 1.2289 29250464 __TwigTemplate_dcc4d6a42609a04c8bc42f166e120ac4->doDisplay( ) ../Template.php:264
168 1.2292 29254760 twig_render_var( ) ../5b9744e731661bee9b67b7867a5de866ce73b242447652ff3a19d9d5c3179749.php:45
169 1.2292 29254760 render( ) ../twig.engine:130
170 1.2292 29254904 drupal_render( ) ../common.inc:3989
171 1.2292 29256928 drupal_render( ) ../common.inc:3868
172 1.2293 29259328 theme( ) ../common.inc:3855
173 1.2295 29263088 template_preprocess_comment( ) ../theme.inc:1061
174 1.2316 29263536 user_view( ) ../comment.module:1489
175 1.2316 29263584 entity_view( ) ../user.module:1376
176 1.2316 29263632 Drupal\Core\Entity\EntityRenderController->view( ) ../entity.inc:592
177 1.2316 29263936 Drupal\Core\Entity\EntityRenderController->viewMultiple( ) ../EntityRenderController.php:154
178 1.2331 29268224 Drupal\Core\Entity\EntityRenderController->buildContent( ) ../EntityRenderController.php:197
179 1.2338 29272992 field_attach_view( ) ../EntityRenderController.php:88
180 1.2339 29274776 field_invoke_method( ) ../field.deprecated.inc:767
181 1.2340 29276672 Drupal\field\Plugin\Type\Formatter\FormatterBase->view( ) ../field.attach.inc:126
182 1.2341 29276888 Drupal\comment\Plugin\field\formatter\CommentDefaultFormatter->viewElements( ) ../FormatterBase.php:78
183 1.2413 29294312 comment_add( ) ../CommentDefaultFormatter.php:141
184 1.2480 29362632 Drupal\Core\Entity\EntityManager->getForm( ) ../comment.module:635
185 1.2481 29363944 drupal_build_form( ) ../EntityManager.php:387
186 1.2481 29366688 drupal_retrieve_form( ) ../form.inc:397
187 1.2482 29892536 call_user_func_array ( ) ../form.inc:882
188 1.2482 29892960 Drupal\Core\Entity\EntityFormController->buildForm( ) ../form.inc:882
189 1.2483 29892960 Drupal\Core\Entity\ContentEntityFormController->init( ) ../EntityFormController.php:95
190 1.2483 29894528 Drupal\Core\Entity\ContentEntityFormController->getTranslatedEntity( ) ../ContentEntityFormController.php:76
191 1.2483 29894528 Drupal\Core\Entity\ContentEntityFormController->getFormLangcode( ) ../ContentEntityFormController.php:87
192 1.2483 29894528 Drupal\Core\Entity\ContentEntityBase->getTranslationLanguages( ) ../ContentEntityFormController.php:105
193 1.2483 29894792 Drupal\Core\Entity\ContentEntityBase->getDefaultLanguage( ) ../ContentEntityBase.php:743
194 1.2483 29895168 Drupal\Core\Entity\Field\FieldItemList->__isset( ) ../ContentEntityBase.php:542
195 1.2483 29895168 Drupal\Core\Entity\Field\FieldItemBase->__isset( ) ../FieldItemList.php:187
196 1.2483 29895168 Drupal\Core\TypedData\DataReferenceBase->getValue( ) ../FieldItemBase.php:162
197 1.2484 29895168 Drupal\Core\TypedData\Plugin\DataType\Language->getValue( ) ../DataReferenceBase.php:38
198 1.2484 29895168 language_load( ) ../Language.php:49
199 1.2484 29895216 language_list( ) ../bootstrap.inc:2523

🐛 Bug report
Status

Closed: outdated

Version

11.0 🔥

Component
Comment 

Last updated 11 days ago

Created by

🇦🇺Australia gordon Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India sukr_s

    I'm unable to reproduce the issue on 10.3.2. So closing it as outdated. If the problem persists, pls share detailed steps to reproduce the issue.

Production build 0.71.5 2024