• WordPress верс?я: 6.6.2
    Верс?я PHP: 7.4.33
    Верс?я WooCommerce: 9.3.3
    Morkva Plata by Mono Extended: 1.0.3

    Отриму?мо в лог багато таких помилок з позначкою критично:

    Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\Utilities\OrderUtil::remove_status_prefix() must be of the type string, array given, called in /www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php on line 629 and defined in /wp-content/plugins/woocommerce/src/Utilities/OrderUtil.php:239
    Додатковий контекст
    {
    “error”: {
    “type”: 1,
    “file”: “/wp-content/plugins/woocommerce/src/Utilities/OrderUtil.php”,
    “line”: 239
    },
    “backtrace”: [
    “”,
    “#0 /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(629): Automattic\WooCommerce\Utilities\OrderUtil::remove_status_prefix(Array)”,
    “#1 /wp-content/plugins/woocommerce/includes/class-wc-order.php(286): WC_Abstract_Order->set_status(Array)”,
    “#2 /wp-content/plugins/woocommerce/includes/class-wc-order.php(364): WC_Order->set_status(Array, ”, false)”,
    “#3 /wp-content/plugins/mrkv-monobank-extended/includes/class-wc-morkva-mono-gate”
    ]
    }

    Функц?я remove_status_prefix оч?ку? рядок, а отриму? масив set_status(Array) d class-wc-morkva-mono-gate. П?дкаж?ть, будь ласка, як це виправити?

    • This topic was modified 2 weeks, 1 day ago by limest.
  • You must be logged in to reply to this topic.