Using ShareThis and configuring display based on defaults of context of node content, classic button style and default advanced settings doesn't work on my 7.37 drupal install. When I tried to switch to display ShareThis icons as a block the following error was generated in the logs when I went to the Blocks page or to any other page on the site:

PDOException: SQLSTATE[HY000]: General error: 1364 Field 'bid' doesn't have a default value: INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7); Array ( [:db_insert_placeholder_0] => sharethis [:db_insert_placeholder_1] => sharethis_block [:db_insert_placeholder_2] => ovlean [:db_insert_placeholder_3] => 0 [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => -1 [:db_insert_placeholder_6] => [:db_insert_placeholder_7] => 4 ) in drupal_write_record() (line 7308 of C:\inetpub\wwwroot\domain\includes\common.inc).

Disabling ShareThis allowed me to navigate to the Blocks and other pages again which I couldn't do with it enabled. This error was produced using either context of node, block or link.

Comments

lias’s picture

Solved --- I was able to eliminate the error and the inability to navigate to blocks and performance page by rebuilding permissions.

https://www.domain.com/admin/reports/status/rebuild

lias’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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