Jump to content

CsMegaMenu + Topmenu: ca boucle grave !


botmez
 Share

Recommended Posts

Bonjour,

 

J'ai acheté un beau theme qui propose un menu sur la page d'accueil pour les catagories.

 

Je suis en presta 1.5.6.1

 

Il y a un problème de catégorie qui boucle d'un le csmenu et/ou le top menu car j'ai un:

 

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 322565 bytes) in

....

modules/csmegamenu/csmegamenu.php on line 1617

 

 

Voici la ligne de code en question :

 

   
         if (isset($children) && count($children)){
                
                $this->_respMenu .= '<ul>';
                
                foreach ($children as $child){
                        $this->_getRespCategories((int)$child['id_category'], (int)$id_lang, (int)$child['id_shop']);
                }


                $this->_respMenu .= '</ul>';
                
            }

Merci de votre aide,

 

Share this post


Link to post
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More