WPML Compatibility Issue (error 500)
-
After clicking the update button in the Variation Bulk Editor popup window, nothing happens, just the loading spinner. In the browser console there is an error 500 for the ajax request action wpcvb_bulk_update, error details below. It seems that there is some compatibility issue with WPML plugin “WPML Multilingual & Multicurrency for WooCommerce”. If I disable this plugin, bulk editor works OK.
{
"code": "qm_fatal",
"message": "Uncaught Error: Too few arguments to function WCML_Products::check_product_sku(), 1 passed in /Users/petrbenes/Laravel/sharesweetbar/wp-includes/class-wp-hook.php on line 341 and exactly 3 expected in /Users/petrbenes/Laravel/sharesweetbar/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-products.php on line 645",
"data": {
"message": "Uncaught Error: Too few arguments to function WCML_Products::check_product_sku(), 1 passed in /Users/petrbenes/Laravel/sharesweetbar/wp-includes/class-wp-hook.php on line 341 and exactly 3 expected",
"file": "/Users/petrbenes/Laravel/sharesweetbar/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-products.php",
"line": 645,
"trace": [
{
"file": "/Users/petrbenes/Laravel/sharesweetbar/wp-includes/class-wp-hook.php",
"line": 341,
"function": "check_product_sku",
"class": "WCML_Products",
"type": "->",
"args": [
true
]
},
{
"file": "/Users/petrbenes/Laravel/sharesweetbar/wp-includes/plugin.php",
"line": 205,
"function": "apply_filters",
"class": "WP_Hook",
"type": "->",
"args": [
true,
[
true
]
]
},
{
"file": "/Users/petrbenes/Laravel/sharesweetbar/wp-content/plugins/wpc-variation-bulk-editor/includes/class-backend.php",
"line": 258,
"function": "apply_filters",
"args": [
"wc_product_has_unique_sku",
true
]
},
{
"file": "/Users/petrbenes/Laravel/sharesweetbar/wp-includes/class-wp-hook.php",
"line": 341,
"function": "ajax_bulk_update",
"class": "Wpcvb_Backend",
"type": "->",
"args": [
""
]
},
{
"file": "/Users/petrbenes/Laravel/sharesweetbar/wp-includes/class-wp-hook.php",
"line": 365,
"function": "apply_filters",
"class": "WP_Hook",
"type": "->",
"args": [
"",
[
""
]
]
},
{
"file": "/Users/petrbenes/Laravel/sharesweetbar/wp-includes/plugin.php",
"line": 522,
"function": "do_action",
"class": "WP_Hook",
"type": "->",
"args": [
[
""
]
]
},
{
"file": "/Users/petrbenes/Laravel/sharesweetbar/wp-admin/admin-ajax.php",
"line": 192,
"function": "do_action",
"args": [
"wp_ajax_wpcvb_bulk_update"
]
},
{
"file": "/Users/petrbenes/.composer/vendor/laravel/valet/server.php",
"line": 110,
"args": [
"/Users/petrbenes/Laravel/sharesweetbar/wp-admin/admin-ajax.php"
],
"function": "require"
}
]
}
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.