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

Grifforg’s picture

Priority: Major » Normal

Me too. So I uninstalled the module, waiting for a fix.

Anonymous’s picture

Status: Active » Closed (fixed)

Fixed in 7.x-1.1. See project page.