PHP Fatal error on donation page
-
When I put the shortcode [wcdp_donation_form id=”164226″ style=”3″] into a page and view the page, there is an error message about a critical error on the site. However when I view the donation product directly, it appears normally. The log contains the following:
[19-Dec-2024 02:14:15 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_meta() on null in /var/www/html/wp-content/plugins/woo-payment-gateway/includes/class-wc-braintree-field-manager.php:114
Stack trace: 0 /var/www/html/wp-includes/class-wp-hook.php(324): WC_Braintree_Field_Manager::output_product_checkout_fields() 1 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 2 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /var/www/html/wp-content/plugins/wc-donation-platform/includes/templates/wcdp_step_1.php(123): do_action() 4 /var/www/html/wp-content/plugins/wc-donation-platform/includes/templates/styles/wcdp_form_style_3.php(10): include(‘/var/www/html/w…’) 5 /var/www/html/wp-content/plugins/wc-donation-platform/includes/templates/wcdp_form.php(52): include_once(‘/var/www/html/w…’) 6 /var/www/html/wp-content/plugins/wc-donation-platform/includes/class-wcdp-form.php(115): require_once(‘/var/www/html/w…’) 7 /var/www/html/wp-content/plugins/wc-donation-platform/includes/class-wcdp-f in /var/www/html/wp-content/plugins/woo-payment-gateway/includes/class-wc-braintree-field-manager.php on line 114Any suggestions are welcome. Thanks!
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.