Zencart 1.5.8
php 8.1
I am trying to do an upgrade from 1.5.7 to 1.58. I noticed that there have been a lot of changes. I also noticed on my log file I am getting a Warning: Undefined variables. Should I be concerned with the warnings and just focus on the errors?
Just trying to get some advise because I seem to have a lot of log files with warnings. Some examples below
Code:
[02-Nov-2022 15:31:17 Europe/Berlin] Request URI: /xxx.com/, IP address: 127.0.0.1
#0 [internal function]: zen_debug_error_handler()
#1 C:\xampp\htdocs\xxx.com\includes\extra_datafiles\order_status_filenames.php(11): define()
#2 C:\xampp\htdocs\xxx.com\includes\init_includes\init_file_db_names.php(78): include('C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\xxx.com\includes\application_top.php(198): require('C:\\xampp\\htdocs...')
#4 C:\xampp\htdocs\xxx.com\index.php(25): require('C:\\xampp\\htdocs...')
--> PHP Warning: Constant FILENAME_ORDER_STATUS already defined in C:\xampp\htdocs\xxx.com\includes\extra_datafiles\order_status_filenames.php on line 11.
[02-Nov-2022 15:31:18 Europe/Berlin] Request URI: /xxx.com/, IP address: 127.0.0.1
#0 C:\xampp\htdocs\xxx.com\includes\classes\simple_categories_tree.php(211): zen_debug_error_handler()
#1 C:\xampp\htdocs\xxx.com\includes\classes\simple_categories_tree.php(175): SimpleCategoriesTree->getCurrentNavId()
#2 C:\xampp\htdocs\xxx.com\includes\autoload_func.php(62): SimpleCategoriesTree->init()
#3 C:\xampp\htdocs\xxx.com\includes\application_top.php(237): require('C:\\xampp\\htdocs...')
#4 C:\xampp\htdocs\xxx.com\index.php(25): require('C:\\xampp\\htdocs...')
--> PHP Warning: Undefined array key "cPath" in C:\xampp\htdocs\xxx.com\includes\classes\simple_categories_tree.php on line 211.
[02-Nov-2022 15:31:18 Europe/Berlin] Request URI: /xxx.com/, IP address: 127.0.0.1
#0 C:\xampp\htdocs\xxx.com\includes\templates\theme871\templates\super_data_head.php(144): zen_debug_error_handler()
#1 C:\xampp\htdocs\xxx.com\includes\templates\theme871\common\html_header.php(115): require('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\xxx.com\index.php(42): require('C:\\xampp\\htdocs...')
--> PHP Warning: Undefined variable $fb_image in C:\xampp\htdocs\xxx.com\includes\templates\theme871\templates\super_data_head.php on line 144.
Bookmarks