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

Drush: cannot disable civicrm debug

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      Found by MarkDQ

      The drush command drush civicrm-disable-debug returns error The drush command 'civicrm-disable-debug' could not be found. Run 'drush cache-clear drush' to clear the commandfile cache if you have installed new extensions.

      More information at http://civicrm.stackexchange.com/questions/17061/drush-cannot-disable-civicrm-debug .

      Solution by Jon G.

      The `civicrm-disable-debug` command isn't defined in `civicrm_drush_command()`. See line 155:

          $items['civicrm-enable-debug'] = array(
            'description' => "Enable CiviCRM Debugging.",
          );
      

      To solve this problem, you can add this below that:

          $items['civicrm-disable-debug'] = array(
            'description' => "Disable CiviCRM Debugging.",
          );
      

      This would be an easy item to submit as a pull request so everyone could benefit.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              keikelboom Klaas Eikelboom
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: