Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
When I return from creating a response in LS, I am seeing this error message:
Warning: array_flip(): Can only flip STRING and INTEGER values! in EntityAPIController->load() (line 219 of /srv/bindings/67a9c33dcebd4abdaef9bf8c3db49f0d/code/sites/all/modules/entity/includes/entity.controller.inc).
It appears to occur just before updating the token and/or before creating an answer.
Any ideas?
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#2 | limesurvey_sync-2834901-2.patch | 514 bytes | pifagor |
Comments
Comment #2
pifagorpatch
Comment #3
jsibley CreditAttribution: jsibley commentedThank you for responding so quickly, pifagor.
Unfortunately, the problem seems to continue. I'm wondering if it might have to do with the customizable entities module, or with how that is called. Here is some backtrace information. Perhaps you understand this better than I do:
Does that help at all?
Thanks.
Comment #4
jsibley CreditAttribution: jsibley commentedStill trying to figure this out. Here is a backtrace from the pbt module:
It seems to me that the load in customizable_entitities.controller.inc is called with $IDS = 0 (String, 32 characters ) conversational_capacity_160910_f
and load around line 734 (the numbers will have changed from the original files due to my logging calls) of entity.controller.inc is called with $IDS = 0 (String, 32 characters ) conversational_capacity_160910_f
but load around line 203 of entity.controller.inc is called with $IDS that is an empty array.
if $IDS is empty, then array_flip is going to give an error.
I'm hoping that someone who understands the code and PHP better than I do can see where the problem is coming from.
Many thanks for any ideas.
Comment #5
jsibley CreditAttribution: jsibley commentedI moved to a different server for my drupal app as well as for the limequery app and the problem seems to have gone away. I'm not sure why, but it's no longer a problem for me.
Comment #6
thedut CreditAttribution: thedut commentedHello I'm glad this is solved for you.
Unfortunatelly I'm not able to reproduce this issue. Feel free to reopen it.