Fatal error: Uncaught Error: Call to a member function get_permalink() on null
in /var/www/wp-content/plugins/raffle-ticket-generator-gold/includes/functions/raffle-products.php on line 57
Call stack:
rtg_product_add_to_cart_url()
wp-includes/class-wp-hook.php:287WP_Hook::apply_filters()
wp-includes/plugin.php:212apply_filters()
wp-content/plugins/woocommerce/includes/class-wc-product-simple.php:51WC_Product_Simple::add_to_cart_url()
wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php:463Automattic\W\B\B\AbstractProductGrid::get_add_to_cart()
wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php:438Automattic\W\B\B\AbstractProductGrid::get_button_html()
wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php:325Automattic\W\B\B\AbstractProductGrid::render_product()
array_map()
wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php:72Automattic\W\B\B\AbstractProductGrid::render()
wp-includes/class-wp-block.php:221WP_Block::render()
wp-includes/blocks.php:722render_block()
wp-includes/blocks.php:760do_blocks()
wp-includes/class-wp-hook.php:287WP_Hook::apply_filters()
wp-includes/plugin.php:212apply_filters()
wp-includes/post-template.php:253the_content()
wp-content/themes/storefront/inc/storefront-template-functions.php:352storefront_page_content()
wp-includes/class-wp-hook.php:287WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311WP_Hook::do_action()
wp-includes/plugin.php:484do_action()
wp-content/themes/storefront/content-page.php:18require()
wp-includes/template.php:732load_template()
wp-includes/template.php:676locate_template()
wp-includes/general-template.php:204get_template_part()
wp-content/themes/storefront/template-fullwidth.php:21include()
wp-includes/template-loader.php:106require_once()
wp-blog-header.php:19require()
index.php:17