Skip Navigation

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: 

This topic contains 4 replies, has 3 voices.

Last updated by Mike 1 year, 6 months ago.

Assisted by: Andrey.

Author Posts
July 29, 2023 at 2:59 pm #14121545

Mike

I pushed my site from dev to staging, and now every morning around 10-10:30AM ET, WPML resets and needs to be reconfigured. I get the message "You need to configure WPML before you start translating" like it's never been set up before. I proceed to restore the site from a backup and everything works correctly, until 10 the next morning when everything resets again. The site has many, many items set up in WPML, so I can't reconfigure or set it up again, which is why I need to restore from a backup. But I can't keep doing this every morning, so was hoping you could take a look and fix it for me so it doesn't reset. The site is hidden link, and it does the same thing on the staging site as well.

Copying/pasting the debug info after I restored it, but I haven't restored staging and can provide that info if needed.

July 31, 2023 at 8:03 am #14124637

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

as it happens at a specific time, it is probably related to your hosting clearing up some database.

We have a similar issue with WPEngine, where they clear the WPML settings key, as it is too large for its limitations.

Please check the next ticket, and if similar contact your hosting support to disable the auto-delete of these larger tables.

- https://wpml.org/forums/topic/wp-engine-clears-wpml-settings/#post-9617177

Let us know how it goes, please.

Regards,
Drazen

July 31, 2023 at 3:38 pm #14128635

Mike

Thanks Dražen! I do use WP Engine, and the size of the wp_options table was over their limit. I disabled the autoload for the icl_sitepress_settings like this:

UPDATE wp_options SET autoload='no' WHERE option_name='icl_sitepress_settings';

Once that was in place, 10:30 has passed and from what I see, the site/plug-in is still functioning correctly. So it looks as if everything is working as it should now.

That said, I read a couple of other posts here, and it says not to disable the autoload function. The site seems to be perfect now, and it actually appears to be faster as well. Just curious why the autoload shouldn't be disabled, and what could happen if it is?

July 31, 2023 at 5:56 pm #14129025

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for your feedback.

Our developers are already working on a solution to not autoload everything. For the icl_sitepress_settings option, I think it is OK to keep it not be autoloaded.

It should be handled in near future versions.

July 31, 2023 at 7:04 pm #14129259

Mike

Sounds great, will leave it as is. 🙂 Thank you both so much for your help, truly appreciated!!