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

'Cannot resolve path using "cms.root.path"

    Details

    • Type: Bug
    • Status: In Quality Assurance
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.22
    • Fix Version/s: 4.7.23
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      when running schedule job using wp-cli method

      PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Cannot resolve path using "cms.root.path"' in /var/www/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Core/Paths.php:104
      Stack trace:
      #0 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Core/Paths.php(142): Civi\Core\Paths->getVariable('cms.root', 'path')
      #1 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Config/MagicMerge.php(240): Civi\Core\Paths->getPath('[cms.root]/wp-c...')
      #2 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php(98): CRM_Core_Config_MagicMerge->__get('extensionsDir')
      #3 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php(77): CRM_Extension_System->__construct()
      #4 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Core/Container.php(393): CRM_Extension_System::singleton(true)
      #5 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Config.php(112): Civi\Core\Container::boot(true)
      #6 /var/www/wordpress in /var/www/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Core/Paths.php on line 104
      Fatal error: Uncaught exception 'RuntimeException' with message 'Cannot resolve path using "cms.root.path"' in /var/www/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Core/Paths.php:104
      Stack trace:
      #0 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Core/Paths.php(142): Civi\Core\Paths->getVariable('cms.root', 'path')
      #1 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Config/MagicMerge.php(240): Civi\Core\Paths->getPath('[cms.root]/wp-c...')
      #2 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php(98): CRM_Core_Config_MagicMerge->__get('extensionsDir')
      #3 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php(77): CRM_Extension_System->__construct()
      #4 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Core/Container.php(393): CRM_Extension_System::singleton(true)
      #5 /var/www/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Config.php(112): Civi\Core\Container::boot(true)
      #6 /var/www/wordpress in /var/www/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Core/Paths.php on line 104

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              pradeep.nayak Pradeep Nayak
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: