Please, send to us an admin user access to info [at] artprojectgroup [dot] es.
Kind regards,
Hi I am having the same error after updating to the latest version of Woocommerce.
How do i resolve this?
Thanks
Please, send to us an admin user access to info [at] artprojectgroup [dot] es.
We need to check what happens in a website with this kind of problem.
Kind regards.
Please, can you try this?
Change from line 480:
$impuestos_totales[1] = 0;
foreach ($impuestos_parciales as $impuesto_parcial)
{
foreach ($impuesto_parcial as $impuesto) $impuestos_totales[1] += $impuesto;
}
With:
$impuestos = 0;
foreach ($impuestos_parciales as $impuesto_parcial)
{
foreach ($impuesto_parcial as $clave => $impuesto)
{
$impuestos += $impuesto;
$impuestos_totales[$clave] = $impuestos;
}
}
Try it please.
On line 480 replace:
$impuestos_totales[1] = 0;
with this:
$impuestos_totales = array();
Chris π
Good, but $impuestos_totales was declared as array before.
So you can remove line 480 then. The problem is that if there are no taxes then the taxes array still gets set on line 480 with a tax rate id of 1 and a value of zero, but there may not be a tax rate id of 1 set up. If there are no shipping taxes then you need an empty array to be returned.
Sorry for my delay. I had a large t-shirt shipment to mail out. I have emailed admin access as requested. Thank you!
Scott
FYI – I have the APG plug in running alongside another weight based plug in, but the other one doesn’t have state based shipping so I much prefer yours. However, you can see how the other one is working while APG isn’t, so the rest of the site is set up properly. I’ve processed a Paypal payment with the other plug in.
Scott
Thank you Scott and Chris.
In a few minutes you can download the fix update.
The problem was generated, like Chris said, with no taxes configurations.
Thanks a lot for your help.
Fixed on version 1.7.4.1.
Kind regards.
I’ve installed the new version, but it’s not showing up as an option on checkout. Other options are showing up. I’ve uninstalled it and deleted it and reinstalled it again, but it still does not show up.
Thank you!
Scott
Check your plugin and WooCommerce configuration.
Kind regards.