Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 1 reply, has 2 voices.

Last updated by Eran Helzer 1 year, 4 months ago.

Assisted by: Eran Helzer.

Author Posts
July 16, 2023 at 7:18 pm #14045371

Rob Coers

When Woocommerce is active the frontend works fine in English, but when we switch to French or Dutch, there is a critical error.
All plugins are up to date.
When Woo is deactivated, all pages in all languages load fine.

Here are ten lines of the error log:

[Sun Jul 16 21:07:47.597051 2023] [lsapi:error] [pid 1435633:tid 139855014921984] [remote 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e:52266] [host <em><u>hidden link</u></em>; Backend fatal error: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 163840 bytes) in /home/ycoers/domains/voncoers.com/public_html/new/wp-includes/plugin.php on line 177\n, referer: <em><u>hidden link</u></em>
[Sun Jul 16 21:10:23.447075 2023] [security2:error] [pid 1435633:tid 139855132419840] [remote 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e:52634] [client 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e] ModSecurity: Warning. Pattern match "(?:\\\\.htaccess|\\\\.(pht|phtml|php\\\\d?|txt|md|shtml|xml)$)" at REQUEST_FILENAME. [file "/etc/modsecurity.d/011_i360_1_infectors.conf"] [line "583"] [id "77140992"] [msg "IM360 WAF: Suspicious access attempt (WP folders)!||SC:/home/ycoers/domains/voncoers.com/private_html/new/wp-admin/options-permalink.php||REQUEST_URI:/new/wp-admin/options-permalink.php||T:APACHE||"] [severity "NOTICE"] [tag "wp_core"] [tag "im360_req_post"] [tag "noshow"] [hostname "www.voncoers.com"] [uri "/new/wp-admin/options-permalink.php"] [unique_id "ZLRAn4yDUpQqkfnTWX5GXAAABiU"], referer: <em><u>hidden link</u></em>
[Sun Jul 16 21:10:51.185528 2023] [security2:error] [pid 1435633:tid 139855224739584] [remote 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e:52689] [client 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e] ModSecurity: Warning. Pattern match "(?:\\\\.htaccess|\\\\.(pht|phtml|php\\\\d?|txt|md|shtml|xml)$)" at REQUEST_FILENAME. [file "/etc/modsecurity.d/011_i360_1_infectors.conf"] [line "583"] [id "77140992"] [msg "IM360 WAF: Suspicious access attempt (WP folders)!||SC:/home/ycoers/domains/voncoers.com/private_html/new/wp-admin/options-permalink.php||REQUEST_URI:/new/wp-admin/options-permalink.php||T:APACHE||"] [severity "NOTICE"] [tag "wp_core"] [tag "im360_req_post"] [tag "noshow"] [hostname "www.voncoers.com"] [uri "/new/wp-admin/options-permalink.php"] [unique_id "ZLRAu4yDUpQqkfnTWX5HNwAAGBo"], referer: <em><u>hidden link</u></em>
[Sun Jul 16 21:11:01.657607 2023] [lsapi:error] [pid 1435633:tid 139855107241728] [remote 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e:52718] [host <em><u>hidden link</u></em>; Backend fatal error: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 131072 bytes) in /home/ycoers/domains/voncoers.com/public_html/new/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 939\n, referer: <em><u>hidden link</u></em>
[Sun Jul 16 21:11:09.831218 2023] [security2:error] [pid 1435633:tid 139855040100096] [remote 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e:52755] [client 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e] ModSecurity: Warning. Pattern match "(?:\\\\.htaccess|\\\\.(pht|phtml|php\\\\d?|txt|md|shtml|xml)$)" at REQUEST_FILENAME. [file "/etc/modsecurity.d/011_i360_1_infectors.conf"] [line "583"] [id "77140992"] [msg "IM360 WAF: Suspicious access attempt (WP folders)!||SC:/home/ycoers/domains/voncoers.com/private_html/new/wp-admin/options-permalink.php||REQUEST_URI:/new/wp-admin/options-permalink.php||T:APACHE||"] [severity "NOTICE"] [tag "wp_core"] [tag "im360_req_post"] [tag "noshow"] [hostname "www.voncoers.com"] [uri "/new/wp-admin/options-permalink.php"] [unique_id "ZLRAzYyDUpQqkfnTWX5HdgAACzA"], referer: <em><u>hidden link</u></em>
[Sun Jul 16 21:11:23.926729 2023] [lsapi:error] [pid 1435633:tid 139855174383360] [remote 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e:52771] [host <em><u>hidden link</u></em>; Backend fatal error: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 36864 bytes) in /home/ycoers/domains/voncoers.com/public_html/new/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 2100\n, referer: <em><u>hidden link</u></em>
[Sun Jul 16 21:11:23.928744 2023] [lsapi:error] [pid 1435633:tid 139855174383360] [remote 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e:52771] [host <em><u>hidden link</u></em>; Backend fatal error: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 65536 bytes) in /home/ycoers/domains/voncoers.com/public_html/new/wp-includes/class-wp-hook.php on line 308\n, referer: <em><u>hidden link</u></em>
[Sun Jul 16 21:11:33.912027 2023] [security2:error] [pid 1435633:tid 139855165990656] [remote 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e:52814] [client 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e] ModSecurity: Warning. Pattern match "(?:\\\\.htaccess|\\\\.(pht|phtml|php\\\\d?|txt|md|shtml|xml)$)" at REQUEST_FILENAME. [file "/etc/modsecurity.d/011_i360_1_infectors.conf"] [line "583"] [id "77140992"] [msg "IM360 WAF: Suspicious access attempt (WP folders)!||SC:/home/ycoers/domains/voncoers.com/private_html/new/wp-admin/options-permalink.php||REQUEST_URI:/new/wp-admin/options-permalink.php||T:APACHE||"] [severity "NOTICE"] [tag "wp_core"] [tag "im360_req_post"] [tag "noshow"] [hostname "www.voncoers.com"] [uri "/new/wp-admin/options-permalink.php"] [unique_id "ZLRA5YyDUpQqkfnTWX5H7AAAGyE"], referer: <em><u>hidden link</u></em>
[Sun Jul 16 21:14:40.355092 2023] [lsapi:error] [pid 1435633:tid 139855199561472] [remote 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e:53202] [host <em><u>hidden link</u></em>; Backend fatal error: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 57344 bytes) in /home/ycoers/domains/voncoers.com/public_html/new/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 936\n, referer: <em><u>hidden link</u></em>
[Sun Jul 16 21:14:40.359264 2023] [lsapi:error] [pid 1435633:tid 139855199561472] [remote 2a02:a458:6ca:1:d56c:e0ad:c9ff:395e:53202] [host <em><u>hidden link</u></em>; Backend fatal error: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 163840 bytes) in /home/ycoers/domains/voncoers.com/public_html/new/wp-includes/plugin.php on line 177\n, referer: <em><u>hidden link</u></em>
July 17, 2023 at 8:05 am #14047003

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

From the error message you shared it seems like a memory issue.

Also, from the debug information you supplied I can see that the WordPress memory limit is set to 40MB. You should increase this to at least 128MB, as that is the minimum requirement for using WPML in the best way.
You can see how to do that here:
https://wpml.org/home/minimum-requirements/
https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#how-to-increase-your-sites-memory-limit

Please try increasing the memory limit and seeing if this resolves your issue.

July 17, 2023 at 12:43 pm #14049499

Rob Coers

Thanks for the help. The memory limit did it.