Allowed memory size of 268435456 bytes exhausted (tried to allocate 64 bytes)?

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.

Leave a Comment