is_page() error in class-wpsolr-plugin-woocommerce.php resulting in null-object
-
wpsolrKeymaster7 years, 7 months 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
wpsolrKeymaster7 years, 7 months ago #10866Please find the new fix download link below.
https://www.dropbox.com/s/cuev4zgncf5ftmw/wpsolr-pro-fix-home-shop-1.zip?dl=0
wpsolrKeymaster7 years, 7 months 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?
leomoonParticipant7 years, 7 months 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.wpsolrKeymaster7 years, 7 months ago #10877Trying to follow your stack trace error.
While debugging, I cannot go after
ActivePayments->woocommerce_cart_calculate_fees( ) .../class-wp-hook.php:286Any idea how to continue like your site on
WooCommerce->payment_gateways( ) .../activepayments.php:104
You must be logged in to reply to this topic.