I just upgraded from Commerce Kickstart 7.x-1.6 to 7.x-1.7. I'm seeing this error:
Warning: Missing argument 4 for _options_get_options(), called in /Users/Stephen/localhost/commercekickstart/profiles/commerce_kickstart/modules/commerce/modules/cart/commerce_cart.module on line 1635 and defined in _options_get_options() (line 243 of /Users/Stephen/localhost/commercekickstart/modules/field/modules/options/options.module).
Warning: Missing argument 5 for _options_get_options(), called in /Users/Stephen/localhost/commercekickstart/profiles/commerce_kickstart/modules/commerce/modules/cart/commerce_cart.module on line 1635 and defined in _options_get_options() (line 243 of /Users/Stephen/localhost/commercekickstart/modules/field/modules/options/options.module).
Notice: Undefined variable: entity_type in _options_get_options() (line 245 of /Users/Stephen/localhost/commercekickstart/modules/field/modules/options/options.module).
Notice: Undefined variable: entity in _options_get_options() (line 245 of /Users/Stephen/localhost/commercekickstart/modules/field/modules/options/options.module).
This may be an issue with Drupal core, though i'm really not sure. A similar issue has been posted to the Multiselect queue (#1559480: Drupal 7.14 changes cause Notices), though i've not installed that module. I've cross-posted there.
Comments
Comment #1
andrewscullion commentedI am also getting this error on every product display node. Stuck between a rock and a hard place really, with 7.12, errors on every admin page telling me to upgrade for security reasons and with 7.14 errors on every other page. Help!
Comment #2
marcoka commentedentity api outputs the errors too, but there is already a patch for entity api
cross reference
#1556192: Incorrect invocation of hook_options_list()
Comment #3
judikins commentedNot sure if this is related but I am getting an error:
" commerce_kickstart-7.x-1.7-core.tar.gz does not contain any .info files. "
Thank you for investigating.
Comment #4
msmart7728 commentedOk. What's the solution on how to fix this issue? I am also having the same problem and still can't find an answer.
Warning: Missing argument 4 for _options_get_options(), called in /Users/mariabsmart/Documents/Drupal/twotrees/profiles/commerce_kickstart/modules/commerce/modules/cart/commerce_cart.module on line 1635 and defined in _options_get_options() (line 243 of /Users/mariabsmart/Documents/Drupal/twotrees/modules/field/modules/options/options.module).
Warning: Missing argument 5 for _options_get_options(), called in /Users/mariabsmart/Documents/Drupal/twotrees/profiles/commerce_kickstart/modules/commerce/modules/cart/commerce_cart.module on line 1635 and defined in _options_get_options() (line 243 of /Users/mariabsmart/Documents/Drupal/twotrees/modules/field/modules/options/options.module).
Notice: Undefined variable: entity_type in _options_get_options() (line 245 of /Users/mariabsmart/Documents/Drupal/twotrees/modules/field/modules/options/options.module).
Notice: Undefined variable: entity in _options_get_options() (line 245 of /Users/mariabsmart/Documents/Drupal/twotrees/modules/field/modules/options/options.module).
Warning: Missing argument 4 for _options_get_options(), called in /Users/mariabsmart/Documents/Drupal/twotrees/profiles/commerce_kickstart/modules/commerce/modules/cart/commerce_cart.module on line 1635 and defined in _options_get_options() (line 243 of /Users/mariabsmart/Documents/Drupal/twotrees/modules/field/modules/options/options.module).
Warning: Missing argument 5 for _options_get_options(), called in /Users/mariabsmart/Documents/Drupal/twotrees/profiles/commerce_kickstart/modules/commerce/modules/cart/commerce_cart.module on line 1635 and defined in _options_get_options() (line 243 of /Users/mariabsmart/Documents/Drupal/twotrees/modules/field/modules/options/options.module).
Notice: Undefined variable: entity_type in _options_get_options() (line 245 of /Users/mariabsmart/Documents/Drupal/twotrees/modules/field/modules/options/options.module).
Notice: Undefined variable: entity in _options_get_options() (line 245 of /Users/mariabsmart/Documents/Drupal/twotrees/modules/field/modules/options/options.module).
Comment #5
andrewscullion commentedTry upgrading to the latest dev release of the commerce modules, I think that fixed it on my local test site.
Comment #6
bojanz commentedClosing old issue.
Kickstart 1.7 is no longer recent, and newer versions (1.8, etc) don't have this problem.