WordPress.org

Forums

Flare
JS error if page template lacks `the_content()` (1 post)

  1. Mridul Aggarwal
    Member
    Posted 1 year ago #

    In a theme that i was working on, i got a JS Error "TypeError: offset is undefined" in firefox.

    Due to this error the other scripts on the page also stopped working.
    This happened on a custom page template which was lacking the call to the_content(). A simple addition of <div style="display:none;"><?php the_content() ?></div> inside the page template's code, was able to resolve the error.

    I think that flare should silently fail in case the page doesn't have any content output on the frontend. I haven't gone in depth on this but am willing to help provide any other information needed. I'm using v1.2.4

    ThankYou

    http://wordpress.org/plugins/flare/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Flare
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags