Background of the issue:
I am experiencing issues with my site קישור נסתר, which keeps crashing. I have been working with my hosting company to diagnose the problem. They identified that the WPML plugin, specifically 'sitepress-multilingual-cms', is interacting with our server's object caching in a way that causes the site to crash. The hosting company cleared the object cache manually, but the issue persisted until the plugin was deactivated. The error log provided by the hosting company shows a PHP Fatal error related to RedisException. The hosting company suggests contacting the plugin developers for a solution.
This is the detail from the hosting company:
Thanks for the heads up I managed to catch that as it was happening. For the moment should be fixed though it may happen again in the future. The cause is a bit of a mix but the primary culprit looks to be a plugin on your site called "sitepress-multilingual-cms", namely how it's interacting with our server object caching. I did manually clear the object cache on the server and it didn't fix the issue so I do think it's more to do with the plugin here, as soon as the plugin is deactivated the site came back up pretty much instantly. I did turn the plugin back one and it seems to still be ok though it sounds like a process the plugin is doing isn't liking object caching, I would advise contacting the plugin developer with the below error and see if they have any ideas. We can try turning off the object cache however I wouldn't recommend it as it will slow the website down.
Whilst the error is coming from that object cache file which is what we put on there you can see from the stack trace it's happening when sitepress is interacting with it. Whilst it's a custom PHP script it just hooks wordpress calls into Redis which is a pretty common object cache software so it in theory should be fine but it can depend on what database calls the plugin is doing hence the suggestion of contacting the plugin developers as they will be much more familiar with it and may know a fix.
Symptoms:
PHP Fatal error: Uncaught RedisException: read error on connection to 127.0.0.1:6379
Questions:
What can be done to prevent WPML from causing the site to crash?
Is there a known issue with WPML and object caching using Redis?
How can I configure WPML to work with my server's object caching?
הנושא "[סגור] WPML keeps causing our site to crash" סגור לתגובות חדשות.