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.
Tagged: Exception
This topic contains 17 replies, has 2 voices.
Last updated by Nigel 1 year, 6 months ago.
Assisted by: Nigel.
Author | Posts |
---|---|
May 11, 2023 at 1:33 am #13626789 | |
franciscoL-17 |
Support (Cloudways Ticketing System) May 10, 2023, 9:42 AM GMT+5 Hello, I have added rules for object cache pro to Ignore the particular translation group in (wp-config.php) file. define ( 'WP_REDIS_IGNORED_GROUPS','WPML_TM_ICL_Translations' ); I am not able to access your site at present as it seems WAF has blocked my IP. Please check if that resolves the issue for you. Once we got the exact Group ID, we will add the rules in (wp-config.php) for you so that that will be ignored from Object Cache Pro. Also, I have seen Both WPML and Object Cache Pro has released updates recently, Please confirm if you have updated them. We will wait for your response on this to take the actions further. Regards, |
May 12, 2023 at 9:56 am #13635915 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
Hi there It is hard to say what group you might want to add in the way described without knowing what issue you are trying to fix. Do you have some more information about why you are doing this? What problem are your trying to resolve? |
May 12, 2023 at 12:32 pm #13637369 | |
franciscoL-17 |
hidden link |
May 12, 2023 at 4:15 pm #13638663 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
Thanks for that. I read through the other thread with Nicolas. It would help if I could go through the same myself on your site to see the problem (when caching is enabled), and to try and locate the Group that the object cache plugin team discussed I may need to install some debugging tools. Would that be okay? I'll need to ask you for the site credentials again (for your security they were automatically deleted from the other thread when you marked it as resolved). So I'll set a private reply for you now. |
May 15, 2023 at 11:05 am #13647163 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
Thanks for that. I've confirmed that temporarily disabling the object cache resolves the problem, so the challenge is finding the group to ignore, as per the feedback you had from the caching product support. I've asked my colleagues for help with that, and I'll report back when I have some feedback. |
May 15, 2023 at 12:39 pm #13647981 | |
franciscoL-17 |
So the Ticket will still open until you guys find the issue? |
May 15, 2023 at 1:23 pm #13648375 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
Yes, we won't close the ticket, I will come back to you with a solution (or request for more information if needed). |
May 17, 2023 at 8:21 am #13662025 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
My colleague has asked for a copy of the site for debugging locally, is it okay if I take a copy of the site? (Note, your site seems to be down at the moment, I cannot access it.) |
May 17, 2023 at 11:00 am #13663435 | |
franciscoL-17 |
Go ahead !! sorry i turn on the waf, that is the main reason. |
May 17, 2023 at 11:10 am #13663509 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
OK, I've done that, thank you. I'll be back in touch when I get feedback from my colleagues. |
May 17, 2023 at 11:12 am #13663521 | |
franciscoL-17 |
Do you already copy the website to turn on the waf? |
May 17, 2023 at 11:45 am #13663779 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
Yes, yes, I have taken a copy of the site and shared it with my colleagues. |
May 31, 2023 at 12:36 pm #13747629 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
Hi Gyanaranjan I'm pleased to report that I have feedback with a proposed solution from my colleague. It seems that the advice you received from the caching plugin support doesn't apply to the Pro version of the object cache plugin you are using. That uses a different method to exclude groups: hidden link So in your wp-config.php you would use something like this: define('WP_REDIS_CONFIG', [ 'non_persistent_groups' => [ 'counts', 'plugins', 'themes', 'bp_pages' ], ]); Could you please try that and let us know the results? If you can confirm we can add it to the existing erratum. |
May 31, 2023 at 1:59 pm #13747987 | |
franciscoL-17 |
[Wed May 31 13:54:36.160159 2023] [proxy_fcgi:error] [pid 2266:tid 140322554148608] [client 190.34.225.68:0] AH01071: Got error 'PHP message: PHP Warning: Constant WP_REDIS_CONFIG already defined in /home/655340.cloudwaysapps.com/cpvbgcbvgz/public_html/wp-config.php on line 91', referer: hidden link hidden link |
May 31, 2023 at 3:15 pm #13748573 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
It looks like you added this in addition to what you had added previously, rather than replacing it. You can only define the WP_REDIS_CONFIG constant once. |