I today installed Commerce, Entity Registration and Registration Commerce modules.

I followed config directions to create registration type with registration commerce enabled and associated with registration status : complete.

I added a registration field on content node. On saving registration (complete) I get message 'registration saved' followed by the messages below.

In this example I have not created a product type, product or added a product ref field to the content with registration field (to make it a product display) as this is not specified in the configuration guidelines (but if I do I getthe same result, whether the registration field is defined on the product display node directly or as part of the product type).

Notice: Undefined variable: registration in registration_commerce_registration_price_get() (line 660 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/registration_commerce/registration_commerce.module).
Notice: Trying to get property of non-object in registration_commerce_registration_price_get() (line 660 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/registration_commerce/registration_commerce.module).
Warning: array_flip(): Can only flip STRING and INTEGER values! in EntityAPIControllerExportable->load() (line 737 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/entity/includes/entity.controller.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in EntityAPIControllerExportable->cacheGetByName() (line 782 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/entity/includes/entity.controller.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in EntityAPIController->load() (line 219 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/entity/includes/entity.controller.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in EntityAPIControllerExportable->cacheGet() (line 768 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/entity/includes/entity.controller.inc).
Notice: Trying to get property of non-object in registration_commerce_get_settings() (line 695 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/registration_commerce/registration_commerce.module).
Notice: Undefined variable: registration in registration_commerce_registration_price_get() (line 660 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/registration_commerce/registration_commerce.module).
Notice: Trying to get property of non-object in registration_commerce_registration_price_get() (line 660 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/registration_commerce/registration_commerce.module).
Warning: array_flip(): Can only flip STRING and INTEGER values! in EntityAPIControllerExportable->load() (line 737 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/entity/includes/entity.controller.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in EntityAPIControllerExportable->cacheGetByName() (line 782 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/entity/includes/entity.controller.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in EntityAPIController->load() (line 219 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/entity/includes/entity.controller.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in EntityAPIControllerExportable->cacheGet() (line 768 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/entity/includes/entity.controller.inc).
Notice: Trying to get property of non-object in registration_commerce_get_settings() (line 695 of /home/sites/paudax.com/public_html/dev2/sites/all/modules/registration_commerce/registration_commerce.module).

Comments

Ujin’s picture

Did you apply this patch https://drupal.org/node/2139089 ? Did you set up price in settings ?

drupauler’s picture

That's fixed it . Thanks for the steer.

drupauler’s picture

https://drupal.org/node/2139089 looks to have fixed it.

gcb’s picture

Status: Active » Closed (duplicate)