Problem/Motivation

We're seeing a lot of these errors recently:

Error: Call to undefined method Drupal\search_api\Plugin\views\query\SearchApiQuery::getTableQueue() in editoria11y_views_query_alter() (Zeile 731 in /web/modules/contrib/editoria11y/editoria11y.views.inc).

#0 [internal function]: editoria11y_views_query_alter()
#1 /web/core/lib/Drupal/Core/Extension/ModuleHandler.php(389): call_user_func_array()
#2 /web/core/lib/Drupal/Core/Extension/ModuleHandler.php(340): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}()
#3 /web/core/lib/Drupal/Core/Extension/ModuleHandler.php(388): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#4 /web/modules/contrib/search_api/src/Plugin/views/query/SearchApiQuery.php(578): Drupal\Core\Extension\ModuleHandler->invokeAll()
#5 /web/core/modules/views/src/ViewExecutable.php(1377): Drupal\search_api\Plugin\views\query\SearchApiQuery->alter()
#6 /web/core/modules/views/src/Plugin/views/display/PathPluginBase.php(382): Drupal\views\ViewExecutable->build()
#7 /web/core/modules/views/src/Plugin/views/display/Page.php(198): Drupal\views\Plugin\views\display\PathPluginBase->execute()
#8 /web/core/modules/views/src/ViewExecutable.php(1686): Drupal\views\Plugin\views\display\Page->execute()
#9 /web/core/modules/views/src/Element/View.php(80): Drupal\views\ViewExecutable->executeDisplay()
#10 [internal function]: Drupal\views\Element\View::preRenderViewElement()
#11 /web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(107): call_user_func_array()
#12 /web/core/lib/Drupal/Core/Render/Renderer.php(910): Drupal\Core\Render\Renderer->doTrustedCallback()
#13 /web/core/lib/Drupal/Core/Render/Renderer.php(441): Drupal\Core\Render\Renderer->doCallback()
#14 /web/core/lib/Drupal/Core/Render/Renderer.php(230): Drupal\Core\Render\Renderer->doRender()
#15 /web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->render()
#16 /web/core/lib/Drupal/Core/Render/Renderer.php(634): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#17 [internal function]: Drupal\Core\Render\Renderer::Drupal\Core\Render\{closure}()
#18 /web/core/lib/Drupal/Core/Render/Renderer.php(635): Fiber->start()
#19 /web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(235): Drupal\Core\Render\Renderer->executeInRenderContext()
#20 /web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(131): Drupal\Core\Render\MainContent\HtmlRenderer->prepare()
#21 /web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse()
#22 /vendor/symfony/event-dispatcher/EventDispatcher.php(246): Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
#23 /vendor/symfony/event-dispatcher/EventDispatcher.php(206): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()
#24 /vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#25 /vendor/symfony/http-kernel/HttpKernel.php(188): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#26 /vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#27 /web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#28 /web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#29 /web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#30 /web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#31 /web/core/modules/page_cache/src/StackMiddleware/PageCache.php(203): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#32 /web/core/modules/page_cache/src/StackMiddleware/PageCache.php(140): Drupal\page_cache\StackMiddleware\PageCache->fetch()
#33 /web/core/modules/page_cache/src/StackMiddleware/PageCache.php(89): Drupal\page_cache\StackMiddleware\PageCache->lookup()
#34 /web/modules/contrib/crowdsec/src/Middleware.php(62): Drupal\page_cache\StackMiddleware\PageCache->handle()
#35 /web/core/modules/ban/src/BanMiddleware.php(50): Drupal\crowdsec\Middleware->handle()
#36 /web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#37 /web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#38 /web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(53): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#39 /web/modules/contrib/remove_http_headers/src/StackMiddleware/RemoveHttpHeadersMiddleware.php(49): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#40 /web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(54): Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle()
#41 /web/core/lib/Drupal/Core/DrupalKernel.php(745): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#42 /web/index.php(19): Drupal\Core\DrupalKernel->handle()
#43 {main}

Any ideas?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

anybody created an issue. See original summary.

anybody’s picture

Maybe an incompatibility with search_api?

Can / should we downgrade to 2.x maybe?

itmaybejj’s picture

Assigned: Unassigned » itmaybejj
Related issues: +#3492299: Editoria11y 3.x Roadmap

Interesting. I'll add this to the list of things to explore before tagging it beta.

The Alpha is in code review and testing in our environment this week. The list of bugs and errors resolved in the 3.0.x-dev branch since Alpha3 is already quite long. After that we'll go from half a dozen test sites to more than a thousand and be much more confident of its stability.

As for whether you should downgrade...the note in the release is: "Alpha tag released for community testing: don't install this in production! Work is ongoing that may change DB table structure, the update hooks may change, and there may not be Alpha-to-Alpha update hooks."

That said the team here isn't recommending any DB changes so far in the code review, so if you installed the alpha in production you should be able to move into the next Alpha and then the Beta safely. If the Views change you may need to manually import their config.

There is no viable downgrade path; you would need to uninstall, manually remove the views and reinstall 2.x. If I were you I would sit tight for the next tag, either late this week or early next.

anybody’s picture

Thanks itmaybejj, yes I upgraded that page by accident. Human mistake ;)

I'll simply reinstall the module in stable. Thanks1

  • itmaybejj committed f1c98d4e on 3.0.x-dev
    feat: #3571429 Error: Call to undefined method Drupal\search_api\Plugin\...
itmaybejj’s picture

Well I'm grateful for your mistake because this is one less bug that will make it into the Beta!

itmaybejj’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

anybody’s picture

Thank you! Simple fix :D

  • itmaybejj committed f1c98d4e on 3.0.x
    feat: #3571429 Error: Call to undefined method Drupal\search_api\Plugin\...

Status: Fixed » Closed (fixed)

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