Make something amazing, for anyone, at DrupalCon. Standard prices end on August 26.
I get the following error when I try to run cron:
Fatal error: Call to a member function leftJoin() on a non-object in */sites/all/modules/l10n_update/l10n_update.check.inc on line 115
I confirm this bug.
I confirm this bug, too... Please, fix it:)
Exactly on the same line for me :)
I solved it like this (just changing the methods chaining):
$q = db_select('l10n_update_project', 'p');
$q->leftJoin('l10n_update_file', 'f', 'p.name = f.project AND l.language = f.language');
// If the file is not there, or it is there, but we did not check since $before.
$q->condition(db_or()->isNull('f.status')->condition(db_and()->condition('f.status', 1)->condition('f.last_checked', $be
$q->addField('l', 'language', 'lang');
$result = $q->execute();
This fixed the problem. Here is a patch to review.
How exactly does one (php layman) apply this patch? Does one paste it somewhere (where, line?) in that file? Exactly which elements of the patch are "pasted" ... ?
Tried to gamble doing that but could not get it right. ;)
The patch #5 worked for me.
When will create a new dev Version the last for the Drupal 7 is from 2010-Dec-09!!
this bug is critical, since break core functionalities like cron and other things...
Great, committed, thanks.
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.