ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Weather Plugin

April 11, 2012 3:16pm

Subscribe [1]
  • #1 / Apr 11, 2012 3:16pm

    This question may be related to a resolved thread.

    I’m using this plugin on a new site and it’s randomly giving me the following errors on the front end of the site:

    PHP Error was encountered

    Severity: Notice

    Message: Undefined offset: 2

    Filename: world_weather/pi.world_weather.php

    Line Number: 914

    The template code is in a snippet and contains this:

    Current Weather: <strong>{exp:world_weather:current station="CYYZ" cache_refresh="300"}{sky_condition} {temperature_c}°C{/exp:world_weather:current}</strong>
  • #2 / Apr 12, 2012 12:10pm

    Dan Decker

    7338 posts

    Hi LMA Communications,

    I’m sorry you are seeing these errors with the World Weather plugin!

    Are your visitors seeing these errors or just you when logged in as a Super Admin?

    By default, non Super Admins should not be seeing PHP errors.

    As to the randomness, can you observe any factors that trigger this?

    Cheers,

  • #3 / Apr 12, 2012 12:25pm

    Dan,

    The site is still in development and at this point I haven’t noticed any sort of pattern or consistency. Right now, for instance, I’m not getting any errors.

  • #4 / Apr 13, 2012 3:57pm

    Dan Decker

    7338 posts

    Hi LMA Communications,

    When you don’t see the errors, are you not logged in? For instance, if you login to the Control Panel, and visit the site, do you see the error? Then, log out of the Control Panel and visit the site, are the errors gone?

    When the errors are absent, is the data displayed correctly?

    There are a few alternatives on Devot:ee, if you’re interested.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases