pdoexception hy093 after server change

Created on 7 May 2017, over 7 years ago
Updated 9 April 2024, 8 months ago

After the server changed to a new one, my drupal-7 site is broken with the following error message on the start page:

PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens: SELECT n.nid, n.created AS criterium FROM {node} n INNER JOIN {taxonomy_index} ti ON n.nid = ti.nid /* ignore current time: :requesttime */ WHERE ti.tid = :tid AND (n.created > :creation) AND (n.status = 1) ORDER BY n.created DESC, n.changed DESC LIMIT 0, 3; Array ( [:requesttime] => 1494188993 [:tid] => 4 [:creation] => 0 ) in Taxonews::blockView() (Zeile 379 von /var/www/vhosts/tsvkandel.de/httpdocs/handball/sites/all/modules/taxonews/taxonews.module).

Admin-Area is accessible anyway.
Deactivation of the module "taxonews" causes the error message to disappear.

The Server uses PHP_VERSION 7.0.15-0ubuntu0.16.04.4.

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

🇩🇪Germany Carsten76

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024