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

CiviCRM Core Installation fails on Drupal 8.1.x

    Details

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

      Description

      When attempting to install the CiviCRM Core in Drupal 8 installation fails. This is after adding the Libraries API as mentioned in CRM-18297.

      The error received via the Web UI and drush command line is:
      Fatal error: Using $this when not in object context in /home4/techeira/public_html/drupal8/core/lib/Drupal/Core/File/FileSystem.php on line 125

      Running drush with debug shows the offending line:
      Non-static method Drupal\Core\File\FileSystem::realpath() should not be called statically civicrm.install:135

      As mentioned in the comments of the linked JIRA item, I surmised it was an initialization issue, and drush output seems to support that. I will test my proposed fix and update the ticket.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              VTecheira Vincent Techeira
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified