Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /opt/lampp/htdocs/radioinfo/includes/entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 355 of /opt/lampp/htdocs/radioinfo/includes/entity.inc).
Recoverable fatal error: Object of class stdClass could not be converted to string in DatabaseStatementBase->execute() (line 2168 of /opt/lampp/htdocs/radioinfo/includes/database/database.inc).
Comments
Comment #1
retiredpro commentedI hit these errors too when I modified the module according to post 5 from this thread.
Comment #2
sumitmadan commentedStill getting this error.
Comment #3
typehost commentedSame issue: https://www.drupal.org/node/2354811
Comment #4
shahidaali commentedI also faced this issue by updating an other issue from here https://www.drupal.org/node/1937840#comment-7160720
The reason for this issue is when you change node/%/edit/subscription to node/%node/edit/subscription,
nodeobject will be passed instead ofnidin the callback functionuc_recurring_subscription_product_form($form, $form_state, $product_id = NULL)in the file uc_recurring_subscription.admin.inc in uc_recurring_subscription module.I resolved the issue by adding below code in the file uc_recurring_subscription.admin.inc in uc_recurring_subscription module.