zcadditions / ZCA-Bootstrap-Template-for-1.5.6-v2.0.0c

Zen Cart v1.5.6a, ZCAdditions (rbarbour), Bootstrap 4 Template
http://www.zcadditions.com/bootstrap_tpl_demo
GNU General Public License v3.0
14 stars 19 forks source link

Correct PHP warning for modules/centerboxes/specials_index.php #231

Closed lat9 closed 3 years ago

lat9 commented 3 years ago

Seeing logs like

[02-Nov-2020 14:58:09 UTC] Request URI: /zc157a_bs4/index.php?main_page=index&cPath=3_10, IP address: ::1
#1  include(C:\xampp\htdocs\zc157a_bs4\includes\modules\centerboxes\specials_index.php) called at [C:\xampp\htdocs\zc157a_bs4\includes\templates\bootstrap\centerboxes\tpl_modules_specials_default.php:14]
#2  require(C:\xampp\htdocs\zc157a_bs4\includes\templates\bootstrap\centerboxes\tpl_modules_specials_default.php) called at [C:\xampp\htdocs\zc157a_bs4\includes\templates\bootstrap\templates\tpl_index_product_list.php:190]
#3  require(C:\xampp\htdocs\zc157a_bs4\includes\templates\bootstrap\templates\tpl_index_product_list.php) called at [C:\xampp\htdocs\zc157a_bs4\includes\modules\pages\index\main_template_vars.php:232]
#4  require(C:\xampp\htdocs\zc157a_bs4\includes\modules\pages\index\main_template_vars.php) called at [C:\xampp\htdocs\zc157a_bs4\includes\templates\bootstrap\common\tpl_main_page.php:188]
#5  require(C:\xampp\htdocs\zc157a_bs4\includes\templates\bootstrap\common\tpl_main_page.php) called at [C:\xampp\htdocs\zc157a_bs4\index.php:94]
--> PHP Warning: Creating default object from empty value in C:\xampp\htdocs\zc157a_bs4\includes\modules\centerboxes\specials_index.php on line 76.

... coming from that added notifier that's using the 'wrong' variable name.