The most template to the customer Ecshop website to do code conversion problem, the site appears on the Point settlement page warning:invalid argument supplied for foreach flow.php on line 723 error
The 723 lines of code found are:
foreach ($_cfg[' invoice_type ' [' type '] as $key = $type)
{
if (!empty ($type))
{
$INV _type_list[$type] = $type. ' ['. Floatval ($_cfg[' invoice_type '] [' rate '] [$key]). ‘%]‘;
}
}
To add//can end this line of code directly, the Web page does not display errors, you can also
foreach ($_cfg[' invoice_type ' [' type '] as $key = $type)
Change into
foreach (array) $_cfg[' invoice_type ' [' type '] as $key = = $type)
The Web page appears as normal. But the invoice does not enter content.
The following template is troubleshooting the problem, or because the Ecshop invoice type and tax rate are empty.
So the most template summarizes here invoice if the problem, please follow the following settings:
1, whether can open the invoice choice can
2, the invoice content this must be filled out otherwise in the billing page will not appear on the invoice information and selection
3, invoice type and tax rate: this also to fill in, or will appear in this article error
What else do not understand, most of the template welcome message, the most template will follow-up reply!
Ecshop invoice cannot be used to appear flow.php on line 723 error