Theme structure breaks when Easy loop is empty (4 posts)

  1. geo2arc
    Posted 2 years ago #

    Hi, I am using Gantry framework theme and have Easy widgets in content bottom and sidebar.
    When a widgets's loop is empty (for example I go to a page that has no related content to display or in a category view with no articles)my theme structure breaks. Empty divs of the Easy widget are created alongside the theme columns, not inside them!
    When Easy loops are not empty and return some content then everything works well.
    Thank you!


  2. 2046
    Plugin Author

    Posted 2 years ago #

    what version you use? and also what scafolding type you use..
    If you use the default scafolding, it might produce extra divs though there is no content, that is how default WP widgets works.. although an empty div should not brake your theme anyway.. mostly ;)

    I suggest you to use one of the others scafolding types
    more on that here

  3. geo2arc
    Posted 2 years ago #

    The plugin now works fine. I don't know if the problem was an invalid query or an incompatible plugin, but it is gone... Thanks for your help!

    I get another problem though. After moving the site to a new server, I can't enable the plugin and I get a "Fatal error: Class 'Easy_2046_builder' not found in /var/www/wp-content/plugins/easy/2046-easy.php on line 34". I've tried re-installing WP (v.3.8.1), deleting and reisntalling easy from wordpress or github version through WP panel or FTP and changing theme but nothing works.

  4. 2046
    Plugin Author

    Posted 2 years ago #

    the function is the core of the whole plugin and therefore must exist... if the all files exists.
    Delete all the files of the plugin, and install it again from the wordpress repository. The github version shouldn't be necessary the most recent.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic