Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to log into your website but encounter a critical error warning. The error messages indicate issues with memory allocation in the WPML plugin files, specifically failures in including necessary files and class implementations.
Solution:
We recommend checking your website again as we have regenerated the assets using the PA Assets plugin, which appears to have resolved the issue. If you're still experiencing problems, it's important to ensure that you have the latest versions of all themes and plugins installed. Additionally, we suggest visiting the WPML known issues page to check for any related known issues and verify the version of the permanent fix.

If the problem persists or the solution provided here becomes outdated or irrelevant to your case, please do not hesitate to open a new support ticket. We highly recommend checking the related known issues and confirming that you have installed the latest versions of themes and plugins. For further assistance, you can contact us directly through the WPML support forum.

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 1 replies, has 2 voices.

Last updated by Mateus Getulio 10 months, 3 weeks ago.

Assisted by: Mateus Getulio.

Author Posts
October 25, 2024 at 12:35 pm

gokhanL

Background of the issue:
I am trying to log in to my website, but I encounter a critical error warning. I have set the memory limit to 3000M via WP config. The issue can be seen at: hidden link

Symptoms:
Notice: include(): Read of 2252 bytes failed with errno=12 Cannot allocate memory in /home/tolkar/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 571. Warning: include(): Failed opening '/home/tolkar/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/../../classes/custom-field-translation/class-wpml-copy-once-custom-field.php' for inclusion in /home/tolkar/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 571. Warning: class_implements(): Class WPML_Copy_Once_Custom_Field does not exist and could not be loaded in /home/tolkar/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-type.php on line 53. Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, bool given in /home/tolkar/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-type.php:72. Fatal error: Uncaught Error: Call to a member function get_requested_lang() on null in /home/tolkar/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:1134.

Questions:

October 25, 2024 at 1:32 pm
October 25, 2024 at 1:34 pm #16330927

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Can you please check it again?

I generated the assets using the PA Assets plugins. It seems to be working again now.

Thank you,