Find us on Facebook

LightBlog
Responsive Ads Here

Thứ Bảy, 24 tháng 2, 2018

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate

Question:
Hi,
I activated a template and installed all the required plugin available there. I checked after installing the js_composer(visual composer plugin). I am getting the Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 1280 bytes) in /home/manimozhian/public_html/wp-content/plugins/js_composer/include/classes/settings/class-vc-license.php on line 155
As it is a required plugin I need that plugin to work.
PLz anyone help..
Thanks in advance.
Smita 🙂
Answer:

To solve this problem you have to increase memory limit
First you need to edit the wp-config.php file on your WordPress site. It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.
Next, you need to paste the following code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’
define( 'WP_MEMORY_LIMIT', '256M' );

Không có nhận xét nào:

Đăng nhận xét