Home › Forums › WoodMart support forum › PHP Fatal error: Allowed memory size / PHP Function “file_get_content”
PHP Fatal error: Allowed memory size / PHP Function “file_get_content”
- This topic has 7 replies, 2 voices, and was last updated 3 days, 19 hours ago by Luke Nielsen.
-
AuthorPosts
-
November 9, 2024 at 5:02 pm #611059
av_admin_1984ParticipantHello
I got this error:[09-Nov-2024 05:31:50 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 36864 bytes) in /home/main/public_html/wp-content/themes/woodmart/inc/admin/modules/options/class-options.php on line 160
Also should I enable
PHP Function "file_get_content":
?Please see attachment
Attachments:
You must be logged in to view attached files.November 11, 2024 at 10:51 am #611186
Luke NielsenKeymasterHello,
Instead of -1 set the 256MB memory limit, additionally, you can enable the file get content. Then clear the server/site cache and recheck the issue.
Kind Regards
November 29, 2024 at 7:03 pm #617822
av_admin_1984ParticipantHi
I did but still got error:
[27-Nov-2024 05:31:23 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10485760 bytes) in /home/mainproject/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/AdditionalPayments.php on line 134
Check the image please
Attachments:
You must be logged in to view attached files.November 30, 2024 at 5:54 pm #618022
av_admin_1984ParticipantToday error
[30-Nov-2024 05:31:21 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/mainproject/public_html/wp-content/themes/woodmart/inc/admin/modules/options/controls/typography/google-fonts.php on line 8 [30-Nov-2024 05:31:21 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/mainproject/public_html/wp-includes/class-wp-fatal-error-handler.php on line 76 [30-Nov-2024 05:31:28 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10485760 bytes) in /home/mainproject/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/ReviewShippingOptions.php on line 17
Is it related to php 7.4 we are using?
November 30, 2024 at 6:11 pm #618025
av_admin_1984Participant[30-Nov-2024 14:52:06 UTC] PHP Fatal error: require_once(): Failed opening required '/home/mainproject/public_html/wp-content/themes/woodmart/inc/theme-setup.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/mainproject/public_html/wp-content/themes/woodmart/inc/classes/class-theme.php on line 188
December 2, 2024 at 12:01 pm #618358
Luke NielsenKeymasterHi,
Could you please check this issue with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Kind Regards
December 2, 2024 at 6:52 pm #618672
av_admin_1984ParticipantHi
I’m afraid, not. It is live site and I just only chance to change php version and need time to do that
I will be InTouch with you over emailThanks
December 3, 2024 at 12:20 pm #618866
Luke NielsenKeymasterHello,
I will wait for your response.
Thank you for your time and have a good day!
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register