Stepts to generate the issue:
1. Enable both the modules
2. Go the custom_pub module settings page "admin/structure/custom_pub"
3. Add a publishing option. Add content type available.
and you will get a database error.
I checked this it was coming from this module where "_auto_nodequeue_get_qids" this function is called and causing error.
"There is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates.
Notice: Array to string conversion in DatabaseStatementBase->execute() (line 2171 of /var/www/html/drupal7/includes/database/database.inc).
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ''test', 'Array'' at line 1: SELECT Q.qid AS qid, Q.title AS title FROM {nodequeue_queue} Q INNER JOIN {nodequeue_types} T ON Q.qid = T.qid AND T.type = :type_0, :type_1, :type_2; Array ( [:type_0] => test [:type_1] => test [:type_2] => Array ( [article] => Article [migrate_example_baseball] => Migrate example - Baseball [migrate_example_beer] => Beer ) ) in _auto_nodequeue_get_qids() (line 230 of /var/www/html/drupal7/sites/all/modules/auto_nodequeue/auto_nodequeue.module)"
Comments
Comment #2
pradeep22saini commentedResolved this by putting a condition for calling functions which were causing this issue.
Comment #3
mohit_aghera commented