Ecshop invoice cannot be used to appear flow.php on line 723 error

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.