WooCommerce 4.4.1 Archive Pages not showing products

  • ukatr
    Participant
    3 years, 7 months ago #21545

    Yes, no other error!

    wpsolr
    Keymaster
    3 years, 7 months ago #21548

    Then can you show me the full error in debug.log (clear the log before), when you’re displaying the shop?

    ukatr
    Participant
    3 years, 7 months ago #21551

    Sorry, this problem does not write any errors in the log!

    wpsolr
    Keymaster
    3 years, 7 months ago #21552

    Do you have products in your Elasticsearch index?

    ukatr
    Participant
    3 years, 7 months ago #21553

    of course. If you give me an email address or if I have a chance to create a private ticket I can give you the password of the admin panel.

    wpsolr
    Keymaster
    3 years, 7 months ago #21554

    Can you connect to the chat box and upload your WPSOLR plugin version, so I can test it?

    ukatr
    Participant
    3 years, 7 months ago #21555

    After upgrading to php 7.4, the following errors started to appear on the product archive pages.

    Notice: Trying to access array offset on value of type null in /home/…/…/public_html/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/extensions/suggestions/class-wpsolr-option-suggestions.php on line 168

    Notice: Trying to access array offset on value of type int in /home/…/…/public_html/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractsearchclient.php on line 2911

    Did you test the version I sent you?

    wpsolr
    Keymaster
    3 years, 7 months ago #21556

    Please check that your Shop page is set on WooCommerce > Settings > Products. It could explain the “PHP Notice: Trying to get property ‘ID’ of non-object ” errors.

    wpsolr
    Keymaster
    3 years, 7 months ago #21557

    I did not receive your version.

    ukatr
    Participant
    3 years, 7 months ago #21558

    I sent it yesterday with zoom

    wpsolr
    Keymaster
    3 years, 7 months ago #21559

    The Zoom session stopped before the file arrived.

    wpsolr
    Keymaster
    3 years, 7 months ago #21562

    Here is a fixed version tested with WP 5.5 and PHP 7.4 and WooCommerce 4.4.1:
    https://www.dropbox.com/s/oym1g0t5raltky5/wpsolr-pro-wp5.5-php7.4-2.zip?dl=0

    – Fix for WooCommerce 4.4.x showing no results in products archives
    – Fix for Elasticsearch, Solr
    – Fix for Solr quotes in filters errors.

    • This reply was modified 3 years, 7 months ago by wpsolr.
    • This reply was modified 3 years, 7 months ago by wpsolr.
    ukatr
    Participant
    3 years, 7 months ago #21605

    Thank you, I downloaded and installed the plugin. Products are now listed.
    however, these errors still appear on the homepage;
    Notice: Trying to get property ‘ID’ of non-object in /home/…/…/public_html/wp-includes/class-wp-query.php on line 4019
    Notice: Trying to get property ‘post_title’ of non-object in /home/…/…/public_html/wp-includes/class-wp-query.php on line 4021
    Notice: Trying to get property ‘post_name’ of non-object in /home/…/…/public_html/wp-includes/class-wp-query.php on line 4023

    wpsolr
    Keymaster
    3 years, 7 months ago #21606

    Can you please create a new topic for this issue?

    wpsolr
    Keymaster
Viewing 15 posts - 31 through 45 (of 45 total)

You must be logged in to reply to this topic.