Closed (fixed)
Project:
Decounter
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2011 at 07:13 UTC
Updated:
11 Jul 2011 at 15:58 UTC
Jump to comment: Most recent
Hello, I am getting the error message below when I use decounter.
The message only appears when logged in as admin (always) or when logged in as an authenticated user (when I select the option to decount authenticated users)
The message does NOT appear when logged in as an authenticated user, but only the option to to decount the administrator is selected.
Thanks...
PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'daycount - 1' for column 'daycount' at row 1: UPDATE {node_counter} SET daycount=:db_update_placeholder_0, totalcount=:db_update_placeholder_1 WHERE (nid = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => daycount - 1 [:db_update_placeholder_1] => totalcount - 1 [:db_condition_placeholder_0] => 74 ) in decounter_exit() (line 73 of /home/sitename/public_html/sites/all/modules/decounter/decounter.module).
The website encountered an unexpected error. Please try again later.
Comments
Comment #1
Grifforg commentedMe too. So I uninstalled the module, waiting for a fix.
Comment #2
Anonymous (not verified) commentedFixed in 7.x-1.1. See project page.