Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-18297

Drupal 8 Crash on Admin Config page

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Contributed Code

      Description

      In Drupal 8

      On going to the /admin/config page, the following error is encountered.

      Please note that it is not encountered on any of the subpages, i.e. /admin/config/development

      (Please note that the CiviCRM on Drupal 8 instructions specifically instruct to remove the libraries module)

      ( ! ) Fatal error: Call to undefined function libraries_get_path() in /var/www/html/drupal8/modules/civicrm/civicrm.install on line 133
      Call Stack

      1. Time Memory Function Location
        1 0.0000 234432 {main}

        ( ) ../index.php:0
        2 0.0011 573160 Drupal\Core\DrupalKernel->handle( ) ../index.php:25
        3 0.0068 1551376 Stack\StackedHttpKernel->handle( ) ../DrupalKernel.php:637
        4 0.0068 1551488 Drupal\Core\StackMiddleware\NegotiationMiddleware->handle( ) ../StackedHttpKernel.php:23
        5 0.0068 1551960 Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle( ) ../NegotiationMiddleware.php:55
        6 0.0069 1552392 Drupal\page_cache\StackMiddleware\PageCache->handle( ) ../ReverseProxyMiddleware.php:51
        7 0.0071 1559040 Drupal\page_cache\StackMiddleware\PageCache->pass( ) ../PageCache.php:82
        8 0.0071 1559120 Drupal\Core\StackMiddleware\KernelPreHandle->handle( ) ../PageCache.php:103
        9 0.0112 2014040 Drupal\Core\StackMiddleware\Session->handle( ) ../KernelPreHandle.php:53
        10 0.0128 2168936 Symfony\Component\HttpKernel\HttpKernel->handle( ) ../Session.php:62
        11 0.0129 2169792 Symfony\Component\HttpKernel\HttpKernel->handleRaw( ) ../HttpKernel.php:62
        12 0.0393 4965392 call_user_func_array:

        {/var/www/html/drupal8/vendor/symfony/http-kernel/HttpKernel.php:139}

        ( ) ../HttpKernel.php:139
        13 0.0393 4965592 Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}( ) ../HttpKernel.php:139
        14 0.0393 4965840 Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext( ) ../EarlyRenderingControllerWrapperSubscriber.php:102
        15 0.0393 4977800 Drupal\Core\Render\Renderer->executeInRenderContext( ) ../EarlyRenderingControllerWrapperSubscriber.php:129
        16 0.0394 4978248 Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}( ) ../Renderer.php:577
        17 0.0394 4978296 call_user_func_array:

        {/var/www/html/drupal8/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:128}

        ( ) ../EarlyRenderingControllerWrapperSubscriber.php:128
        18 0.0394 4979064 Drupal\system\Controller\SystemController->overview( ) ../EarlyRenderingControllerWrapperSubscriber.php:128
        19 0.0394 4979128 Drupal\system\SystemManager->checkRequirements( ) ../SystemController.php:119
        20 0.0394 4979200 Drupal\system\SystemManager->listRequirements( ) ../SystemManager.php:100
        21 0.0411 5036400 Drupal\Core\Extension\ModuleHandler->invokeAll( ) ../SystemManager.php:116
        22 0.0421 5143456 call_user_func_array:

        {/var/www/html/drupal8/core/lib/Drupal/Core/Extension/ModuleHandler.php:393}

        ( ) ../ModuleHandler.php:393
        23 0.0421 5143976 civicrm_requirements( ) ../ModuleHandler.php:393
        24 0.0421 5144192 _civicrm_find_civicrm( ) ../civicrm.install:65

        Attachments

          Activity

            People

            • Assignee:
              awasson Andrew Wasson
              Reporter:
              johnff John Kirk
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified