Originally Posted by
royndoggy
I recently Upgraded from 1.3a to 1.51 and all seems grand except I am getting 2 log entries in my /logs folder for each purchase. I am using authorize.net AIM in test production.
1) AIM_Debug_0_blah..blah.log
2) myDEBUG-adm-blah-blah.og
The first one looks like an array dump of the cart. The second has the following message:
PHP Warning: Creating default object from empty value in /home/oregon/public_html/includes/modules/payment/authorizenet_aim.php on line 440
I looked at like 440 and this is what is there aimdata->fields = array();
This is the code around that line item.
function admin_notification($zf_order_id) {
global $db;
$output = '';
$aimdata->fields = array();
require(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/authorizenet/authorizenet_admin_notification.php');
return $output;
}
Can anyone tell me what the problem might be? Ans how I might fix this problem?
Thanks,
Bookmarks