CMS MADE SIMPLE FORGE

DestinationBasedShipping

 

[#5875] ArrayToObject method is undefined

avatar
Created By: Deleted User (deleteduser_11200)
Date Submitted: Tue Dec 21 05:16:20 -0500 2010

Assigned To: Robert Campbell (calguy1000)
Version: v1.1
CMSMS Version: None
Severity: Critical
Resolution: None
State: Open
Summary:
ArrayToObject method is undefined
Detailed Description:
/admin Extensions ->  DestinationBasedShipping

After filling in one item the page turns blank.

setting $config['debug'] = true;

Fatal error: Call to undefined method DestinationBasedShipping::ArrayToObject()
in
/home/shared/web/shop/public/modules/DestinationBasedShipping/function.admin_settings_tab.php
on line 67


History

Comments
avatar
Date: 2011-11-09 11:51
Posted By: Mitch Proulx (inyerface)

I get the same error....  I would love to use this module
      
avatar
Date: 2012-10-17 09:12
Posted By: Mathieu Muths (airelibre) (airelibre)

Hi guys,

Same problem here. Try this :

Replace line file function.admin_settings_tab.php, line 67 :

$obj = $this->ArrayToObject($row);

With :
$obj = new stdClass;
	  foreach ($row as $key=>$val)
		  $obj->$key = $val;

Seems that the function "ArrayToObject has never existed..