[Geschlossen] Combination of WPML plugins leads to fatal errors
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)
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?
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;
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:
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.
Let me know if your website works as expected after activating WPML, checking your WooCommerce Multilingual and Multicurrency settings and our documentation.
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.
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.
Cookie-Zustimmung verwalten
Wir verwenden Cookies, um unsere Website und Dienste zu optimieren. Ihre Zustimmung erlaubt es uns, Daten wie das Durchsuchen der Website zu verarbeiten. Wenn Sie nicht zustimmen, können einige Funktionen beeinträchtigt werden.
Funktionell
Immer aktiv
Erforderlich für den Betrieb und die korrekte Kommunikation auf unserer Website.
Präferenzen
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistiken
Wir verwenden diese, um die Statistiken unserer Website zu analysieren. Die gesammelten Informationen sind völlig anonym. Der technische Speicher oder Zugriff, der ausschließlich zu anonymen statistischen Zwecken verwendet wird. Ohne eine Vorladung, die freiwillige Einhaltung durch Ihren Internetdienstanbieter oder zusätzliche Aufzeichnungen von Dritten können die zu diesem Zweck gespeicherten oder abgerufenen Informationen in der Regel nicht dazu verwendet werden, Sie zu identifizieren.
Marketing
Diese Cookies verfolgen Ihr Surfverhalten, um für Sie relevante Werbung anzuzeigen.