Hi
Site: http://www.top10wala.in
Nearly everyday i get this error when I try to access WP Admin area.
“Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 18289149 bytes) in /home/wp_k7msjt/top10wala.in/wp-includes/wp-db.php on line 1092”
I have already increased PHP Memory limit to 512 M. Later I disabled all plugins then only got able to access site. After receiving some update from Hosting provider I tried enabling plugin one by one and found that only after enabling Visual composer I got this error again. I have updated my plugin recently to latest one.
Could you please look into the issue?
Did you also increase the default memory used by WordPress – this *must* be done in your wp-config.php file.
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
Hi top10wala,
Recently we haven’t had any similar reports regarding the Visual Composer plugin so please check the theme system status to see if the php memory limit has been increased as setting it from wp-config may not work if your host does not allow for increasing the PHP memory limit–in that event, contact your host to increase the PHP memory limit.
If this problem persist please address us via email at contact@tagdiv.com and provide your site’s admin and ftp login details so we can have a closer look at this and also include a link to this topic.
Thanks
I also experience the same issue on hostgator shared plan for one of my sites. And hostgator says:
The issue is caused by visual composer because it wants more memory access than it has access to. You can either contact the developer to see if there is anything they can do to assist, but I am not a coder, I can’t provide advice on how to modify that theme to use less memory to work within the 256M limit of our servers. I apologize for the inconvenience this may cause.
Could you please help to fix this issue?
Note: I have been using Newspaper 6 theme.
-
This reply was modified 10 years by
dhvanesh.
Hi dhvanesh,
Please give wp access o we can have closer look into this and make sure you have the latest theme (2.2) and VC plugin available within the theme (4.6.2) installed and write us via email at contact@tagdiv.com and include a link to this tread.
Thanks for the message!