Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Unknown class passed as parameter, Money cannot be found.

Go to End



Community Member, 6 Posts

10 April 2010 at 7:11am

You'd think that the module would work without Payment... but it does not. Also, I keep on getting a "class Money not found" error if I have the Payment module installed alongside the eCommerce module.

Warning: Unknown class passed as parameter in C:\wwwroot\ecomm_test\sapphire\core\Object.php on line 445

Fatal error: Uncaught exception 'ReflectionException' with message 'Class Payment does not exist' in C:\wwwroot\ecomm_test\sapphire\core\Object.php:273 Stack trace: #0 C:\wwwroot\ecomm_test\sapphire\core\Object.php(273): ReflectionClass->__construct('Payment') #1 C:\wwwroot\ecomm_test\sapphire\core\Object.php(420): Object::uninherited_static('Payment', 'extensions') #2 C:\wwwroot\ecomm_test\ecommerce\_config.php(11): Object::add_extension('Payment', 'EcommercePaymen...') #3 C:\Windows\Temp\silverstripe-cacheC--wwwroot-ecomm_test\manifest-main(6436): require_once('C:\wwwroot\ecom...') #4 C:\wwwroot\ecomm_test\sapphire\core\ManifestBuilder.php(70): require_once('C:\Windows\Temp...') #5 C:\wwwroot\ecomm_test\sapphire\core\Core.php(150): ManifestBuilder::include_manifest() #6 C:\wwwroot\ecomm_test\sapphire\main.php(61): require_once('C:\wwwroot\ecom...') #7 {main} thrown in C:\wwwroot\ecomm_test\sapphire\core\Object.php on line [b273

The version that I downloaded was the Trunk version.