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.
Related documentation:
This topic contains 6 replies, has 2 voices.
Last updated by integrationN 1 year, 9 months ago.
Assigned support staff: Riffaz.
Author | Posts |
---|---|
April 1, 2019 at 1:43 am | |
integrationN |
Hello there, |
April 1, 2019 at 5:48 am #3503921 | |
Riffaz Supporter Languages: English (English ) Timezone: Asia/Colombo (GMT+05:30) |
Hi, Thank you for contacting WPML support. Please enable the WP Debug mode and let me know the errors you are getting when you enable the WPML. Debugging Regards, |
April 1, 2019 at 11:10 am #3506767 | |
integrationN |
Hello, I followed the instructions but debug.log file created. I am sending you the last errors in error_log which displayed in blank page too. Notice: Constant WP_MEMORY_LIMIT already defined in /home/projectyou/public_html/wp-config.php on line 92 Notice: Constant WP_MAX_MEMORY_LIMIT already defined in /home/projectyou/public_html/wp-config.php on line 93 Notice: Constant WP_DEBUG_LOG already defined in /home/projectyou/public_html/wp-config.php on line 95 Notice: Constant WP_DEBUG_DISPLAY already defined in /home/projectyou/public_html/wp-config.php on line 96 Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/projectyou/public_html/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/class-wpml-st-db-translation-retrieve.php on line 181 Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 552960 bytes) in /home/projectyou/public_html/wp-includes/wp-db.php on line 2007 I tried to low down memory limit from 256M to 128M and some error differ: Notice: Constant WP_MEMORY_LIMIT already defined in /home/projectyou/public_html/wp-config.php on line 92 Notice: Constant WP_MAX_MEMORY_LIMIT already defined in /home/projectyou/public_html/wp-config.php on line 93 Notice: Constant WP_DEBUG_LOG already defined in /home/projectyou/public_html/wp-config.php on line 95 Notice: Constant WP_DEBUG_DISPLAY already defined in /home/projectyou/public_html/wp-config.php on line 96 Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/projectyou/public_html/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/class-wpml-st-db-translation-retrieve.php on line 181 Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 73728 bytes) in /home/projectyou/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444 Thank you very much for your time! |
April 1, 2019 at 2:21 pm #3508973 | |
Riffaz Supporter Languages: English (English ) Timezone: Asia/Colombo (GMT+05:30) |
Hi, The error means that you have defined WP_MEMORY_LIMIT twice in your .htaccess Let me know how it goes. Regards, |
April 1, 2019 at 4:38 pm #3510155 | |
integrationN |
Hello, Thank you for your answer. Meanwhile the site was transferred to a new domain, htaccess is checked and memory tags were removed from wp-config. I activated all 3 plugins, that I referred to in previous message, front-end works but backend is still a blank page with these errors: Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/pr0ject/[user]/wp-admin/includes/media.php on line 3038 Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 262144 bytes) in /home/[user]/public_html/wp-includes/wp-db.php on line 1972 I can see that there is no WPML plugins' path in errors but they appear only when WPML is activated. New domain is same as before but with tld .gr Thank you for your time! |
April 2, 2019 at 1:19 pm #3517519 | |
Riffaz Supporter Languages: English (English ) Timezone: Asia/Colombo (GMT+05:30) |
Hi, Thank you for the details. The new error means that your WP Memory is enough to run WPML plugin and your site strings/contents. Regards, |
April 3, 2019 at 1:12 pm #3526431 | |
integrationN |
My issue is resolved now. It was a memory issue! Thank you very much for your time! |