CMS MADE SIMPLE FORGE

Discount Coupons

 

[#8759] PHP warning in backend

avatar
Created By: Metamorphose (metamorphose)
Date Submitted: Mon Dec 17 16:42:48 -0500 2012

Assigned To:
Version: Version 0.4
CMSMS Version: 1.11.3
Severity: Trivial
Resolution: None
State: Open
Summary:
PHP warning in backend
Detailed Description:
Hi Duketown

In my test environment (PHP 5.4.7 and with error_reporting=all ) I get some
warnings in the backend:

Tab 'Coupons'

Notice: Undefined variable: parms in
D:\xampp\htdocs\vhosts\testsite\modules\DTCoupons\function.admin_couponstab.php
on line 93
 
Notice: Array to string conversion in
D:\xampp\htdocs\vhosts\testsite\lib\classes\module_support\modform.inc.php on
line 70

Tab 'Options'

Strict Standards: Non-static method DTC_utils::GetDateformats() should not be
called statically, assuming $this from incompatible context in
D:\xampp\htdocs\vhosts\testsite\modules\DTCoupons\function.admin_optionstab.php
on line 35
 
Strict Standards: Non-static method DTC_utils::GetListCodeLength() should not be
called statically, assuming $this from incompatible context in
D:\xampp\htdocs\vhosts\testsite\modules\DTCoupons\function.admin_optionstab.php
on line 39
 
Strict Standards: Non-static method DTC_utils::GetListPageLimit() should not be
called statically, assuming $this from incompatible context in
D:\xampp\htdocs\vhosts\testsite\modules\DTCoupons\function.admin_optionstab.php
on line 43
 

Add a coupon

Strict Standards: Non-static method DTC_utils::GetCouponTypes() should not be
called statically, assuming $this from incompatible context in
D:\xampp\htdocs\vhosts\testsite\modules\DTCoupons\action.addcoupon.php on line
131
 

Edit a coupon

Notice: Undefined index: description in
D:\xampp\htdocs\vhosts\testsite\modules\DTCoupons\action.editcoupon.php on line
65
 
Strict Standards: Non-static method DTC_utils::GetCouponTypes() should not be
called statically, assuming $this from incompatible context in
D:\xampp\htdocs\vhosts\testsite\modules\DTCoupons\action.editcoupon.php on line
122



History