An error of type E_ERROR was caused in line 714 of the file DataUnitConversion.php #37
Labels
first time contributor
Issue or PR opened by a first-time contributor to the repository
[Needs] Further research
[Type] Bug
Something isn't working
Milestone
An error of type E_ERROR was caused in line 714 of the file /home/gregobru/public_html/wp-content/plugins/live-weather-station/includes/traits/DataUnitConversion.php. Error message: Uncaught ArgumentCountError: is_numeric() expects exactly 1 argument, 0 given in /home/gregobru/public_html/wp-content/plugins/live-weather-station/includes/traits/DataUnitConversion.php:714
Stack trace:
#0 /home/gregobru/public_html/wp-content/plugins/live-weather-station/includes/traits/DataUnitConversion.php(714): is_numeric()
#1 /home/gregobru/public_html/wp-content/plugins/live-weather-station/includes/traits/DataOutput.php(9321): WeatherStation\UI\Station\Handling->get_wind_angle()
#2 /home/gregobru/public_html/wp-content/plugins/live-weather-station/includes/traits/DataOutput.php(13278): WeatherStation\UI\Station\Handling->output_value()
#3 /home/gregobru/public_html/wp-content/plugins/live-weather-station/includes/classes/StationHelper.php(737): WeatherStation\UI\Station\Handling->get_all_formated_datas()
#4 /home/gregobru/public_html/wp-content/plugins/live-weather-station/includes/classes/StationHelper.php(553): WeatherStation\UI\Station\Handling->add_metaboxes()
#5 /home/gregobru/public_html/wp-includes/class-wp-hook.php(310): WeatherStation\UI\Station\Handling->station_add_options()
#6 /home/gregobru/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#7 /home/gregobru/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /home/gregobru/public_html/wp-admin/admin.php(237): do_action()
#9 {main}
thrown
Using Wordpress 6.3 and local file realtime.txt created by weewx via weewx-crt
Suspect the issue is that weather station is expecting an int but receiving a string but I'm unable to determine where this data is originating
The text was updated successfully, but these errors were encountered: