Wrong schema alter?

Comments

rudiedirkx’s picture

Status: Active » Fixed

Yes, wrong schema alter. I suck.

  • rudiedirkx committed 9c3e43d on 7.x-1.x
    Issue #2387821: Schema says: x_autonodequeue: unexpected column in...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

danreb’s picture

Status: Closed (fixed) » Active

You didn't release a version containing this fixes, there's no development version too that we can download containing this either. The recommended release in the project page still have this problem so we are seeing error like this

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'qid' in 'where clause': SELECT * FROM {nodequeue_types} WHERE qid

Danreb

rudiedirkx’s picture

That seems to be another issue... My issue doesn't produce errors or even warnings or notices. Yours does. Looks like a Nodequeue problem. Maybe updates?

danreb’s picture

I was using the 7.x-3.x-dev version of nodequeue and there's no error but once I enabled autonodequeue and then visit "admin/structure/nodequeue" then there's an error "
The website encountered an unexpected error. Please try again later."

Looking at the log it show this

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'qid' in 'where clause': SELECT * FROM {nodequeue_types} WHERE qid IN (:qids_0, :qids_1, :qids_2, :qids_3); Array ( [:qids_0] => featured_portfolio [:qids_1] => frontpage [:qids_2] => package [:qids_3] => portfolio ) in autonodequeue_nodequeue_alter() (line 35 of /home/halcyoncomph/public_html/sites/all/modules/autonodequeue/autonodequeue.module).

So i suspect it is a problem with autonodequeue

rudiedirkx’s picture

Status: Active » Closed (fixed)

Yes, nodequeue 3.x doesn't seem to be compatible. Make another issue please. This issue is only about column x_autonodequeue and a wrong schema alter.

danreb’s picture

Ok open a new issue here -> https://www.drupal.org/node/2451415

Thanks

rudiedirkx’s picture