Discussions

Warning: call_user_func_array() expects parameter 1 to be a valid callback

hi there

i want to add a 'redirect page'
after the user adds a specific product (dvd)
to the card .

this should be easy with rules by doing this following steps:

a)adding an event 'After adding a product to the cart'

b)adding a condition 'Entity exists by property'
Parameter: Entity type: Commerce Product, Property: Type, Value: dvd

c)at least adding a Page redirect
Parameter: URL: dvd-order

but this rule allways executes
no matter if a different
product was added to the shopping card... !?

and if i open the condition under
admin/config/workflow/rules/reaction/manage/rules_redirect_after_add_to_cart/edit/6

drupal displays a warning:

'Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'rules_action_type_form_alter' not found or invalid function name in FacesExtendable->__call() (line 123 of /var/www/commerce/sites/all/modules/rules/includes/faces.inc).'

is this a bug or a misconfiguration?

thankfull for any advice

Posted: Aug 1, 2012
drupalcommerce Check out the #Drupal Commerce 2.x Roadmap to see where you can get involved: http://t.co/WAc3jmXY2a
drupalcommerce A new blog discussing the new showcase listing http://t.co/FHOzhAg3tl http://t.co/J5C87imjhb
drupalcommerce RT @drupalcon: Thanks @CommerceGuys and @CommerceJohn for your support, and for #CommerceKickstart! Take the tour http://t.co/ivKEYH7k0o
drupalcommerce Updating our extensions directory: 665 new or updated modules, distributions, sandboxes, & themes. http://t.co/6NMMofYo12 #weloveyouguys