I get the following error on my website:

user warning: Duplicate entry 'FAWK' for key 1 query: INSERT INTO weather (icao, next_update_on, metar_raw) VALUES ('FAWK', 1286515350, '2010/10/07 12:00\nFAWK 071200Z 32000KT CAVOK 27/// Q1026\n') in /home/national/public_html/sites/all/modules/weather/weather.module on line 2063.

Comments

miopa’s picture

Version: 6.x-5.15 » 6.x-5.16

I have the same issue, it happens since I first installed the module more than 18 months ago.

About half of this errors occur during the time cron is running (but are caused by different client).

toddy’s picture

Assigned: Unassigned » toddy
Status: Active » Closed (cannot reproduce)

Hi,

sorry for the late reply. Unfortunately, I'm not able to reproduce this error, so I cannot do anything about it. Also note that this issue refers to weather for Drupal 6, and I don't have the time to develop that branch any further. Moreover, Drupal 8 will probably be released in the next months, making Drupal 6 an unsupported release. I would suggest that you upgrade to Drupal 7 soon.

Regards,
Tobias

miopa’s picture

This issue stopped being an issue long time ago :), I can't remember what fixed it.