Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Drush en -y geofield
output says this:
WD ctools: Invalid plugin module/type combination requested: module geofield and type geofield_backend [error]
Comment | File | Size | Author |
---|---|---|---|
#14 | geofield-ctools-1889584-7-14.patch | 1.76 KB | afinnarn |
#10 | geofield-ctools-failures-1889584-10.patch | 871 bytes | maikeru |
#6 | geofield-fix-geofield-backend-plugin-not-loaded-1889584-6.patch | 688 bytes | jummonk |
#5 | geofield-fix-geofield-backend-plugin-not-loaded-1889584-5.patch | 627 bytes | jummonk |
Issue fork geofield-1889584
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:
Comments
Comment #1
osopolarI have the same problem ... from time to time it appears on drush cc all too.
Comment #2
griz CreditAttribution: griz commentedI also get this error.
Comment #3
therobyouknow CreditAttribution: therobyouknow commentedI 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.
Comment #4
dshields CreditAttribution: dshields commentedI'm seeing the very same error - has anyone figured out where this is coming from?
Comment #5
jummonk CreditAttribution: jummonk commentedI 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.
Comment #6
jummonk CreditAttribution: jummonk commentedImproved 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.
Comment #6.0
jummonk CreditAttribution: jummonk commentedfix output message ... [error] comes at last, its the drush status.
Comment #7
jummonk CreditAttribution: jummonk commentedPatch 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
Comment #8
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedit was solved but now it is not in 2.1
Comment #9
ronny89 CreditAttribution: ronny89 commentedupdated to latest affected version.
this support request is a duplicate.
Comment #10
maikeru CreditAttribution: maikeru commentedI 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.
Comment #11
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedComment #12
geerlingguy CreditAttribution: geerlingguy commentedWorks for me too, and gets rid of the extra warnings every time I deploy my site.
Comment #13
Gik000 CreditAttribution: Gik000 as a volunteer commentedI 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.
Comment #14
afinnarn CreditAttribution: afinnarn at University of Colorado Boulder commentedI 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.
Comment #15
julien.reulos CreditAttribution: julien.reulos commentedFor last Geofield version (7.x-2.4), patch from #14 works, the one from #10 doesn't.