Shop Page does not display - Fatal Error (5 posts)

  1. Yuichue
    Posted 2 years ago #

    When I click on "Shop", the list of products does not display anymore and I receive the following error:

    Fatal error: Call to a member function get_gallery_attachment_ids() on a non-object in /home/arthen5/public_html/wp-content/themes/theretailer/woocommerce/content-product.php on line 14

    It was still working fine yesterday. Is it possible to know what is causing this error and how I can fix it ?

    Thank you !


  2. lorro
    Posted 2 years ago #

    Looks like this file is not part of the WooCommerce plugin, its part of a commercial theme so it might be best to seek support from the vendor.

  3. mvaneijgen
    Posted 2 years ago #

    Did you got it working again. I have the same problem right now!

  4. lorro
    Posted 2 years ago #

    As per the forum guidelines, please start a new thread. Please let us know what theme you are using and the url to your Shop page.

  5. akherati
    Posted 1 year ago #

    hi everybody
    i have this problem too.
    and find my mistake.
    i should insert codes in between
    <?php if(have_posts()): the_post();?>

    <?php endif;?>
    it's simple.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic