Support » Plugin: Timed Content » notice of undefined offset

  • Resolved abrunger


    Recently we started getting notices on my website at the bottom of the page:

    Notice: Undefined offset: 0 in /home/coupleso/public_html/wp-content/plugins/timed-content/timed-content.php on line 973

    My developer said we cannot fix it, but suggested you may need to check if the value returned is array or not, before accessing it.

    We have currently hidden the notices by turning wp_debug off, but I wanted to let you guys know about it.

    There were two such notices because we use two instances of your shortcode.
    Here is one instance:

    [timed-content-rule id="2570"]
    <a href="tel:+1-778-827-1033"><img src="" alt="Click to call (778) 827-1033" /></a>

    (There is also some javascript to hide or show the element based on scroll position.)

    The rule description for id=”2570″ is:

    Show the content on 2019-06-26 @ 10:00 until 2019-06-26 @ 22:00.
    Repeat this action every day.
    This rule will be active for 2999 recurrences.
    All times are in the America/Vancouver timezone.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.