Hi there,
I've been receiving this error recently when trying to use the email article feature:
PDOException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2_%path, :db_insert_placeholder_2_%reasons, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => Access to %path denied because: %reasons. [:db_insert_placeholder_3] => a:0:{} [:db_insert_placeholder_4] => 5 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://biencanada.ca/printmail/5 [:db_insert_placeholder_7] => http://biencanada.ca/content/current-affairs [:db_insert_placeholder_8] => 99.246.110.108 [:db_insert_placeholder_9] => 1309185273 [:db_insert_placeholder_2_%path] => 5 [:db_insert_placeholder_2_%reasons] => no valid menu entry was found. ) in dblog_watchdog() (line 157 of /home/public_html/addon_domains/biencanada/modules/dblog/dblog.module).
The website encountered an unexpected error. Please try again later.
Am I the only one to encounter this error? It could have something to do with the Pathauto module... I have all the latest versions of modules and Drupal 7.2 installed.
Any help is greatly appreciated.
Comments
Comment #1
carlos espino commentedSuscrib
Comment #2
umtj commentedSubscribe!
Comment #3
Yuri commentedReceived the same error.
Subscribing.
Comment #4
Anonymous (not verified) commentedI got this error when I was requesting http://example.com/printmail/1234. Turns out the mail function is now available under http://example.com/printmail/node/1234.
Comment #5
jcnventuraFixed in git.
Comment #6
mkrakowiak commentedWorks well now. Thank you, jcnventura and Edith Illyés!