oops. line 54
oops. line 54
Set up my new site, but the invoices generated have no products or prices information between the header and the customer details.
Ubuntu server 24.04.2, php8.3, zencart 2.1.0.
Log file shows:
log [22-Feb-2025 11:22:42 UTC] Request URI: /invoice.php?oID=273, IP address: 192.168.0.254, Language id 1
#0 /var/www/html/xxxx.co.uk/invoice.php(72): zen_debug_error_handler()
--> PHP Warning: Trying to access array offset on false in /var/www/html/xxxx/invoice.php on line 72.
Plus: (xxxx replacing domain id)
[22-Feb-2025 11:11:10 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, false given in /var/www/html/xxxx.co.uk/includes/functions/functions_addresses.php:309
Stack trace:
#0 /var/www/html/xxxx.co.uk/includes/functions/functions_addresses.php(309): array_merge()
#1 /var/www/html/xxxx.co.uk/invoice.php(151): zen_address_format()
#2 {main}
thrown in /var/www/html/xxxx.co.uk/includes/functions/functions_addresses.php on line 309
Should I wait until this is updated to 2.1?
I reckon so.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Thanks for the reply.
Sorry that I don't know enough to help.
Just tested on Zen Cart 2.1.0; looks fine to me. Not sure what the issue on your site is.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Thanks for letting me know.
Not sure either, it generates an invoice, but only the header and footer show, the products are not listed.
I will try it again on my test VM.
I am using the bootstrap template, only other add-on is your invoice payment one.