Call to a member function getColumns() on boolean

Created on 13 August 2019, over 5 years ago
Updated 18 February 2025, about 2 months ago

Hi,

I just updated today the drupal core of my site.
I went from drupal 8.7.5 to 8.7.6.
Now i get this error when trying to import my feed.
Same error occurs when trying to run cron.
Also everytime i get this error i first need to unlock the feed to be able to import the feed (or at least trying to)

I use:
- Feeds 8.x-3.0-alpha5
- Feeds extensible parsers 8.x-1.0-alpha2
- Feeds Tamper 8.x-2.0-beta1

edit:
I compared the Tables.php and Condition.php files with the same previous core installed files.
Results trows back that these are identical files.

Error: Call to a member function getColumns() on boolean in Drupal\Core\Entity\Query\Sql\Tables->addField() (regel 252 van /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php) #0 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/Entity/Query/Sql/Condition.php(52): Drupal\Core\Entity\Query\Sql\Tables->addField('feeds_item.targ...', 'INNER', NULL) #1 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/Entity/Query/Sql/Query.php(172): Drupal\Core\Entity\Query\Sql\Condition->compile(Object(Drupal\Core\Database\Driver\mysql\Select)) #2 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/Entity/Query/Sql/Query.php(80): Drupal\Core\Entity\Query\Sql\Query->compile() #3 /data/sites/web/mydrupalsite/www/modules/feeds/src/Feeds/Processor/EntityProcessorBase.php(199): Drupal\Core\Entity\Query\Sql\Query->execute() #4 /data/sites/web/mydrupalsite/www/modules/feeds/src/Feeds/Processor/EntityProcessorBase.php(107): Drupal\feeds\Feeds\Processor\EntityProcessorBase->initCleanList(Object(Drupal\feeds\Entity\Feed), Object(Drupal\feeds\Feeds\State\CleanState)) #5 /data/sites/web/mydrupalsite/www/modules/feeds/src/EventSubscriber/LazySubscriber.php(109): Drupal\feeds\Feeds\Processor\EntityProcessorBase->process(Object(Drupal\feeds\Entity\Feed), Object(Drupal\feeds\Feeds\Item\DynamicItem), Object(Drupal\feeds\State)) #6 [internal function]: Drupal\feeds\EventSubscriber\LazySubscriber->Drupal\feeds\EventSubscriber\{closure}(Object(Drupal\feeds\Event\ProcessEvent), 'feeds.process', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #7 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Object(Closure), Object(Drupal\feeds\Event\ProcessEvent), 'feeds.process', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #8 /data/sites/web/mydrupalsite/www/modules/feeds/src/Event/EventDispatcherTrait.php(38): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('feeds.process', Object(Drupal\feeds\Event\ProcessEvent)) #9 /data/sites/web/mydrupalsite/www/modules/feeds/src/FeedImportHandler.php(398): Drupal\feeds\FeedHandlerBase->dispatchEvent('feeds.process', Object(Drupal\feeds\Event\ProcessEvent)) #10 /data/sites/web/mydrupalsite/www/modules/feeds/src/FeedImportHandler.php(201): Drupal\feeds\FeedImportHandler->doProcess(Object(Drupal\feeds\Entity\Feed), Object(Drupal\feeds\Feeds\Item\DynamicItem)) #11 /data/sites/web/mydrupalsite/www/core/includes/batch.inc(295): Drupal\feeds\FeedImportHandler->batchProcess(Object(Drupal\feeds\Entity\Feed), Object(Drupal\feeds\Feeds\Item\DynamicItem), Array) #12 /data/sites/web/mydrupalsite/www/core/includes/batch.inc(137): _batch_process() #13 /data/sites/web/mydrupalsite/www/core/includes/batch.inc(93): _batch_do() #14 /data/sites/web/mydrupalsite/www/core/modules/system/src/Controller/BatchController.php(55): _batch_page(Object(Symfony\Component\HttpFoundation\Request)) #15 [internal function]: Drupal\system\Controller\BatchController->batchPage(Object(Symfony\Component\HttpFoundation\Request)) #16 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #17 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #18 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #19 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #20 /data/sites/web/mydrupalsite/www/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #21 /data/sites/web/mydrupalsite/www/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #22 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /data/sites/web/mydrupalsite/www/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /data/sites/web/mydrupalsite/www/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #27 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #28 /data/sites/web/mydrupalsite/www/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #29 /data/sites/web/mydrupalsite/www/core/lib/Drupal/Core/DrupalKernel.php(693): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #30 /data/sites/web/mydrupalsite/www/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #31 {main}.

πŸ’¬ Support request
Status

Fixed

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States caspervoogt

    I want to reiterate what @Toby Wild and @dubs said. I ran into the same problem after importing a feed type with config sync, on Feeds 3.0 in my case. Simply re-saving the feed type resolved it for me.

Production build 0.71.5 2024