• Hello,

    We got fatal-errors-2024-06-13:

    2024-06-13T01:31:04+00:00 Critical Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce-alidropship/admin/api.php:288  
    Additional context
    {
    "error": {
    "type": 1,
    "file": "\/var\/www\/mysite.com\/htdocs\/wp-content\/plugins\/woocommerce-alidropship\/admin\/api.php",
    "line": 288
    },
    "backtrace": [
    "",
    "#0 \/var\/www\/mysite.com\/htdocs\/wp-content\/plugins\/woocommerce-alidropship\/admin\/api.php(288): json_decode()",
    "#1 \/var\/www\/mysite.com\/htdocs\/wp-content\/plugins\/woocommerce-alidropship\/admin\/api.php(273): VI_WOOCOMMERCE_ALIDROPSHIP_Admin_API->update_product()",
    "#2 \/var\/www\/mysite.com\/htdocs\/wp-includes\/rest-api\/class-wp-rest-server.php(1230): VI_WOOCOMMERCE_ALIDROPSHIP_Admin_API->update_product_auth()",
    "#3 \/var\/www\/mysite.com\/htdocs\/wp-includes\/rest-api\/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()",
    "#4 \/var\/www\/mysite.com\/htdocs\/wp-includes\/rest-api\/class-wp-rest-server.php(439): WP_REST_Server->dispatch()",
    "#5 \/var\/www\/mysite.com\/htdocs\/wp-includes\/rest-api.php(428): WP_REST_Server->serve_request()",
    "#6 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp-hook.php(324): rest_api_loaded()",
    "#7 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()",
    "#8 \/var\/www\/mysite.com\/htdocs\/wp-includes\/plugin.php(565): WP_Hook->do_action()",
    "#9 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp.php(418): do_action_ref_array()",
    "#10 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp.php(813): WP->parse_request()",
    "#11 \/var\/www\/mysite.com\/htdocs\/wp-includes\/functions.php(1336): WP->main()",
    "#12 \/var\/www\/mysite.com\/htdocs\/wp-blog-header.php(16): wp()",
    "#13 \/var\/www\/mysite.com\/htdocs\/index.php(17): require('...')",
    "#14 {main}",
    "thrown"
    ]
    }




    What does the error mean please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Thank you for reaching out to us.

    This error should not occur in the latest version. May I know which version you’re using?

    Best regards.

    Thread Starter alexli126

    (@alexli126)

    Hello,

    Sorry for later response.

    Version 2.0.4, it show be the latest version.

    we use it on the main site of multisite, here is the screenshot of the fatal errors today:

    https://prnt.sc/mfjptP0pDMh3

    I am quite curious in what situation this fatal errors might be produced? what if I am in China to sync the products? is that might be the reason please?

    Thanks so much.

    • This reply was modified 1 year, 11 months ago by alexli126.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error’ is closed to new replies.