Error from Pakkelabels.dk
-
Hi
I received an error message:
Warning: json_decode () expects parameter 1 to string, array given in /customers/4/a/a/abpettoys.dk/httpd.www/wp-content/plugins/packelabels-for-woocommerce/includes/packelabels_shipping_admin.php on line 73What’s wrong here ??
{
$aPostKeys = array_keys($_POST);$oShippingData = json_decode(stripslashes_deep($_POST[$aPostKeys[0]]));
if(isset($oShippingData->iInstance_id))
{$iInstance_id = $oShippingData->iInstance_id;
$sRangeType = $oShippingData->sRangeType;
$oShippingRangeRow = json_decode($oShippingData->oShippingRows)->oRows;
update_option($sRangeType . ‘_’ . $iInstance_id, $oShippingRangeRow);
}
}function get_price_ranges_callback()
The page I need help with: [log in to see the link]
- The topic ‘Error from Pakkelabels.dk’ is closed to new replies.