Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 4.1.2
-
Fix Version/s: 4.3.0
-
Component/s: Core CiviCRM
-
Labels:
Description
This likely is only happening for me because I think others would have noticed beforehand. But when I try running:
php bin/cli.php -j -u mailer -p PASSWORD -e Job -a execute
I get this error:
PHP Fatal error: Call to a member function saveLastRun() on a non-object in /path/to/drupal/sites/all/modules/civicrm/CRM/Core/JobManager.php on line 118
PHP Stack trace:
PHP 1.
() /path/to/drupal/sites/all/modules/civicrm/bin/cli.php:0
PHP 2. civicrm_Cli->callApi() /path/to/drupal/sites/all/modules/civicrm/bin/cli.php:30
PHP 3. CRM_Core_JobManager->executeJobByAction() /path/to/drupal/sites/all/modules/civicrm/bin/cli.php:66
PHP 4. CRM_Core_JobManager->executeJob() /path/to/drupal/sites/all/modules/civicrm/CRM/Core/JobManager.php:106