Fatal error. Cannot access protected property
-
Hello,
we keep getting a fatal error message when invoices are sent to the customer in woocommerce.
——————————————————
Fatal Error: Uncaught Error: Cannot access protected property Vendidero\StoreaBill\Invoice\Simple::$id in /home/xxx/www.xxx.de/wp-content/plugins/woocommerce-jetpack/includes/class-wcj-product-by-user.php:81
Stack trace:
#0 /home/xxx/www.xxx.de/wp-includes/class-wp-hook.php(309): WCJ_Product_By_User->sendemail_to_productowner_order_place_successfully(‘Content-Type: t…’, ‘sab_simple_invo…’, Object(Vendidero\StoreaBill\Invoice\Simple))
#1 /home/xxx/www.xxx.de/wp-includes/plugin.php(189): WP_Hook->apply_filters(‘Content-Type: t…’, Array)
#2 /home/xxx/www.xxx.de/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(425): apply_filters(‘woocommerce_ema…’, ‘Content-Type: t…’, ‘sab_simple_invo…’, Object(Vendidero\StoreaBill\Invoice\Simple), Object(Vendidero\StoreaBill\Emails\SimpleInvoice))
#3 /home/xxx/www.xxx.de/wp-content/plugins/woocommerce-germanized-pro/packages/storeabill/src/Emails/Document.php(117): WC_Email->get_headers()
#4 /home/`——————————————————
WordPress-Version 5.9.3
Activated Theme Theme: Avada (Version 7.7.1)
Activated Plugin: Booster for WooCommerce (Version 5.5.8)
PHP-Version 7.4.29This error occurs while using the Plugin “Booster for WooCommerce” and “Germanized Pro”.
We already reached out to the Germanized Pro Support of course. They said the following:
“You can see from the error stack that this is a problem with the WooCommerce booster plugin. There it seems that certain checks are carried out and unfortunately not checked properly, so that a fatal error occurs.”
Could you check if this is a bug and possibly fix it? Thanks!
- The topic ‘Fatal error. Cannot access protected property’ is closed to new replies.