Drush en -y geofield

output says this:
WD ctools: Invalid plugin module/type combination requested: module geofield and type geofield_backend [error]

Issue fork geofield-1889584

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

osopolar’s picture

I have the same problem ... from time to time it appears on drush cc all too.

griz’s picture

I also get this error.

therobyouknow’s picture

I also get this error when enabling ol_locator ( more detail on my steps and terminal sessions here: https://drupal.org/node/2044043#comment-7655043 ), though admin/modules report OpenLayers Locator installed and enabled OK.

dshields’s picture

I'm seeing the very same error - has anyone figured out where this is coming from?

jummonk’s picture

I don't know why, but apparently sometimes geofield_backend plugin is not loaded in ctools plugins cache. I get this when running Simpletest tests on my project.
I solved this by resetting that ctools plugin cache when the geofield_backend plugin is missing.
See attachecd patch.

jummonk’s picture

Improved patch as previous patch causes PHP "undefined function" error at /update.php because the ctools plugins include file is not included at this point. See attachment with extended patch.

jummonk’s picture

Issue summary: View changes

fix output message ... [error] comes at last, its the drush status.

jummonk’s picture

Patch geofield-fix-geofield-backend-plugin-not-loaded-1889584-6.patch apparently no longer necessary in 7.x-2.1 (with implementation of patch from https://drupal.org/node/2091251)

Correction. Not solved in 7.x-2.1

SocialNicheGuru’s picture

it was solved but now it is not in 2.1

ronny89’s picture

updated to latest affected version.
this support request is a duplicate.

maikeru’s picture

I get this when deploying a site using drush from code - which ends up breaking builds.

I've added combined it with a patch from https://raw.githubusercontent.com/computerminds/drupal-patches/master/ge... which is related, which has previously fixed issues with this module with code based deployments.

SocialNicheGuru’s picture

Status: Active » Needs review
geerlingguy’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Status: Needs review » Reviewed & tested by the community

Works for me too, and gets rid of the extra warnings every time I deploy my site.

Gik000’s picture

I got this error after some changing on filesystem after an environment update.

I have uses drush to better understand and I confirm that after a

drush eval 'ctools_plugin_get_plugin_type_info(TRUE); '

I got

WD ctools: Invalid plugin module/type combination requested: module geofield and type geofield_backend [error]

My module version is the 7.x-2.3!

I try

cache clear
registry rebuild
but nothing changed.

afinnarn’s picture

I didn't get the same result while using the patch in #10 on the 7x-2.3 release. I also think this is ctools caching issue that I didn't get too far in debugging.

I saw the note below where this patch is placed, and it seemed like the 7.x-1.x to 7.x-2.x had a similar issue. So, I just reversed the order of the if/else statement checking for the Geofield plugin info before trying anything.

This patch isn't to overtake #10 since that worked for others, but in cases where it didn't work and you know your schema will be the default one, I think it is a suitable patch.

julien.reulos’s picture

For last Geofield version (7.x-2.4), patch from #14 works, the one from #10 doesn't.

harishh made their first commit to this issue’s fork.