CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • drush cc civicrm throws an error
Pages: [1]

Author Topic: drush cc civicrm throws an error  (Read 538 times)

rjlang

  • I post occasionally
  • **
  • Posts: 48
  • Karma: 1
  • CiviCRM version: 4.2.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.77
  • PHP version: 5.3.19
drush cc civicrm throws an error
May 09, 2014, 06:59:46 am
Using CiviCRM 4.4.5 with Drupal 7.27. The drush command "drush cc civicrm" throws this error:

An error occured: Mandatory key(s) missing from params array: version   

It then reports success with

'civicrm' cache was cleared in /mysite#default     

The site (which is a local development system, running under MAMP) seems to work OK. Any ideas on the error?

Robert

rjlang

  • I post occasionally
  • **
  • Posts: 48
  • Karma: 1
  • CiviCRM version: 4.2.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.77
  • PHP version: 5.3.19
Re: drush cc civicrm throws an error
June 08, 2014, 07:27:01 pm
Adding the version parameter to function drush_civicrm_cacheclear() fixes the problem. Attached is a patch, and I'll post a bug to the issue tracker.

ivanb

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • I'm "rootwork" elsewhere, but SMF prohibits it :(
    • Rootwork.org
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: drush cc civicrm throws an error
June 16, 2014, 11:41:50 pm
Can you post a link to the issue so I can track when that patch gets applied and released?

rjlang

  • I post occasionally
  • **
  • Posts: 48
  • Karma: 1
  • CiviCRM version: 4.2.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.77
  • PHP version: 5.3.19
Re: drush cc civicrm throws an error
June 17, 2014, 06:54:33 am
https://issues.civicrm.org/jira/browse/CRM-14821

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • drush cc civicrm throws an error

This forum was archived on 2017-11-26.