olsyrova
Forum Replies Created
-
Forum: Plugins
In reply to: [wp-forecast] Error with widget displayhi @tuxlog, I still have the issue with saving lat and lon parameters in my multisite setup. I deactivated all plugins, switched to default theme, tried in all browsers. Still same issue. Then I digged into the code a bit and commented out line 638 in wp-forecast-admin.php and after this I could store the values.
foreach ( $wpf_admin_fields as $k ) {
//if ( ! $ismulti || isset( $allowed[ 'ue_' . $k ] ) ) {
$av[ $k ] = sanitize_text_field( wp_unslash( $_POST[ $k ] ) );
$upflag = true;
//}
}Forum: Plugins
In reply to: [wp-forecast] wp-forecast does not activatehi, I have exactly same issue with activating the plugin in my multisite setup :
Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpf_update_option(), 1 passed in /var/www/html/wp-content/plugins/wp-forecast/wpf-setup.php on line 50 and exactly 2 expected in /var/www/html/wp-content/plugins/wp-forecast/funclib.php:201 Stack trace: #0 /var/www/html/wp-content/plugins/wp-forecast/wpf-setup.php(50): wpf_update_option(Array) #1 /var/www/html/wp-includes/class-wp-hook.php(310): wp_forecast_activate('') #2 /var/www/html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #3 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /var/www/html/wp-admin/plugins.php(194): do_action('activate_wp-for...') #5 {main} thrown in /var/www/html/wp-content/plugins/wp-forecast/funclib.php on line 201
Should I adjust the value of “active_plugins” in each of my subsites in multisite?
- This reply was modified 1 year, 2 months ago by olsyrova.
Forum: Plugins
In reply to: [wp-forecast] Error with widget displayhi tuxlog, thank you for the quick reply!
since my OpenWeatherMapv3 key does not (yet?) work, I tried to use open-meteo again. Just wondering if open-meteo API also fetches night temperature? I used to display forecast for 3 days in a format “day / night temperature”. Now I am only getting day temperature and wondering if night temperatures are not returned by open-meteo and rather need to wait for OpenWeatherMapv3 activated.
Forum: Plugins
In reply to: [wp-forecast] Error with widget displayJust figured out that the issue only occurs in google chrome, I can save long and lat as expected in firefox.
Question : if I would like to use openweathermap, what is the minimum pricing plan that I need to subscribe to for API to work? I created a free API key, it does not seem sufficient, the API call result in “Invalid API key”. Should I subscribe to “One Call by Call” subscription plan? Is there any difference if I subscribe to an API key One Call API 3.0 or 2.5?
Forum: Plugins
In reply to: [wp-forecast] Error with widget displayhi tuxlog, thank you for updating the plugin!
I have updated to the latest version, but still do not receive weather data, in the inspector tool in browser I see : No OpenMeteo data available.
I tried to set longitude and latitude manually, but after I click on “Save settings” and the window reloads, the values just disappear. Do you have an idea what could be the reason?
Connection test is successful. One note : I use wordpress multisite setup.
Forum: Plugins
In reply to: [wp-forecast] Error with widget displaylooking forward to the plugin update! thanks a lot for maintaining it!
Forum: Plugins
In reply to: [wp-forecast] Error with widget displaythanks a lot for the quick response!
Just confirming, by using Openweathermap as an alternative you mean the second option from the dropdown in the plugin settings, which is called dark sky, right?
Forum: Plugins
In reply to: [wp-forecast] Error with widget displayI am facing the same problem, weather widget does not display data since yesterday afternoon. I checked the output of
wp_forecast_data($wpfcid, $wpf_language);
in debug.log. Looks like the API is being called, but the JSON fields are not set as expected, e.g.
[fc_dt_icon_1] => icons/.gif
or
[fc_dt_htemp_1] => °