After upgrading my Drupal 6 site (latest version) to Civi 4.7.2 all cronjobs set up in Cpanel are failing. Scheduled jobs are working fine when triggered in Civi but fail when triggered with the Cron url in the browser.

My cron is

wget -O /dev/null http://mysiteurl/sites/all/modules/civicrm/bin/cron.php?name=xxx\&pass=xxx\&key=xxx

Error is:

Fatal error: Call to undefined method CRM_Utils_System_Drupal6::getUsersTableName() in /home/mysite/public_html/sites/all/modules/civicrm/CRM/Utils/System/Drupal6.php on line 313

A patch has been accepted for this.


  • Patch was included in 4.7.3. – Davy Ivins Mar 4 '16 at 12:12

Have you tried with the drush method? I found it more reliable to use than the cron one, and more performant than over wget too

  • Thanks Xavier, but unfortunately I can't instal drush (and haven't learnt how to use it yet). Does anyone know how I can fix the undefined method error? – Davy Ivins Mar 1 '16 at 16:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.