• Resolved Cosmin T.

    (@cosmindan22)


    Hello

    All of a sudden I can’t edit the templates anymore and I am getting this in the PHP error log. I appreciate the help.

    Thank you

    #23 {main}
      thrown in /home/djc9ild/public_html/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php on line 545
    [07-Jun-2023 11:26:12 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_meta() on bool in /home/djc9ild/public_html/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php:545
    Stack trace:
    #0 /home/djc9ild/public_html/wp-includes/class-wp-hook.php(308): THWCFD_Public_Checkout->display_custom_fields_in_emails()
    #1 /home/djc9ild/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #2 /home/djc9ild/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(488): apply_filters()
    #3 /home/djc9ild/public_html/wp-includes/class-wp-hook.php(310): WC_Emails->order_meta()
    #4 /home/djc9ild/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #5 /home/djc9ild/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #6 /home/djc9ild/public_html/wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/customer-completed-order.php(50): do_action()
    #7 /home/djc9ild/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/djc9ild/p...')
    #8 /home/djc9ild/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template()
    #9 /home/djc9ild/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-completed-order.php(109): wc_get_template_html()
    #10 /home/djc9ild/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): WC_Email_Customer_Completed_Order->get_content_html()
    #11 /home/djc9ild/public_html/wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php(740): WC_Email->get_content()
    #12 /home/djc9ild/public_html/wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php(780): Kadence_Woomail_Preview::get_preview_email()
    #13 /home/djc9ild/public_html/wp-content/plugins/kadence-woocommerce-email-designer/preview.php(40): Kadence_Woomail_Preview::print_preview_email()
    #14 /home/djc9ild/public_html/wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php(200): include('/home/djc9ild/p...')
    #15 /home/djc9ild/public_html/wp-includes/class-wp-hook.php(308): Kadence_Woomail_Preview->set_up_preview()
    #16 /home/djc9ild/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #17 /home/djc9ild/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    #18 /home/djc9ild/public_html/wp-includes/class-wp.php(399): do_action_ref_array()
    #19 /home/djc9ild/public_html/wp-includes/class-wp.php(780): WP->parse_request()
    #20 /home/djc9ild/public_html/wp-includes/functions.php(1334): WP->main()
    #21 /home/djc9ild/public_html/wp-blog-header.php(16): wp()
    #22 /home/djc9ild/public_html/index.php(17): require('/home/djc9ild/p...')
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gilbert Hernandez

    (@ghernkadence)

    Hello @cosmindan22

    The error code reads:

    Uncaught Error: Call to a member function get_meta() on bool in /home/djc9ild/public_html/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php:545

    Have you tried disabling the Woo Checkout Field Editor Pro plugin to see if that resolves the issue? We recommend following our troubleshooting article, which includes clearing your cache and checking for conflicts with other plugins. To test for conflicts, use the troubleshooting plugin to enable all plugins except the field editor and see if the problem still occurs. If so, you may need to contact WooCommerce support to find out what causes the error.

    Thread Starter Cosmin T.

    (@cosmindan22)

    Hey Gilbert

    Wasn’t sure from which plugin exactly was the issue so I posted on both plugin threads. Disabling the field editor solved it.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP errors all of a sudden’ is closed to new replies.