Receiving fatal error while making use of the Email Designer from BF.
Stack trace below:
PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /wp-content/plugins/bricksforge/includes/email-designer/EmailDesigner.php:328
Stack trace:
#0 /wp-content/plugins/bricksforge/includes/email-designer/EmailDesigner.php(328): method_exists(Array, ‘get_id’)
#1 /wp-includes/class-wp-hook.php(326): Bricksforge\EmailDesigner->set_wc_header(‘Brf-Type: WooCo…’, ‘backorder’, Array)
#2 /wp-includes/plugin.php(205): WP_Hook->apply_filters(‘’, Array)
#3 /wp-content/plugins/woocommerce/includes/class-wc-emails.php(779): apply_filters(‘woocommerce_ema…’, ‘’, ‘backorder’, Array, NULL)
#4 /wp-includes/class-wp-hook.php(324): WC_Emails->backorder(Array)
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(‘’, Array)
#6 /wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#7 /wp-content/plugins/woocommerce/includes/class-wc-emails.php(172): do_action_ref_array(‘woocommerce_pro…’, Array)
#8 /wp-includes/class-wp-hook.php(324): WC_Emails::send_transactional_email(Array)
#9 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(‘’, Array)
#10 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /wp-content/plugins/woocommerce/includes/wc-stock-functions.php(253): do_action(‘woocommerce_pro…’, Array)
#12 /wp-content/plugins/woocommerce/includes/wc-stock-functions.php(218): wc_trigger_stock_change_notifications(Object(Automattic\WooCommerce\Admin\Overrides\Order), Array)
#13 /wp-content/plugins/woocommerce/includes/wc-stock-functions.php(107): wc_reduce_stock_levels(10829)
#14 /wp-includes/class-wp-hook.php(326): wc_maybe_reduce_stock_levels(10829)
#15 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#16 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#17 /wp-content/plugins/woocommerce/includes/class-wc-order.php(411): do_action(‘woocommerce_ord…’, 10829, Object(Automattic\WooCommerce\Admin\Overrides\Order), Array)
#18 /wp-content/plugins/woocommerce/includes/class-wc-order.php(253): WC_Order->status_transition()
#19 /wp-content/plugins/woocommerce/includes/class-wc-order.php(151): WC_Order->save()
#20 /wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php(893): WC_Order->payment_complete(‘153624454’)
#21 /wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php(773): WC_Gateway_PayFast->handle_itn_payment_complete(Array, Object(Automattic\WooCommerce\Admin\Overrides\Order), Array)
#22 /wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast.php(557): WC_Gateway_PayFast->handle_itn_request(Array)
#23 /wp-includes/class-wp-hook.php(324): WC_Gateway_PayFast->check_itn_response(‘’)
#24 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(‘’, Array)
#25 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#26 /wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action(‘woocommerce_api…’)
#27 /wp-includes/class-wp-hook.php(324): WC_API->handle_api_requests(Object(WP))
#28 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#29 /wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#30 /wp-includes/class-wp.php(418): do_action_ref_array(‘parse_request’, Array)
#31 /wp-includes/class-wp.php(813): WP->parse_request(‘’)
#32 /wp-includes/functions.php(1336): WP->main(‘’)
#33 /wp-blog-header.php(16): wp()
#34 /index.php(17): require(‘/usr/www/users/…’)
#35 {main} thrown in /wp-content/plugins/bricksforge/includes/email-designer/EmailDesigner.php on line 328