- This topic has 11 replies, 4 voices, and was last updated 6 years ago by Tom.
-
AuthorPosts
-
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…
March 31, 2018 at 1:40 pm #537381LeoStaffCustomer SupportHi there,
This should help: https://docs.generatepress.com/article/increasing-php-memory-limit/
Let me know.
April 1, 2018 at 6:43 am #537742Ravi DixitI 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 Dixitalso 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 784
April 1, 2018 at 8:39 am #537854TomLead DeveloperLead Developernocache_headers()
is a core WordPress function: https://codex.wordpress.org/Function_Reference/nocache_headersIf 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 DixitShowing 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 DixitPlease 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 DeveloperI’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/plugins
one 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_log
file might have more details on the specific error.April 1, 2018 at 9:30 pm #538250Ravi DixitYes, 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 DeveloperWho’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 DixitBackWPup
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
WP-Sweep
Yoast SEOThese are the plugins, I am using Microhost.in.
April 2, 2018 at 9:13 am #538794TomLead DeveloperLead DeveloperMight 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.
-
AuthorPosts
- You must be logged in to reply to this topic.