Skip to content

Can't get 8.1.1 to work #53

@abbydrury

Description

@abbydrury

We're running Drupal 8.9.19 and are attempting to upgrade from v0.2 of this module to v8.1.1 of this module. When I execute a search in v8.1.1 that previously worked in v0.2, the search fails and I get a pile of errors (I think 36 for every query). The first one is this:

#0 /app/web/core/includes/bootstrap.inc(600): _drupal_error_handler_real(8, 'Undefined prope...', '/app/web/module...', 896, Array)
#1 /app/web/modules/contrib/edsapi-drupal8-plugin/lib/EBSCOResponse.php(896): _drupal_error_handler(8, 'Undefined prope...', '/app/web/module...', 896, Array)
#2 /app/web/modules/contrib/edsapi-drupal8-plugin/lib/EBSCOResponse.php(95): EBSCOResponse->buildCitationStyles()
#3 /app/web/modules/contrib/edsapi-drupal8-plugin/lib/EBSCOAPI.php(346): EBSCOResponse->result()
#4 /app/web/modules/contrib/edsapi-drupal8-plugin/lib/EBSCOAPI.php(147): EBSCOAPI->apiAuthenticationToken()
#5 /app/web/modules/contrib/edsapi-drupal8-plugin/lib/EBSCOAPI.php(267): EBSCOAPI->authenticationToken()
#6 /app/web/modules/contrib/edsapi-drupal8-plugin/lib/EBSCOAPI.php(711): EBSCOAPI->request('Info')
#7 /app/web/modules/contrib/edsapi-drupal8-plugin/lib/EBSCODocument.php(238): EBSCOAPI->apiInfo()
#8 /app/web/modules/contrib/edsapi-drupal8-plugin/lib/EBSCODocument.php(327): EBSCODocument->info()
#9 /app/web/modules/custom/lits_search/src/EdsapiWrapper.php(197): EBSCODocument->search()
#10 /app/web/modules/custom/lits_search/src/Controller/UnifiedSearchController.php(448): Drupal\lits_search\EdsapiWrapper->search(Array, 'library')
#11 /app/web/modules/custom/lits_search/src/Controller/UnifiedSearchController.php(345): Drupal\lits_search\Controller\UnifiedSearchController->searchLibrary(Object(Symfony\Component\HttpFoundation\Request), 'library')
#12 [internal function]: Drupal\lits_search\Controller\UnifiedSearchController->searchAsynch('library', Object(Symfony\Component\HttpFoundation\Request))
#13 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#14 /app/web/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#15 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#16 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#17 /app/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#18 /app/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#19 /app/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /app/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /app/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 /app/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 /app/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /app/web/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 /app/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#28 {main}

Here is the summary list of them all:
dblog-1
dblog-2

Please help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions