is_page() error in class-wpsolr-plugin-woocommerce.php resulting in null-object
- wpsolrKeymaster5 years ago #10861
I detected a similar problem when the home page is defined as the static shop page with the Customizer. It’s fixed in the download link below. Let me know if it works for you.
https://www.dropbox.com/s/sjhu1cl9t3518xp/wpsolr-pro-fix-home-shop.zip?dl=0
wpsolrKeymaster5 years ago #10866Please find the new fix download link below.
https://www.dropbox.com/s/cuev4zgncf5ftmw/wpsolr-pro-fix-home-shop-1.zip?dl=0
wpsolrKeymaster5 years ago #10872Tested ok locally with your plugin and theme.
Can you deactivate, remove, and install https://www.dropbox.com/s/cuev4zgncf5ftmw/wpsolr-pro-fix-home-shop-1.zip?dl=0 again?
leomoonParticipant5 years ago #10874Further, get_queried_object() function, in the first line:
if ( isset( $this->queried_object ) ) {
return $this->queried_object;
}
… returns a valid object if WPSOLR is deactivated. If WPSOLR is active, it goes further into a function and still returns null ultimately. I guess $this->queried_object should have a valid value.
You must be logged in to reply to this topic.