Zen Cart Logo
Forums / General Questions / Couple of new error messages

Couple of new error messages

Views: 811

Results 1 to 4 of 4
21 Nov 2013, 8:09 PM
#1
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Couple of new error messages

Has any one encountered the following errors?
1)
[19-Nov-2013 15:04:20 America/Denver] PHP Warning: strip_tags() expects at most 2 parameters, 4 given in /public_html/admin/coupon_admin.php on line 641

2)
[21-Nov-2013 08:53:12 America/Denver] PHP Warning: Creating default object from empty value in /public_html/includes/modules/payment/authorizenet_aim.php on line 439

added the following at line 439:

$aimdata = new stdClass;

I added it from here, since I was getting PHP errors

21 Nov 2013, 8:34 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Couple of new error messages

Kevin205:

Has any one encountered the following errors?
1)
[19-Nov-2013 15:04:20 America/Denver] PHP Warning: strip_tags() expects at most 2 parameters, 4 given in /public_html/admin/coupon_admin.php on line 641

2)
[21-Nov-2013 08:53:12 America/Denver] PHP Warning: Creating default object from empty value in /public_html/includes/modules/payment/authorizenet_aim.php on line 439

added the following at line 439:

$aimdata = new stdClass;

> 
> I added it [from here](http://www.zen-cart.com/showthread.php?200601-UNDER-REVIEW-PHP-5-4-PHP-Warning-Creating-default-object-from-empty-value&p=1178693#post1178693), since I was getting PHP errors

Php version? (No haven't had those errors myself)
21 Nov 2013, 8:58 PM
#3
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: Couple of new error messages

mc12345678:

Php version? (No haven't had those errors myself)

Sorry for that. It's PHP Version: 5.4.20 (Zend: 2.4.0).

21 Nov 2013, 9:04 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Couple of new error messages

Kevin205:

Sorry for that. It's PHP Version: 5.4.20 (Zend: 2.4.0).

Interesting indeed. Any idea how that file got changed? (As of Version 4 should only have had two parameters for strip_tags. Regarding AIM, well don't use it, so have no history, but also haven't seen that error message before. Sorry, that warning message...