1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Unknown class passed as parameter, Money cannot be found.
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1310 Views |
-
Unknown class passed as parameter, Money cannot be found.

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.
| 1310 Views | ||
|
Page:
1
|
Go to Top |

