The Widget – Maximum function nesting level of '100' reached, aborting!
-
hello ,
i am woring on something related to the widgets.
i created my own widget and it worked well till i added just one line to the code , so i got the error [Maximum function nesting level of ‘100’ reached, aborting!].
here is the function code.
function widget( $args, $instance ) { extract( $args ); //Our variables from the widget settings. $class = $instance['class']; $id = $instance['id']; $container = $instance['container']; $wid = $instance['wid']; // Display the widget title ?> <section class="<?php echo $class; ?>" id="<?php echo $id; ?>"> <div class="<?php echo $container; ?>"> <div class="row"> <?php the_widget('base_widget' , 'class=my&id=lol&container=container'); ?> </div> </div> </section> <?php }
the_widget >> when removed , the code works fine and when added back the error appears again.
where is the nesting occurs ? and how to solve it ?
Thanks in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘The Widget – Maximum function nesting level of '100' reached, aborting!’ is closed to new replies.