• Resolved adowdalls

    (@adowdalls)


    I see this error in my error logs: [Fri Nov 08 09:31:08.506763 2024] [error] [pid 1311214] mod_proxy_fcgi.c(911): [client 213.133.103.183:0] AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “nl” in /data/sites/web/axvecocom/www/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-cart-switch-lang-functions.php on line 91; PHP message: PHP Warning: Trying to access array offset on null in /data/sites/web/axvecocom/www/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-cart-switch-lang-functions.php on line 91’

    in the woo status logs I also see:

    2024-11-08T09:06:58+00:00Critical Uncaught Error: Call to a member function get() on null in /data/sites/web/axvecocom/www/wp-content/plugins/woocommerce/includes/wc-notice-functions.php:240 Additional context2024-11-08T09:06:59+00:00Critical Uncaught Error: Call to a member function get() on null in /data/sites/web/axvecocom/www/wp-content/plugins/woocommerce/includes/wc-notice-functions.php:240 Additional context2024-11-08T18:44:49+00:00Critical Uncaught Error: Call to undefined function get_field() in /data/sites/web/axvecocom/www/wp-content/themes/enfold-child/page-events-overview.php:68 Additional context

    and I notice that the translation update seems to be stuck in an infinite loop – my updates page lists “New translations available” and then I update and the flag showing updates is removed but when I leave that update complete page I see a new update required with the same translation – its like the translation update is not being registered

    I am using woo commerce and Mollie payments and the update lists Mollie Payments for Woo translation as the one to be updated

    How do I end this infinite loop and resolve the errors in the logs?

    Alex

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Alex @adowdalls,

    Thank you for reaching out.

    I understand that you’re experiencing issues with an infinite loop in the translation update and seeing errors in your logs. I’m here to help.

    The error you’re seeing in your logs is related to the WooCommerce Multilingual plugin and a specific array key “nl” that is undefined. It also seems like there’s an issue with a null object in the wc-notice-functions.php file.

    To troubleshoot this further, I suggest you first try to deactivate and reactivate the Mollie Payments for WooCommerce plugin. This can often reset the plugin and resolve any pending updates.

    As for the PHP errors, they seem to be related to the WooCommerce Multilingual plugin. Here’s what you can do to test the issue further:

    1. Ensure that all your plugins, themes, and WordPress itself are updated to the latest versions.
    2. Temporarily switch to a default theme like Twenty Twenty-Four or Storefront and deactivate all plugins except WooCommerce and WooCommerce Multilingual to see if the issue persists. If the errors disappear, reactivate your theme and plugins one by one until you find the one causing the conflict. You can find more details on how to run a conflict test here.

    Please remember to back up your site before making any changes.

    Let me know how it goes.

    Thread Starter adowdalls

    (@adowdalls)

    I received an update from WPML to update to the newer versions of their plugins WPML Multilingual CMS 4.6.14 and String Translation 3.2.15 in advance of the release of WordPress 6.7. These three updates were performed at midnight last night automatically and seem to have updated successfully

    I tried the “Update Translations” again and now it gave a different error “Download Failed – Bad Gateway”

    So I am still in the unending loop but now with this error – how do I resolve this?

    Thanks for your help

    Thread Starter adowdalls

    (@adowdalls)

    This is what I observe in the error log at this moment (after updating to latest versions)

    [Wed Nov 13 10:16:19.036388 2024] [error] [pid 980754] mod_proxy_fcgi.c(911): [client 66.249.66.194:0] AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “nl” in /data/sites/web/axvecocom/www/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-cart-switch-lang-functions.php on line 91; PHP message: PHP Warning: Trying to access array offset on null in /data/sites/web/axvecocom/www/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-cart-switch-lang-functions.php on line 91’

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hello!

    I understand your concern. Please note that we only provide support for issues related to core WordPress.com features.

    It seems that the error message you shared is specifically related to the multilingual plugin. I’d recommend reaching out to the plugin’s support team and opening a ticket with them, as they’ll be best equipped to help resolve this.

    Once they’ve provided guidance, feel free to share their suggestions here so others facing a similar issue can benefit from this thread as well. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.