• Resolved dianthusintl

    (@dianthusintl)


    Hi,

    There seems to be a problem with the default page template code in the latest release of Fruitful (1.3).

    There is an error in line 27 that prevent the sidebar menus and footer from displaying. The blog page is fine.

    http://www.yourhealthyweigh.com/about-us/

    Can you please make the previous release available for download, or fix the error?

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Yeah! I confirm that it is. This error comes out when shown Main Sidebar:

    Fatal error: Call to undefined function is_cart() in domen/wp-content/themes/fruitful/page.php on line 27

    In the 1.2 version of the plugin code was:

    <div class="five columns omega">
    <?php get_sidebar('page'); ?>
    </div>

    1.3 version code is:

    <div class="five columns omega">
    <?php if (!(is_cart() || is_checkout() || is_account_page()))
    {get_sidebar('page');} ?>
    </div>

    I temporarily removed the conditional operator IF until the problem is solved by the developer.

    Thread Starter dianthusintl

    (@dianthusintl)

    Yeah, seems to be a problem with the shopping cart/account code.

    I didn’t backup the old version of Fruitful because I’m using a child theme, so thanks for confirming that this was a new bit of code that I can just delete for the time-being so that my site works until they work out this bug.

    It’s great that they added the color options people have been asking for, but this needs to be fixed ASAP!

    Anyway, thanks again!

    Theme Author Fruitful Code

    (@fruitfulcode)

    dianthusintl,

    You can download previous versions here
    http://wordpress.org/themes/fruitful/developers/

    BUTAMUHbI4, dianthusintl

    After what changes you got error?

    Default page template with sidebar
    http://themes.fruitfulcode.com/fruitful/default-template/

    Fruitful Code,
    I have two sites, which are now set your template. ON one site I’ve updated the template from 1.2.1 version, on another installed first. The error was on both sites.

    Fruitful Code,

    This error occurs only in the Main Sidebar (not in the Single Post Sidebar, not in the Blog RIght Sidebar).

    ps: I have no e-commerce plugins like WooCommerce or other.

    Theme Author Fruitful Code

    (@fruitfulcode)

    Sorry for issue. Will be fixed soon.

    Use BUTAMUHbI4 solution to fix the problem

    Thread Starter dianthusintl

    (@dianthusintl)

    Hi Fruitful Code,

    I can confirm that the issue occurs only on the pages using page.php template. It affects display of the main sidebar and footer, but the error text will appear on a webpage using the template even if there are no widgets being used because the error is in the template code (overstating a bit so people using this as a reference will understand that appearance of the error has nothing to do with whether or not the site uses widgets— just that it’s using the page.php template). It happened immediately after I updated from 1.2.1 to 1.3.

    The error states that the issue is line 27, which includes the new call that BUTAMUHbI4 pasted above, thus editing the code fixes the problem for now.

    Thanks for all your work in expanding the capabilities of this theme. It’s one of the best out there.

    Theme Author Fruitful Code

    (@fruitfulcode)

    Issue fixed in 1.3.1
    Theme waiting for approval.

    Fruitful Code,
    There is no such error in version 1.3.1! Thanx!

    ps:
    But I sighted that missing the cyrillic translation of phrases “One thought on” and “thoughts on” in file comments.php on line 33:
    printf( _n( ‘One thought on “%2$s”’, ‘%1$s thoughts on “%2$s”’, get_comments_number(), ‘fruitful’ )

    Thanx! I’ve just had the same issue! Thanks for fixing it so fast!!!

    Where do i download the new update?

    Thanks for fixing the issue, it has also resolved the theme options saving

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error in page.php in new release (1.3)’ is closed to new replies.