Closed (fixed)
Project:
Search API Database Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2012 at 08:17 UTC
Updated:
5 Jun 2017 at 21:28 UTC
Jump to comment: Most recent
Comments
Comment #1
tecjam commentedWell, I simply comment out those 2 lines, ran the cron again, uncommented the lines, retried cron and it works again now. Not sure why this happened.
Comment #2
tecjam commentedOk, I closed this a bit too early.
If I go into the search_api index settings and clear the index and re-index, I receive the same error.
I am indexing:
- node id: as integer
- content type: as string
- status: as integer
- 4 different Taxonomie-Terms
- on/off checkbox as boolean
Comment #3
amateescu commentedMoving to the right queue.
Comment #4
zambrey commentedI've also run into this problem lately and managed to fix it by re-saving field definition.
Hope it helps anyone.
Comment #5
garethhallnz commentedI can confirm the #4 worked for me too.
Comment #6
graemehunter commented#4 worked for me too.
Also note that I didn't see the initial error in the drupal errors and warnings report, I just had a white page of death when running cron manually. Running cron via drush produced the title error message, that led me here.
Comment #7
drunken monkeyIt's very probably that an old bug caused some stale data in the server which thus had the wrong multiplicity for one of the taxonomy term fields. Everyone encountering this shouldre-save their field settings (maybe changing something back and forth to avoid the "No settings changed." note) and see whether this fixes the problem.
Otherwise, please re-open. (And also try to narrow down the cause by unchecking field by field to see which field triggers the error.)
Comment #8
thetech249 commentedam I not catching something how would I go about re-saving field definitions? I have looked all over to find how to do that and can't find anything. Thanks.
Comment #10
papirrin commentedAny news?
Comment #11
Piyushagr commentedI got same error when run batch process.
Comment #12
rudiedirkx commented#4 worked for me too.
Why the weird type casting though? PHP has several valid ways to do this.
0 + $valueis 'very cool' (TM), but apparently also fatal sometimes.Comment #13
pvmchau commented#4 worked for me too. Thanks zambrey :)
Comment #14
codesidekick commented#4 worked for me too. Step by step instructions:
Comment #15
joshua.boltz commentedNot sure how related it is or not, but I have been recently getting the "unsupported operand types" errors while trying to figure out the page_manager_search module.
After enabling the module (after enabling the core Search module to avoid the missing function error), I tried adjusting some settings on this configuration page.
/admin/config/search/settings
I tried checking the box for Page manager search under Active search modules.
When I run cron, i get the unsupported operand types error. Without that setting checked, cron runs fine.