Slow / Issues on the orders and products list

On Dolibarr 6, the list of orders/products don’t work
I can access the order individually but the list crashed

I upgraded to Dolibarr 7.0.1, same issue (on the error log : mod_fcgid: stderr: PHP Fatal error: Maximum execution time of 30 seconds exceeded in categories/class/categorie.class.php on line 1055, referer: commande/list.php?mainmenu=commercial ) but the page is displayed with the number of occurrences but no results (only the pagination))

I identify the issue.

Dolibarr had a category with the parent equal to himself.
Consequence : a infinite loop inside a php fonction (inside the categorie.class.php)

Hi Dom,

I am facing an issue with Customer Order when i am clicking on a customer order it’s taking too much time to open and it’s happening only for few specific customer who has a lot of customer order attached. Any solution for that? Any ide/suggestion from your side?