Background of the issue:
I am experiencing problems with PHP memory because of the WPML Multilingual CMS and WooCommerce Multilingual & Multicurrency plugins. The site in question is hidden link. The issue caused my site to crash, and I had to deactivate these plugins to get the site back up. Attached is the log that the server guys showed me: [Sat Jun 01 13:12:20.791282 2024] [fcgid:warn] [pid 199201:tid 139834194650880] [client 152.201.72.123:64380] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 629145600 bytes exhausted (tried to allocate 1032192 bytes) in /home/dh_zqjfzu/store.nomonday.mx/wp-includes/class-wpdb.php on line 2320 [Sat Jun 01 13:12:25.692829 2024] [fcgid:warn] [pid 199201:tid 139846050518784] [client 177.244.16.150:31277] mod_fcgid: stderr: PHP Warning: Undefined array key "number-of-fishing-hours" in /home/dh_zqjfzu/store.nomonday.mx/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-attributes.php on line 531, referer: hidden link Deprecated: Creation of dynamic property YITH_YWRAC_Send_Email_Recovered_Cart::$reply_to is deprecated in /home/dh_zqjfzu/store.nomonday.mx/wp-content/plugins/yith-woocommerce-recover-abandoned-cart-premium/includes/emails/class.yith-wc-abandoned-cart-email-recovered-cart.php on line 36 Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/dh_zqjfzu/store.nomonday.mx/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/class-wpml-ate-proxy.php on line 128. Sent you the credentials.
Symptoms:
PHP Fatal error: Allowed memory size of 629145600 bytes exhausted (tried to allocate 1032192 bytes) in /home/dh_zqjfzu/store.nomonday.mx/wp-includes/class-wpdb.php on line 2320. PHP Warning: Undefined array key "number-of-fishing-hours" in /home/dh_zqjfzu/store.nomonday.mx/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-attributes.php on line 531. Deprecated: Creation of dynamic property YITH_YWRAC_Send_Email_Recovered_Cart::$reply_to is deprecated in /home/dh_zqjfzu/store.nomonday.mx/wp-content/plugins/yith-woocommerce-recover-abandoned-cart-premium/includes/emails/class.yith-wc-abandoned-cart-email-recovered-cart.php on line 36. Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/dh_zqjfzu/store.nomonday.mx/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/class-wpml-ate-proxy.php on line 128.
Questions:
How can I make WPML Multilingual CMS and WooCommerce Multilingual & Multicurrency plugins not need so much PHP memory?