WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Mridul Aggarwal
    Member
    Posted 8 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 8 months ago by Mridul Aggarwal
  • This topic is not resolved
  • WordPress version: 3.6

Tags