• The plugin is throwing error notices on certain post pages where $post isn’t already defined. Can resolve this by adding

    global $post above line 131 of alpfie-wp-weather.php

    and changing line 131 of the same file to also check for $post:

    if ( $post && is_active_widget( false, false, $this->id_base ) && !has_shortcode($post->post_content, 'alfie_wp_weather' ) ) {

    https://www.ads-software.com/plugins/alfie-wp-weather/

  • The topic ‘error notices’ is closed to new replies.