I saw an error that I couldn't nest views/that the first one would be deleted (I didn't mean to nest them) but now I can't get in to edit the page! I get the error below (other pages are fine):
Fatal error: Uncaught Error: Maximum function nesting level of '500' reached, aborting! in C:\Users\rsgou\Sites\www.artact.dev.cc\wp-includes\functions.php on line 5270
( ! ) Error: Maximum function nesting level of '500' reached, aborting! in C:\Users\rsgou\Sites\www.artact.dev.cc\wp-includes\functions.php on line 5270
Call Stack
# Time Memory Function Location
1 0.0055 541832 {main}( ) ...\post.php:0
2 1.5949 88661272 require( 'C:\Users\rsgou\Sites\www.artact.dev.cc\wp-admin\edit-form-blocks.php' ) ...\post.php:187
3 1.8765 90708864 block_editor_rest_api_preload( ) ...\edit-form-blocks.php:72
4 1.8765 90710840 array_reduce ( ) ...\block-editor.php:501
5 1.9455 91541400 rest_preload_api_request( ) ...\block-editor.php:501
6 1.9455 91542592 rest_do_request( ) ...\rest-api.php:2860
7 1.9455 91542592 WP_REST_Server->dispatch( ) ...\rest-api.php:511
8 1.9484 91542704 WP_REST_Server->respond_to_request( ) ...\class-wp-rest-server.php:988
9 1.9487 91544080 WP_REST_Posts_Controller->get_item( ) ...\class-wp-rest-server.php:1141
10 1.9488 91544528 WP_REST_Posts_Controller->prepare_item_for_response( ) ...\class-wp-rest-posts-controller.php:560
11 1.9514 91550656 apply_filters( ) ...\class-wp-rest-posts-controller.php:1811
12 1.9514 91550952 WP_Hook->apply_filters( ) ...\plugin.php:189
13 2.0406 92765200 do_shortcode( ) ...\class-wp-hook.php:307
14 2.0409 92783000 preg_replace_callback ( ) ...\shortcodes.php:228
15 2.0414 92784128 do_shortcode_tag( ) ...\shortcodes.php:228
16 2.0414 92784512 WP_Views_plugin->short_tag_wpv_view( ) ...\shortcodes.php:356
17 2.0429 92802872 WP_Views_plugin->render_view_ex( ) ...\wpv.class.php:639
18 2.1297 93877280 wpv_do_shortcode( ) ...\wpv.class.php:2166
19 2.1330 93885472 do_shortcode( ) ...\wpv-shortcodes.php:2594
20 2.1334 93903760 preg_replace_callback ( ) ...\shortcodes.php:228
21 2.1334 93904248 do_shortcode_tag( ) ...\shortcodes.php:228
22 2.1335 93904632 WP_Views_plugin->short_tag_wpv_view( ) ...\shortcodes.php:356
23 2.1353 93908816 WP_Views_plugin->render_view_ex( ) ...\wpv.class.php:639
24 2.1789 93960992 wpv_do_shortcode( ) ...\wpv.class.php:2166
25 2.1816 93969184 do_shortcode( ) ...\wpv-shortcodes.php:2594
26 2.1820 93987472 preg_replace_callback ( ) ...\shortcodes.php:228
27 2.1820 93987960 do_shortcode_tag( ) ...\shortcodes.php:228
28 2.1820 93988344 WP_Views_plugin->short_tag_wpv_view( ) ...\shortcodes.php:356
29 2.1835 93981064 WP_Views_plugin->render_view_ex( ) ...\wpv.class.php:639
30 2.2228 94033688 wpv_do_shortcode( ) ...\wpv.class.php:2166
31 2.2252 94041880 do_shortcode( ) ...\wpv-shortcodes.php:2594
32 2.2256 94060168 preg_replace_callback ( ) ...\shortcodes.php:228
33 2.2257 94060656 do_shortcode_tag( ) ...\shortcodes.php:228
34 2.2257 94061040 WP_Views_plugin->short_tag_wpv_view( ) ...\shortcodes.php:356
35 2.2275 94053760 WP_Views_plugin->render_view_ex( ) ...\wpv.class.php:639
36 2.2656 94105936 wpv_do_shortcode( ) ...\wpv.class.php:2166
37 2.2679 94114128 do_shortcode( ) ...\wpv-shortcodes.php:2594
38 2.2683 94132416 preg_replace_callback ( ) ...\shortcodes.php:228
39 2.2683 94132904 do_shortcode_tag( ) ...\shortcodes.php:228
40 2.2683 94133288 WP_Views_plugin->short_tag_wpv_view( ) ...\shortcodes.php:356
41 2.2699 94126232 WP_Views_plugin->render_view_ex( ) ...\wpv.class.php:639
42 2.3077 94178408 wpv_do_shortcode( ) ...\wpv.class.php:2166
(and this keeps repeating....)
Shane
Supporter
Les langues:
Anglais (English )
Fuseau horaire:
America/Jamaica (GMT-05:00)
Hi Bob,
Thank you for getting in touch.
I suspect this is a view that was built using the block editor correct?
Would you mind allowing me to have admin access to the website so that I can have a more detailed look at this one for you?
Please also send a link to the page with the issue.
Thanks,
Shane
Yes, I had made a view in the block editor. Unfortunatey, I am not able to provide access to it, I couldn't wait and had to revert to a backup. But I need to make sure it doesn't happen again.
Hi Bob,
Happy you were able to restore the site from a backup.
However it shouldn't be possible to next 2 block views. It seems to be a case where the second view was inserted using the shortcode.
Given that the issue is now resolved then we can go ahead and close here.
Thanks,
Shane
I wasn't added through shortcode. I inserted it as a block, to a page where it turned out to already be there.
Hi Bob,
Thank you for the clarity.
Given that no further intervention is required then you can go ahead and mark this issue as resolved.
Thanks,
Shane