Navigation überspringen

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Unterstützt die Zeitzone: Europe/Zagreb (GMT+01:00)

Schlagwörter: 

Dieses Thema enthält 40 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Bruno Kos Vor 1 Jahr, 4 Monaten.

Assistiert von: Bruno Kos.

Verfasser Beiträge
August 31, 2023 unter 7:17 am #14317647

danielE-41

I haven't increased the Memory Limit, it stayed the same and the performance is still the same.
Also our Homepage is not loaded the right way, with the OLD WPML we used to have another Homepage - how can we restore it?

My bad, we aren't using any Caching Plugin

August 31, 2023 unter 9:06 am #14318419

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

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

Memory limit was increased as far as I see, because debug information showed WP Memory Limit 40M and it is 1024M.

Can you try caching, something we always recommend? There are various solutions, you can try with any of the:
https://wpml.org/documentation/support/using-wpml-with-redis-caching/#enabling-redis-on-your-site
https://wpml.org/documentation/plugins-compatibility/optimize-multilingual-website-performance-using-w3-total-cache/
https://wpml.org/documentation/plugins-compatibility/optimize-wpml-powered-site-performance-using-wp-rocket/

speicherlimit.jpg
August 31, 2023 unter 12:41 pm #14320617

danielE-41

Again, we haven't increased it and it didn't change anything. The website went down several times the last hour and as well, Caching won't help anything here.

I need a fix for this.

Dartera-Screenshot 20230831 at 12.41.00.png
August 31, 2023 unter 12:47 pm #14320671

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

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

Please send me full server debug logs for all these 3 events, not just screenshots with email that the site was down.

August 31, 2023 unter 1:05 pm #14320819

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

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

Ok, for the "WordPress database error MySQL server has gone away", in one of the cases we had it was caused because this option was active. I deactivated it and the site seems to load faster for me.

Can you check? It is on versteckter Link

this was active.jpg
August 31, 2023 unter 1:09 pm #14320849

danielE-41

It seems to be better actually. When have you deactivated this?
I would like to check if it was before or after our website went down.

August 31, 2023 unter 1:13 pm #14320931

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

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

I deactivated it just now, right after you sent me logs as we had some cases where server hit "WordPress database error MySQL server has gone away" and this helped in one of such cases.

Each case is different though, but this one was a very recent case (https://wpml.org/forums/topic/performance-issues-6/#post-14300661) where deactivating this also helped.

August 31, 2023 unter 1:15 pm #14320937

danielE-41

That's great! Let me double-check with our customer and keep an eye on it to see if this fixed the issue or not.

I'll watch to see if the server goes offline again or not.

Thanks! I will keep you posted.

August 31, 2023 unter 1:20 pm #14321009

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

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

Sounds like a plan.

August 31, 2023 unter 2:42 pm #14321759

danielE-41

The website is now down again

Dartera-Screenshot 20230831 at 14.43.18.png
Dartera-Screenshot 20230831 at 14.42.10.png
August 31, 2023 unter 3:14 pm #14322175

danielE-41

Still offline, it seems to penetrate our memory as well

Dartera-Screenshot 20230831 at 15.20.06.png
September 1, 2023 unter 5:58 am #14324257

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

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

Can you send me error logs of that event only?

Furthermore, in order to debug this issue, I will install Duplicator plugin, will create packages and escalate further to 2nd tier.

I will exclude all the media files, etc, to keep the package minimal.

https://wpml.org/faq/provide-supporters-copy-site/

Let me know if this is OK with you.

September 1, 2023 unter 8:52 am #14325227

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

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

I am trying to create a Duplicator package, but it stopped at 65%. I also changed some settings in it, but still waiting.

versteckter Link

I will get back to you in the case it fails again.

September 4, 2023 unter 9:36 am #14334977

danielE-41

Any updates on this matter?
And can we make this ticket not public since we shared a lot of logs as well.

September 4, 2023 unter 11:11 am #14336065

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

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

Given the error log from above - it seems that there might be an issue with SQL server not responding to requests (the rows: #10 /home/dartera/bck.one/wp-includes/functions.php(5388): wp_die()
#11 /home/dartera/bck.one/wp-includes/class-wpdb.php(2277): dead_db())

In our opinion, this should be investigated by the hosting, there should be server logs with the same timestamp why this is happening.

Perhaps a temporary workaround would be to add a case to check if the result is null and return. To do that, replace : \SitePress::get_current_language in wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php with:

	function get_current_language() {
		/**
		 * @var WPML_Request             $wpml_request_handler
		 * @var WPML_Language_Resolution $wpml_language_resolution
		 */
		global $wpml_request_handler, $wpml_language_resolution;

		if ( ! $this->this_lang ) {
			if ($wpml_request_handler !== null) {
				$this->set_this_lang( $wpml_request_handler->get_requested_lang() );
			}
            return;
		}
		if ( ! $this->this_lang ) {
			if ($wpml_request_handler !== null) {
				$this->set_this_lang( $this->get_default_language() );
			}
            return;
		}

		return $wpml_language_resolution->current_lang_filter( $this->this_lang, $wpml_request_handler );
	}

Can you try the above?

Also, I marked replies with logs as private.

Das Thema '[Geschlossen] Website goes Down when activating WPML' ist für neue Antworten geschlossen.