I am getting this error. I have increased the memory limit upto 512M. I have more than 4000 posts with so many data. Website is working fine. But when I am trying to access the custom post type page in admin section to see posts of that custom type this shows the error. I have read this blog also here.

I think the problem is with the php script on edit page template. select * from table where ..... How can I edit this custom post type template page to limit the number of posts in admin section on custom post type. I think this is somewhere in wp-admin folder.

Or there is something else I misunderstood about the infinite loop.

Please suggest me . Increasing the memory limit in config.php is not working for me.

3 Answers
3

The problem was the max memory limit.

I had defined in config.php define(‘WP_MEMORY_LIMIT’, ‘512M’); But this was not working for me. But then I see , I need to define this define( ‘WP_MAX_MEMORY_LIMIT’ , ‘512M’ ); also in config.php. Now custom property type is working for me. Now I can edit this post type.

Tags:

Leave a Reply

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