not empty categories don’t show in menu [closed]

yes i tried both. it was still hapenning. at the end i discovered it was an error coming from the index.php – one line of code i had added following a tutorial which i forgot to remove after. removing it brought everything back to normal. sorry to bother, but it might help someone else.