Fatal Error
-
Hello,
I build a website with WP, Astra Theme and Elementor PRO. I created a product cycle item and added a sale badge via a shortcode. However, when I try to edit my archive product page, the site crashes with this error message:
Uncaught Exception: Cannot construct an instance of AsanaPlugins\WooCommerce\SaleBadges\Badges because it has not been registered.
More information about the error
======================
Error Type: E_ERROR, rasta eilut?je 95, faile /home/customer/www/agnevaitekunaite.lt/public_html/wp-content/plugins/easy-sale-badges-for-woocommerce/src/Registry/Container.php. Klaidos prane?imas: Uncaught Exception: Cannot construct an instance of AsanaPlugins\WooCommerce\SaleBadges\Badges because it has not been registered. in /home/customer/www/agnevaitekunaite.lt/public_html/wp-content/plugins/easy-sale-badges-for-woocommerce/src/Registry/Container.php:95
Stack trace:
#0 /home/customer/www/agnevaitekunaite.lt/public_html/wp-content/plugins/easy-sale-badges-for-woocommerce/src/Helpers.php(136): AsanaPlugins\WooCommerce\SaleBadges\Registry\Container->get(‘AsanaPlugins\\Wo…’)
#1 /home/customer/www/agnevaitekunaite.lt/public_html/wp-content/plugins/easy-sale-badges-for-woocommerce/src/ShortCode/BadgeShortCode.php(26): AsanaPlugins\WooCommerce\SaleBadges\display_sale_badges(Object(WC_Product_Simple), false, true)
#2 /home/customer/www/agnevaitekunaite.lt/public_html/wp-includes/shortcodes.php(433): AsanaPlugins\WooCommerce\SaleBadges\ShortCode\BadgeShortCode::output(Array, ”, ‘asnp_badge’)
#3 [internal function]: do_shortcode_tag(Array)
#4 /home/customer/www/agnevaitekunaite.lt/public_html/wp-includeWhat it is wrong with the plugin? Is it not compitable with Elementor, Elementor Pro? Could you solve this problem?
Best regards,
Ausra
- The topic ‘Fatal Error’ is closed to new replies.