WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. geo2arc
    Member
    Posted 8 months 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!

    http://wordpress.org/plugins/easy/

  2. 2046
    Member
    Plugin Author

    Posted 8 months 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
    http://2046.cz/easy/general#anchor-3

  3. geo2arc
    Member
    Posted 6 months 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
    Member
    Plugin Author

    Posted 6 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags