I am not sure if this issue is related to the views module or the calendar module. I have the default template for calendar views which works except for the fact that when I go to look at the list of blocks for the site I get the following error:
Notice: Undefined index: calendar-block_1 in _block_rehash() (line 411 of /home/content/70/5660770/html/modules/block/block.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'stga-views-Calendar-block_1' for key 2: 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] => views [:db_insert_placeholder_1] => Calendar-block_1 [:db_insert_placeholder_2] => stga [:db_insert_placeholder_3] => 0 [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => -1 [:db_insert_placeholder_6] => [:db_insert_placeholder_7] => -1 ) in drupal_write_record() (line 7136 of /home/content/70/5660770/html/includes/common.inc).
When I disable to view this error goes away.
Any help would be appreciated.
Thanks.
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #3
Thambos CreditAttribution: Thambos commentedHow did you fix this? I have the same problem now after fixing a view issue (https://drupal.org/node/1593882#comment-7529943)
EDIT: I managed to fix it following Step 7 on the linked comment, but I'm still not sure if that is the best solution. Any other input would be appreciated. Thanks.
Comment #4
tapas_talukder CreditAttribution: tapas_talukder commentedSame problem is here how will be fixed the issue?
Comment #5
mattyy21idem.
Comment #6
apadernoComment #7
Neslee Canil PintoHi, there will be no more future development for 7.x branch. If you see this issue in 8.x, feel free to file an issue. Close this as Outdated.