Can't v2b to work:
On an existing D7 project, when adding a search_api_et_v2b index on "multilingual node" using either an existing or newly created sapi solr server, i get the following error:

    Fatal error: Class name must be a valid object or a string in /Volumes/daten2/projekte/hbmintranet/code/www/includes/common.inc on line 7779
  

(Then $entity_type argument in the entity_get_controller() throwing the error is "search_api_index ").

(freshly installed search_api_et(v2b), search_api_et_solr and the search_api_solr patch needed).

Of course i will try a clean drupal install later, but i wonder whether anyone got this error too, or know what it is.

Comments

maciej.zgadzaj’s picture

when adding a search_api_et_v2b index on "multilingual node"

Does it work fine when you try to add a new index on a normal node?

Then $entity_type argument in the entity_get_controller() throwing the error is "search_api_index "

Um, a quick question just in case, I assume that space there in "search_api_index " got there by mistake?

Anyway, I haven't experienced this error myself, but a quick google search shows it happens in various scenarios, for example #1667536: PHP Fatal error: Class name must be a valid object or a string in drupal-7.14/includes/common.inc on line 7680. From this and other similar it seems that updb and cc all helped a lot of people, but I guess you've already tried it, so probably the issue is somewhere deeper.

Would be great if you manage to do some debugging when you have a free(ish) moment trying to see what index exactly is being loaded there, where from, does it really exists etc...

drunken monkey’s picture

Enabling backtrace for error messages in your test site and posting the whole backtrace here would also help a lot – and, of course, knowing the class name it tries to load.

maciej.zgadzaj’s picture

Status: Active » Postponed (maintainer needs more info)

@Daniel, any update on this?

maciej.zgadzaj’s picture

Status: Postponed (maintainer needs more info) » Fixed

Was finally able to replicate this. As it turned out, this module requires Search API module in version 1.6 or later - added this requirement to the .info file.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.