I am developing a website where i use a flexible content row in the footer to render some things.
I found out that, on the 404 page these items in the footer are ‘repeating’ infinitely. While on other pages it just renders correctly (1 time). I have tried adding <?php wp_reset_query(); ?> on the end of every <?php endwhile; ?>, also tried them individually, but this doesn’t seem to ‘fix’ the infinite repeater.
My question now is, what can i do to let it stop repeating infinitely on the 404 page? check this page for a correct representation of the footer rows and check this page for a incorrect representation of the footer rows.
PS. the flexible content row has a flexible content row inside of it. Could this cause the problem?