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
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

Unterstützt die Zeitzone: America/Sao_Paulo (GMT-03:00)

Schlagwörter: 

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

Zuletzt aktualisiert von Lucas Vidal de Andrade Vor 2 Monaten, 4 Wochen.

Assistiert von: Lucas Vidal de Andrade.

Verfasser Beiträge
Januar 24, 2025 at 8:18 am #16630556

felixS-42

Hintergrund des Themas:
I am trying to use WPML Multilingual CMS in combination with WPML String Translation, WooCommerce Multilingual & Multicurrency, and WPML Sticky Links. When I do this, the shopping cart, checkout, and processing of products no longer work. One of the logs is [24-Jan-2025 07:26:27 UTC] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, false given in /var/www/neotes-wpml.wp1.site/wp-content/plugins/wpml-sticky-links/classes/custom-fields.php:169. Link to a page where the issue can be seen: versteckter Link

Die Symptome:
The shopping cart, checkout, and product processing do not work when using all WPML plugins together. A PHP Fatal error occurs: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, false given.

Fragen:
Why do errors occur when using all WPML plugins together?

Januar 24, 2025 at 1:45 pm #16631606

Lucas Vidal de Andrade
WPML-Unterstützer seit 11/2023

Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português )

Zeitzone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for sharing the details 🙂 The error is happening with the WPML Sticky Links plugin, based on the error details you shared. This plugin is still maintained by us, but is hardly needed anymore, so it's very likely you won't need it now. More recent WordPress updates are handling the link structure by default, so the plugin is not fully necessary. Please make sure to have a full website backup before proceeding.

Revert changes and delete the plugin
1. Go to WPML > Sticky links;
2. Revert the changes, if there's any;
3. Go to Plugins, deactivate and delete the WPML Sticky Links plugin;

Let me know if that solves the issue for you.

Januar 27, 2025 at 10:44 am #16637115

felixS-42

Unfortunately there are more issues. The normal Wpml cms plugin crashes the cart itself. The console shows fatal errors.

Januar 27, 2025 at 1:07 pm #16637850

Lucas Vidal de Andrade
WPML-Unterstützer seit 11/2023

Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português )

Zeitzone: America/Sao_Paulo (GMT-03:00)

Hey there,

Ok, thank you for sharing. In this case, I need to know exactly how to reproduce the issue, and get access to your website.

1. Tell me, in simple steps, how I can reproduce the issue

I will download a local copy to analyze the issue, so it's necessary that I know how you get the problem.

2. Share access to your website

###

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:

versteckter Link

Januar 27, 2025 at 2:04 pm #16638257

Lucas Vidal de Andrade
WPML-Unterstützer seit 11/2023

Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português )

Zeitzone: America/Sao_Paulo (GMT-03:00)

Hey there,

I checked your website, and you haven't finished the WPML Setup! It's required that WPML is set up, so it works.

Please go to WPML > Setup and follow the steps there.

There was a notice in your website, stating that. WooCommerce Multilingual and Multicurrency, like any other of our plugins, require WPML to work. Please make sure to check our documentation and the notices in your website. That can save you time in the future.

Check our guides:
https://wpml.org/documentation/getting-started-guide/language-setup/

Let me know if your website works as expected after activating WPML, checking your WooCommerce Multilingual and Multicurrency settings and our documentation.

Dashboard _ neotes _ WordPress.jpeg
Januar 27, 2025 at 2:19 pm #16638328

felixS-42

this is only a staging, we have copied it there to demonstrate the issue. i have configured it on the live page, where the issue with the cart or the variations occure.

would you please investigate there? or shall i make a quick configuration on the staging? but you can you make a basic configuration to see for yourself.

Januar 27, 2025 at 2:37 pm #16638412

Lucas Vidal de Andrade
WPML-Unterstützer seit 11/2023

Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português )

Zeitzone: America/Sao_Paulo (GMT-03:00)

Helllo,

Please send me access to a website where you can confirm the issue is happening. In the staging version you sent, the content is not translated and I couldn't reproduce the issue. I visited the checkout and cart pages and got no problems. I need to check the issue directly, to solve it.

Furthermore, I asked previously, for you to explain step-by-step, how I can reproduce the issue, sorry if I wasn't clear. Since I haven't received this information, please record your screen and reproduce the issue, so that I see the issue happening and the steps you took to recreate it. Please use Loom and share the link here.

versteckter Link

This information is vital, so I can check the issue. With the information I have so far, I don't have anything to investigate.

I've enabled the private fields, so you can share access to a website in which you confirmed the issue is happening.

Thank you.

The topic ‘[Geschlossen] Combination of WPML plugins leads to fatal errors’ is closed to new replies.