Totally Zenned
- Join Date:
- Aug 2008
- Location:
- Sydney Australia
- Posts:
- 828
- Plugin Contributions:
- 0
Post #1 by bruce1952
Hi All,
I am on a VPS server running zencart version 2.1.0 and php version 8.3
Each time a sale is made I am getting this error message and it is annoying and need to know what to do about it.
[26-Jan-2026 07:37:13 Asia/Singapore] Request URI: /admin/index.php?cmd=invoice&oID=28782, IP address: 45.125.247.117, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /admin-panel/includes/functions/html_output.php(150): str_contains()
#2 /admin-panel/includes/functions/html_output.php(294): zen_image()
#3 /admin-panel/invoice.php(163): zen_draw_separator()
#4 /admin-panel/index.php(16): require('/home/xxxx...')
--> PHP Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /admin-panel/includes/functions/html_output.php on line 150.
[26-Jan-2026 07:37:13 Asia/Singapore] Request URI: /admin-panel/index.php?cmd=invoice&oID=28782, IP address: 45.125.247.117, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /admin-panel/includes/functions/html_output.php(155): str_contains()
#2 /admin-panel/includes/functions/html_output.php(294): zen_image()
#3 /admin-panel/invoice.php(163): zen_draw_separator()
#4 /admin-panel/index.php(16): require('/home/xxxx...')
--> PHP Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /admin-panel/includes/functions/html_output.php on line 155.
And this is the other one that I get.
[26-Jan-2026 07:33:55 Asia/Singapore] Request URI: /success-thank-you, IP address: 125.239.174.66
--> PHP Fatal error: Uncaught Error: Undefined constant "FILENAME_INVOICE" in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php:281
Stack trace:
#0 /includes/templates/bootstrap/templates/tpl_checkout_success_default.php(97): require()
#1 /includes/modules/pages/checkout_success/main_template_vars.php(15): require('/home/xxxx...')
#2 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/xxxx...')
#3 /index.php(94): require('/home/xxxx...')
#4 {main}
thrown in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php on line 281.
[26-Jan-2026 07:33:55 Asia/Singapore] Request URI: /success-thank-you, IP address: 125.239.174.66
--> PHP Fatal error: Uncaught Error: Undefined constant "FILENAME_INVOICE" in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php:281
Stack trace:
#0 /includes/templates/bootstrap/templates/tpl_checkout_success_default.php(97): require()
#1 /includes/modules/pages/checkout_success/main_template_vars.php(15): require('/home/xxxx...')
#2 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/xxxx...')
#3 /index.php(94): require('/home/xxxx...')
#4 {main}
thrown in /includes/templates/bootstrap/templates/tpl_account_history_info_default.php on line 281.
Any help would be appreciated.
Outdoorking
Live Site https://www.outdoorking.com.au