too many taxonomy category issue

I’ve inserted over 20.000 product taxonomy categories. Nearly first 700 items are being displayed in the backend but when I’m trying to see more pages, it shows either this error:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /wp-admin/includes/class-wp-terms-list-table.php on line 273

Or this:

Maximum execution time of 30 seconds exceeded in class-wp-terms-list-table.php on line 273

The frontend page where I’m showing these all categories is down and not showing at all. But in the homepage I have a slider where I’m showing only first level categories which is nearly 25 and it is being shown in the homepage.

I tried to change this setting in php.ini file:

max_execution_time = 3000 (before it was 30)

But no change. Still same. Is there any setting which I’m missing?

Read more here: too many taxonomy category issue

Leave a Reply

Your email address will not be published. Required fields are marked *