Mobile App Refresh Campaign [Banner] 2024

Product Icon

Lottery for WooCommerce

Lottery for WooCommerce is a full-featured lottery plugin for creating and managing online lotteries in your WooCommerce Shop.

issue with elementor. Line 722, code breaks site.

Got this error: “The preview could not be loaded”.

Uncaught Error: Call to a member function get_lottery_ticket_count() on null in /public_html/wp-content/plugins/lottery-for-woocommerce/inc/frontend/class-lty-shortcodes.php:722.

When i delete: “return absint( $lottery_product->get_lottery_ticket_count() );” – it works, but only when deleted. However it then does not show the sold ticket count.

Please fix, i am unable to edit the page.



Current Status


Last updated: October 20, 2023


Log in to comment on this feature request.