PDOException when running drush command cron-logs
drush cron-logs system_cron
Invalid argument supplied for foreach() query.inc:1853 [warning]
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that [error]
corresponds to your MySQL server version for the right syntax to use near ')) ) subquery' at line 1 in
/home/ame/htdocs/ding/drupal7/includes/database/database.inc:2229
Problem in drush_ultimate_cron_cron_logs on line 315
$log_entries = $job->getLogEntries($limit);
First parameter in getLogEntries should be log_types and be array.
$log_entries = $job->getLogEntries(ULTIMATE_CRON_LOG_TYPE_ALL, $limit);
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | ultimate_cron-2843929.patch | 570 bytes | amme |
Comments
Comment #2
amme commentedComment #3
amme commentedComment #4
arnested commentedThis looks good. I won't be able to commit this until the end of the week or early next week though (on vacation with just a phone).
Comment #6
arnested commentedThank you for your contribution.
Your patch has been applied and released as version 7.x-2.3.