Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php Error #2798

Open
aaron843 opened this issue Nov 15, 2024 · 0 comments
Open

php Error #2798

aaron843 opened this issue Nov 15, 2024 · 0 comments

Comments

@aaron843
Copy link

Describe the Bug

error message from php log:

id was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway->process_payment, WooCommerce\PayPalCommerce\WcGateway\Processor\OrderProcessor->process, WooCommerce\PayPalCommerce\WcGateway\Processor\OrderProcessor->handle_new_order_status, WooCommerce\PayPalCommerce\WcGateway\Processor\OrderProcessor->handle_capture_status, WC_Order->payment_complete, WC_Order->save, WC_Order->status_transition, do_action('woocommerce_order_status_pending_to_processing'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array('woocommerce_order_status_pending_to_processing_notification'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_subject, apply_filters('woocommerce_email_subject_new_order'), WP_Hook->apply_filters, custom_email_subject, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.

To Reproduce

  1. Purchase with PayPal

Screenshots

Expected Behavior

No error messages

Actual Behavior

Error message

Environment

  • WordPress Version 6.7
  • WooCommerce Version 9.3.3
  • Plugin Version 2.9.3
  • Browser [e.g. Chrome, Safari] and Version NA
  • Any other plugins installed

Additional Details

System status
<!--If applicable, paste the system status here. Please ensure you redact or remove any identifying information. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant