Title: Database errors by cron script
Last modified: January 16, 2017

---

# Database errors by cron script

 *  Resolved [afosgerau](https://wordpress.org/support/users/afosgerau/)
 * (@afosgerau)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/database-errors-by-cron-script/)
 * The cron job seems to be generating a lot of errors:
 * `[Mon Jan 16 23:03:30.810587 2017] [:error] [pid 5073] [client 9x.yyy.ZZz.2:40546]
   WordPress-database error Column 'measure_value' cannot be null for request REPLACE
   INTO`wpparkhoj_live_weather_station_datas`(`device_id`,`device_name`,`module_id`,`
   module_type`,`module_name`,`measure_timestamp`,`measure_type`,`measure_value`)
   VALUES (‘xz:00:00:00:00:01’, ‘Parkh\xc3\xb8j’, ’00:00:00:00:00:01′, ‘NAComputed’,‘[
   Computed Values]’, ‘2017-01-16 22:03:30’, ‘loc_latitude’, NULL) fra do_action_ref_array,
   WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WeatherStation\\
   SDK\\Realtime\\Plugin\\StationUpdater->cron_run, WeatherStation\\SDK\\Realtime\\
   Plugin\\StationUpdater->__run, WeatherStation\\SDK\\Generic\\Plugin\\Weather\\
   Index\\Computer->compute, WeatherStation\\SDK\\Generic\\Plugin\\Weather\\Index\\
   Computer->get_dashboard, WeatherStation\\SDK\\Generic\\Plugin\\Weather\\Index\\
   Computer->update_data_table, WeatherStation\\SDK\\Generic\\Plugin\\Weather\\Index\\
   Computer->update_table, referer: [http://www.XXXXX.dk/wordpress/wp-cron.php?doing_wp_cron=1484604209.9564960002899169921875](http://www.XXXXX.dk/wordpress/wp-cron.php?doing_wp_cron=1484604209.9564960002899169921875)
   [
   Mon Jan 16 23:03:30.811716 2017] [:error] [pid 5073] [client 9x.yyy.zz.2:40546]
   WordPress-database error Column ‘measure_value’ cannot be null for request REPLACE
   INTO `wpparkhoj_live_weather_station_datas` (`device_id`, `device_name`, `module_id`,`
   module_type`, `module_name`, `measure_timestamp`, `measure_type`, `measure_value`)
   VALUES (‘xz:00:00:00:00:01’, ‘Parkh\xc3\xb8j’, ’00:00:00:00:00:01′, ‘NAComputed’,‘[
   Computed Values]’, ‘2017-01-16 22:03:30’, ‘loc_longitude’, NULL) fra do_action_ref_array,
   WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WeatherStation\\
   SDK\\Realtime\\Plugin\\StationUpdater->cron_run, WeatherStation\\SDK\\Realtime\\
   Plugin\\StationUpdater->__run, WeatherStation\\SDK\\Generic\\Plugin\\Weather\\
   Index\\Computer->compute, WeatherStation\\SDK\\Generic\\Plugin\\Weather\\Index\\
   Computer->get_dashboard, WeatherStation\\SDK\\Generic\\Plugin\\Weather\\Index\\
   Computer->update_data_table, WeatherStation\\SDK\\Generic\\Plugin\\Weather\\Index\\
   Computer->update_table, referer: [http://www.XXXXXX.dk/wordpress/wp-cron.php?doing_wp_cron=1484604209.9564960002899169921875](http://www.XXXXXX.dk/wordpress/wp-cron.php?doing_wp_cron=1484604209.9564960002899169921875)`
 * Beside this the pluging is functioning very well. Any easy fix?

Viewing 1 replies (of 1 total)

 *  [Pierre Lannoy](https://wordpress.org/support/users/pierrelannoy/)
 * (@pierrelannoy)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/database-errors-by-cron-script/#post-8662000)
 * HELLO !
 * Thanks !
 * Have a nice day !
 * (spoiler: I’m not a machine)

Viewing 1 replies (of 1 total)

The topic ‘Database errors by cron script’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/live-weather-station_4275b8.svg)
 * [Weather Station](https://wordpress.org/plugins/live-weather-station/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/live-weather-station/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/live-weather-station/)
 * [Active Topics](https://wordpress.org/support/plugin/live-weather-station/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/live-weather-station/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/live-weather-station/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Pierre Lannoy](https://wordpress.org/support/users/pierrelannoy/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/database-errors-by-cron-script/#post-8662000)
 * Status: resolved