Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Call to undefined method stdClass::save() in search_api.module #93

Open
kenorb opened this issue Oct 18, 2014 · 0 comments
Open

Comments

@kenorb
Copy link
Member

kenorb commented Oct 18, 2014

The following error happens on make install:

build-ads > enable-search-db:
[exec] class_implements(): object or string expected entity.module:463      [warning]
[exec] in_array() expects parameter 2 to be array, boolean given            [warning]
[exec] Creating default object from empty value search_api.module:2629      [warning]
[exec] PHP Fatal error:  Call to undefined method stdClass::save() in sites/all/modules/contrib/search_api/search_api.module on line 2630

OS: Debian
Clean installation from git repo.

Reproducible steps:

  1. Clone repo, then run: make.

  2. When asked for config changes, change the below lines to this:

    # Drupal Build Settings.
    project.drupal.build.site=        true 
    project.drupal.build.stable=      false
    project.drupal.build.type=        full 
    
  3. If you get: 'Sorry, the profile you have chosen cannot be loaded', the Exception: Sorry, the profile you have chosen cannot be loaded. in install_load_profile(). [$15] #17 needs to be fixed first.

  4. When you go further, run: make install, you should see the warnings & errors about search_api module.

Areas to fix: drush/ make files (either different version of module, or add patch file into make file and point to the uploaded file in below link.

Related: https://www.drupal.org/node/2180007

@kenorb kenorb added this to the 7.x-1.0-alpha2 milestone Oct 18, 2014
nseam added a commit to nseam/ads that referenced this issue Oct 23, 2014
@kenorb kenorb modified the milestones: 7.x-1.0-alpha2, 7.x-1.0-alpha3 Oct 25, 2014
@kenorb kenorb modified the milestones: 7.x-1.0-alpha3, 7.x-1.0-alpha4 Nov 1, 2014
@kenorb kenorb modified the milestones: 7.x-1.0-alpha3, 7.x-1.0-alpha4 Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants