WordPress.org

Forums

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

  1. Yuichue
    Member
    Posted 1 year 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 !

    https://wordpress.org/plugins/woocommerce/

  2. lorro
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

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

  4. lorro
    Member
    Posted 1 year ago #

    @mvaneijgen
    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
    Member
    Posted 5 months 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 - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags