Active
Project:
Nodequeue
Version:
6.x-2.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2013 at 07:23 UTC
Updated:
16 May 2013 at 16:21 UTC
I'm using module Nodequeue 6.x-2.11 and Smartqueue submodule. Sometimes I catch errors like this:
Feb 8 10:59:52 mysrv drupal: http://www.---.ru|1360306792|php|46.188.10.5|http://www.---.ru/|http://www.---.ru/|0||Warning: array_fill() [function.array-fill]: Number of elements must be positive in db_placeholders() (line 276 of /vhosts/newfs/includes/database.inc).
Feb 8 10:59:52 mysrv drupal: http://www.---.ru|1360306792|php|46.188.10.5|http://www.---.ru/|http://www.---.ru/|0||Warning: implode() [function.implode]: Invalid arguments passed in db_placeholders() (line 276 of /vhosts/newfs/includes/database.inc).
Feb 8 10:59:52 mysrv drupal: http://www.---.ru|1360306792|php|46.188.10.5|http://www.---.ru/|http://www.---.ru/|0||User warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: smartqueue_nodequeue_alter /* Anonymous : smartqueue_nodequeue_alter */ SELECT qid, use_parents FROM smartqueue WHERE qid IN () in _db_query() (line 170 of /vhosts/newfs/includes/database.mysql.inc).I've made a small patch to fix them.
| Comment | File | Size | Author |
|---|---|---|---|
| smartqueue.patch | 1009 bytes | Romka |
Comments
Comment #1
caspercash commentedI have encountered this error too. Thank you for your patch. It works great!