WooCommerce 4.4.1 Archive Pages not showing products
- ukatrParticipant4 years 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?
wpsolrKeymaster4 years ago #21562Here 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.ukatrParticipant4 years ago #21605Thank 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 4023wpsolrKeymaster
You must be logged in to reply to this topic.