I have made wordpress pages on divi builder on m localhost and they were working fine without any problem but when i installed divi on my online website its giving me the error Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes)
I tried changing the define( 'WP_MEMORY_LIMIT', '40M' ); in both my wp-config and default-constants.php file but its still giving the same error!
This error appears when ever I open my homepage. I searched online for man solutions but still cant find a solution :(
WP_MEMORY_LIMIT
isn't going to help if a limit is set by your hosting. Contact your host and ask them to increase your memory limit.