The WPML Plugin causes a fatal error on my website. I just ask for support at my hosting company and they have deactivate the plugin that causes the fatal error.
When i do activate the plugin, the site get a fatal error again. Please help
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hi there,
Thank you for providing the FTP credentials.
Upon further inspection, we suspect this issue is actually not related to WPML. If we open the debug.log file inside the wp-content folder, we will find these errors:
[09-Nov-2023 17:07:19 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) in /var/www/vhosts/skyroofslider.com/httpdocs/wp-admin/includes/ajax-actions.php on line 4277
[09-Nov-2023 17:07:19 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/vhosts/skyroofslider.com/httpdocs/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php on line 158
By observing them, we can conclude that:
- one of the errors is coming from WooCommerce - which, by the way, when it is disabled, the problem does not occur
- the errors are related to lack of resources at the server-side, meaning that your site requires more memory than the default allocated memory provided by your hosting
To solve this, you will need to contact your web hosting provider and ask them to increase the PHP memory limit and also the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details, or contact your system admin/hosting provider for this purpose: hidden link
I have already tried to increase the memory limit, but it seems to not be working.
Having said that, may I kindly ask you to try to address this issue with the hosting provider once more?
Please let us know about your results. Thank you.
The topic ‘[Closed] The WPML Plugin causes a fatal error on my website’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.