When saving changes in entitiy fields, for example, in Profile2, the following error raises up:
Warning: Invalid argument supplied for foreach() in apachesolr_entity_update() (line 1766 of /var/www/vhosts/happyhamlet.com/httpdocs/hh_newest/sites/all/modules/apachesolr/apachesolr.module).
Could be similar solution than: http://drupal.org/node/1514314 ?
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | warning-1588256-11.patch | 523 bytes | killua99 |
| #9 | warning-1588256-9.patch | 4.9 KB | killua99 |
| #7 | 1588256-7.patch | 2.37 KB | nick_vh |
| #3 | apachesolr-add_conditions_isset_is_array-1588256-3.patch | 1.05 KB | internetdevels |
Comments
Comment #1
nick_vhCould you please verify if this error still exists? I couldn't reproduce the error with latests dev. If so, please give us a clear list of instructions so we can reproduce it
Comment #2
nick_vhComment #3
internetdevels commentedAppear warning in 7.x-1.0-beta19 version of module.
Step 1: after create node form redirects to a another form.
Step 2: Fill the fields on form then redirects to a another form.
Step 3: and on this step appear warning:
Warning: Invalid argument supplied for foreach() in apachesolr_entity_update() (line 1766 of /sites/all/modules/apachesolr/apachesolr.module).
Fixed this warning.
Comment #4
nick_vhCan you try latest dev version? I slightly remember having fixed this one?
Comment #5
internetdevels commentedReopen ticket.
Comment #6
internetdevels commentedSorry, but in dev version not fixed this issue.
Comment #7
nick_vhIf we do this, we need some more checks
Comment #8
nick_vhCommitted to d7
Comment #9
killua99 commentedget a look at this patch.
edit: this patch have a patch also for this issue #1630222: Fatal error: Cannot use string offset as an array in /sites/all/modules/contrib/apachesolr/apachesolr.module on line 1698
Comment #10
nick_vhcommitted to 6.x-3.x. Good work!
Comment #11
killua99 commentedThis patch need to be completed with this lines. From the comment # 2
#1630222-2: Fatal error: Cannot use string offset as an array in /sites/all/modules/contrib/apachesolr/apachesolr.module on line 1698
Comment #12
nick_vhcommitted to 6.x-3.x. Thanks
Comment #13
nick_vh