Support » Plugins and Hacks » Easy » Theme structure breaks when Easy loop is empty

Theme structure breaks when Easy loop is empty

  • 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!


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author 2046


    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


    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.

    Plugin Author 2046


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme structure breaks when Easy loop is empty’ is closed to new replies.
Skip to toolbar