- This topic has 11 replies, 4 voices, and was last updated 3 years, 1 month ago by Tom.
March 31, 2018 at 10:53 am #537296Ravi Dixit
I have just installed the GP premium theme on my WordPress website but when I try to customize the theme, I see “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2429177 bytes) in /home/staymeon/public_html/wp-includes/nav-menu.php on line 784” error. Can you please guide me to solve this…GeneratePress 2.0.2March 31, 2018 at 1:40 pm #537381LeoStaffCustomer Support
This should help: https://docs.generatepress.com/article/increasing-php-memory-limit/
Let me know.April 1, 2018 at 6:43 am #537742Ravi Dixit
I have added the code which mentioned on the page you give the link of, after doing so. This error started showing
Fatal error: Call to undefined function nocache_headers() in /home/staymeon/public_html/wp-admin/admin.php on line 33
I have installed GP on my subdomain of this website and it installed and activated very easily without any error, so why it is showing in the domain.
I have also asked the host to increase the memory size they said they have some limitation for the shared hosting users.
I have also deactivated all plugin then activate them one by one to find is any of them creating problem.
Please help me to solve asapApril 1, 2018 at 6:54 am #537751Ravi Dixit
also showing this Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2890176 bytes) in /home/staymeon/public_html/wp-includes/nav-menu.php on line 784April 1, 2018 at 8:39 am #537854TomLead DeveloperLead Developer
nocache_headers()is a core WordPress function: https://codex.wordpress.org/Function_Reference/nocache_headers
If it doesn’t exist, it likely means your WordPress install is incomplete. I would re-upload all of the WordPress files to your server again.
Not sure what’s taking up so much memory on your install. It could be a plugin, or it could be the fact your WP install is incomplete.April 1, 2018 at 6:19 pm #538200Ravi Dixit
Showing the last error again
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2861210 bytes) in /home/staymeon/public_html/wp-includes/nav-menu.php on line 784 what should i do?April 1, 2018 at 6:23 pm #538201Ravi Dixit
Please help me solve this issue because I did many things to slove it any one them didn’t work.April 1, 2018 at 9:08 pm #538238TomLead DeveloperLead Developer
I’m afraid it’s really hard to fix from that error alone. It’s simply saying you’re running out of memory.
You need to find which plugin is causing it. If you don’t have access to your Dashboard at all, you can re-name the plugin folders in
wp-content/pluginsone by one. That will deactivate them, and you’ll be able to find the problem plugin.
Otherwise, you’ll need to consult with your host to find the issue. Your
error_logfile might have more details on the specific error.April 1, 2018 at 9:30 pm #538250Ravi Dixit
Yes, This is because of the plugin, I already did the same you mentioned above. I have deactivated the plugin and activated them one by one and found there were more than 6-7 plugins which are creating the problem. If I deactivate them then GP is working fine, but all are the important plugins. I want to know that shared hosting allows increasing the PHP memory limit? Becuase My host is not allowing…April 1, 2018 at 9:34 pm #538252TomLead DeveloperLead Developer
Who’s your host? Siteground is a popular choice.
Your error_log file might have more details on the actual error and which plugin is causing it.April 1, 2018 at 9:35 pm #538253Ravi Dixit
Easy Affiliate Links
Easy Digital Downloads
Feature a Page Widget
Glue for Yoast SEO & AMP
PB SEO Friendly Images
W3 Total Cache
WordPress Popular Posts
Worth The Read
WP Broken Link Status Checker
These are the plugins, I am using Microhost.in.April 2, 2018 at 9:13 am #538794TomLead DeveloperLead Developer
Might be worth trying on a host like Siteground. If it doesn’t work, they should be more willing to help you figure out what’s going on.
- You must be logged in to reply to this topic.