Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘woocommerce_quantity_table_textdomain’ not found or invalid function name in /sites/webshopimago.nl/www/wp-includes/class-wp-hook.php on line 298
wat te doen? how to fix?
]]>Hi Support,
I get the following message:
“Warning: array_shift() expects parameter 1 to be array, string given in /home/u775775526/public_html/wp-content/plugins/idw-display-woo-dynamic-quantity-table/quantity-table.php on line 35”.
Following code start with line 30.
if (!is_shop() && !is_product_category() && !woocommerce_upsell_display() && !is_front_page() && !is_page()){
if (!$done) {
global $done;
$done = TRUE;
$pricing_rule_sets = get_post_meta( $product->post->ID, '_pricing_rules', true );
$pricing_rule_sets = array_shift( $pricing_rule_sets );
if ( $pricing_rule_sets
&& is_array( $pricing_rule_sets )
&& sizeof( $pricing_rule_sets ) ) {
ob_start();
?>
<table>
In WooCommerce I use ‘Dynamic Pricing’ from WooCommerce.
The settings are
European, €
thousendseparation is a “.” (Europeen Standard)
Decimal separation is a “,” (Europeen Standard)