Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #613244

    Michael H
    Participant

    Hi there,

    I use X Theme with WooCommerce and it works well.
    Only one thing doesn`t work.

    I work with the shortcode for product page.
    WooCommerce own shortcodes: https://docs.woothemes.com/document/woocommerce-shortcodes/
    This one: [product_page id=”246″]
    On this page: http://247shake.21daysmarketing.net/produkte/

    Here we got an fatal error. But on cornerstone page it works well. Only on frontend it shows the error.
    Did you have an idea, whats the issue?

    Thanks
    Michael

    #613340

    Nabeel A
    Moderator

    Hi There,

    Thanks for writing in! Which version of WooCommerce you’re using? Please make sure you update your theme and plugins to the latest version. You can find the latest version numbers here: (http://theme.co/changelog/) Then you can compare them to what’s installed on your site.

    If you find anything to be out of date, you can review our update guide. Currently supported version of WooCommerce is v2.4.7

    Thanks!

    #613356

    Michael H
    Participant

    Hi there,

    thanks for your answer.

    All on the latest version:
    XVersion: 4.1.1
    Version 2.4.7

    I deactivated for test all plugins, but same error.
    Any idea?

    Thanks
    Michael

    #613362

    Michael H
    Participant

    same on new clean site without cornerstone.
    This is error:

    Fatal error: Call to a member function get_upsells() on a non-object in /www/htdocs/w01386a3/247shake.21daysmarketing.net/wp-content/themes/x/woocommerce/single-product/up-sells.php on line 15

    #613409

    Zeshan
    Member

    Hi Michael,

    Thanks for writing in!

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #614292

    Michael H
    Participant
    This reply has been marked as private.
    #614429

    Paul R
    Moderator

    Hi Michael,

    We also need your FTP login to be able to check on this.

    Please make a post with the following info:

    – FTP Host
    – FTP Username
    – FTP password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks

    #614471

    Michael H
    Participant
    This reply has been marked as private.
    #614534

    Paul R
    Moderator

    Hi Michael,

    Thank you for providing your ftp login credentials.

    I will forward this to our web development team as a bug.

    For now I have temporarily fix it by editing the up-sell.php file.

    Kindly check on your end.

    Thanks

    #614557

    Michael H
    Participant

    Hi There,

    many thanks for your help.
    This works well. Now I can adjust view by css.

    If X Theme Update, this error comes again?

    Thanks
    Michael

    #614609

    Paul R
    Moderator

    Hi Michael,

    I have copied over the file to your child theme so it won’t get overwritten on theme update.

    Thanks for pointing that out.

    Have a great day! 🙂

    #614885

    Michael H
    Participant

    Many thanks for your support.
    Have a great day, too! 🙂

    #614964

    Darshana
    Moderator

    Glad we were able to help 🙂

    #683035

    tucantravis
    Participant

    Hello, I know this is an older thread but it so happens I have the EXACT same problem. Additionally it seems my theme or css isn’t working as well. I use x theme with woocommerce and cornerstone. No matter where I insert my shortcode (the shortcode product_page only, others work) it doesn’t style and adds the error. I’ve entered the shortcode in cornerstone within a text element and a raw element, I’ve inserted it as text on an edit page within wordpress as well.

    My test page is aiuto-glass.com/testproduct, where I made an empty page and simply put
    [product_page sku=”1111″].

    The displayed elements are there, but there is little to no styling happening, and at the bottom of the page it also displays:
    “Fatal error: Call to a member function get_upsells() on a non-object in /home2/aiutoglass/public_html/wp-content/themes/x/woocommerce/single-product/up-sells.php on line 15”

    I will post my other information such as FTP in the post below.
    Thanks for you help! I will open a new thread if needed.

    #683038

    tucantravis
    Participant
    This reply has been marked as private.