Skip to content Skip to sidebar

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

Last updated by Juan de Paco 1 week, 2 days ago.

Author Posts
March 26, 2026 at 2:47 pm #17929621

Vincent Dagenais

I have a project that the wp-content/plugins is in git. When I sync my git on let say my stage site, I do get some fatals error.

How can I put WPML in my git wiothout everything crashing

March 26, 2026 at 2:50 pm #17929639

Vincent Dagenais

Here is one of the fatals error :
PHP Fatal error: Uncaught Error: Class "WPML_Cache_Directory" not found in

The only way i can make my site work now, is to deactivate all my plugins, by database query. Re-install all my plugins, but not wpml related.
Delete all wpml related plugins.
Install again OTS Installer. And Install by OTS, WPML and all the other subplugins.

I have to do this on every environnement we have.

It's a pain.

March 27, 2026 at 9:30 am #17931298

Juan de Paco
Supporter

Hello.

Thanks for reaching out.

As far as I understand, the code for our plugins reaching your site should be of the same kind as the code from any other plugin. There is no reason for it to behave differently than any of your other plugins. No matter if you use OTGS Installer, or you upload a ZIP and unzip it, or if you use the WordPress admin interface to upload the ZIP over there. Your workflow using Git should work the same - counting that WPML might be a bigger plugin than others, and contain more files.

That being said, I think that there is no action that we can take on our side to ease your process. The nature of our plugin is the same as the nature of any other WordPress plugin. So the only thing that I can imagine is a limitation of the number of files that you can move at once, or a timeout cloning or copying changes, or a caching problem. But those are only educated guesses.

Regards.