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.
This topic contains 9 replies, has 2 voices.
Last updated by izabelA 1 year, 10 months ago.
Assisted by: Shekhar Bhandari.
Author | Posts |
---|---|
June 5, 2023 at 11:00 am #13769753 | |
izabelA |
Performance issues in backend of the site |
June 5, 2023 at 11:31 am #13770087 | |
izabelA |
Hello. In addition to the above, in the debug log we have: [05-Jun-2023 11:15:01 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_original_product_id() on null in /var/www/clients/client1/web2/web/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-custom-prices.php:84 Stack trace: #0 /var/www/clients/client1/web2/web/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php(267): WCML_Custom_Prices->get_product_custom_prices() #1 /var/www/clients/client1/web2/web/wp-content/plugins/woocommerce-multilingual/addons/wpml-dependencies/vendor/wpml/fp/core/Logic.php(123): WCML_Multi_Currency_Prices->{closure}() #2 [internal function]: WPML\FP\Logic::WPML\FP\{closure}() #3 /var/www/clients/client1/web2/web/wp-content/plugins/woocommerce-multilingual/addons/wpml-dependencies/vendor/wpml/fp/core/functions.php(152): call_user_func_array() #4 /var/www/clients/client1/web2/web/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php(287): WPML\FP\{closure}() #5 /var/www/clients/client1/web2/web/wp-includes/cl in /var/www/clients/client1/web2/web/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-custom-prices.php on line 84 |
June 5, 2023 at 11:59 am #13770425 | |
izabelA |
Hello. WE have deactivated all plygins and now can login to the admin panel. The moment we've activated WPML Multilingual CMS and processor usage went up. Please allo us to send you login credentials |
June 5, 2023 at 12:16 pm #13770697 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, I have enabled the private reply for you. Thanks |
June 6, 2023 at 3:10 am #13774903 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, Thank you for the details. On the test site, I see WPML is enabled and working properly, is the CPU running on 100% for the test site too? Or we will need to enable other plugins to see the issue? Look forward to your reply. Thanks |
June 6, 2023 at 3:57 pm #13780521 | |
izabelA |
Hello. After some debugging, what we've found out is that the problem originates from the WPML plugin. However, we are not sure of the exact cause. We've deleted all tables from the database starting with _icl, and uploaded them from an old backup. WE've lost some translations but now all plugins are active and there is not such igh CPU load. Can you check to confirm that everything is OK now? Is there anything else we can do to optimize the performance? When you log in and want to do some tests please deactivate the query monitor as it leads to a high page load time, or disables the admin bar on the frontend. |
June 7, 2023 at 4:52 am #13781955 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, Looks like the username and password are changed now. Can you re-check it? I would also like to let you know that we will be releasing and update soon which includes performance improvements so it can help. Look forward to your reply. Thanks |
June 7, 2023 at 7:36 am #13782647 | |
izabelA |
You can try to log in now. Note: WP-Rocket is building the preload cache now, so the site can be a bit slow. |
June 7, 2023 at 9:59 am #13784099 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, I checked the settings and it looks okay to me, you can follow the steps as mentioned here https://wpml.org/faq/prevent-performance-issues-with-wpml/ if you like, but this is basically for the front-end of the sites. You also mentioned that after deleting the tables you are unable to see the issue, so I would suggest you to keep monitoring and report us back if you see the issue again. Look forward to your reply. Thanks |