Fatal error upon checkout
-
I was testing my WooCommerce store and when I checked out, I received below fatal error message. Appreciate your help to resolve this, thanks.
Fatal error: Uncaught TypeError: Argument 1 passed to WC_Payments_Order_Success_Page::add_notice_previous_paid_order() must be of the type string, null given, called in /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php on line 310 and defined in /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php:80 Stack trace: #0 /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php(310): WC_Payments_Order_Success_Page->add_notice_previous_paid_order(NULL) #1 /home/thegensi/staging.thegensilver.com/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #2 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(42): apply_filters(‘woocommerce_tha…’, ‘\xE8\xAC\x9D\xE8\xAC\x9D\xEF\xBC\x8C\xE6\x88\x91\xE5\x80\x91…’, Object(Automattic\WooCommerce\Admin\Overrides\Order)) #3 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/includes/wc-core-functions. in /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.
The page I need help with: [log in to see the link]
-
Hi @cathylky
Thanks for reaching out!
I understand that you received the error message above after placing an order on your site, correct?
Checking the error logs, this is pointing to the WooCommerce Payments plugin, however, checking your site’s checkout page, I am only seeing the payment gateways: Stripe and Direct Bank Transfer (BACS) as shown below:
I’d like to understand your site properly, please share your System Status Report that you can find via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.If you could also provide the complete fatal error logs (if any) under
WooCommerce > Status > Logs
.You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Thanks!
System report:
### WordPress Environment ### WordPress address (URL): https://www.staging.thegensilver.com Site address (URL): https://www.staging.thegensilver.com WC Version: 7.4.1 REST API Version: ? 7.4.1 WC Blocks Version: ? 9.4.4 Action Scheduler Version: ? 3.5.4 Log Directory Writable: ? WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: ? WP Cron: ? Language: zh_TW External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.33 PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.84.0 OpenSSL/1.1.1p SUHOSIN Installed: – MySQL Version: 8.0.32-cll-lve Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.4.1 WC Database Prefix: wp_ Total Database Size: 39.70MB Database Data Size: 30.40MB Database Index Size: 9.30MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.28MB + Index: 0.41MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.20MB + Index: 0.16MB + Engine InnoDB wp_aioseo_cache: Data: 0.11MB + Index: 0.03MB + Engine InnoDB wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_aioseo_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_bp_activity: Data: 0.02MB + Index: 0.16MB + Engine InnoDB wp_bp_activity_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_bp_groups: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_bp_groups_groupmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_bp_groups_members: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_bp_invitations: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wp_bp_messages_messages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_bp_messages_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_bp_messages_notices: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_bp_messages_recipients: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_bp_notifications: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_bp_notifications_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_bp_optouts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_bp_xprofile_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_bp_xprofile_fields: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_bp_xprofile_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_bp_xprofile_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gamipress_admin_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gamipress_admin_emails_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_conditional_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gamipress_conditional_emails_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_conditional_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gamipress_conditional_notifications_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_congratulations_popups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gamipress_congratulations_popups_displays: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_congratulations_popups_displays_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_congratulations_popups_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_coupon_notes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gamipress_coupon_notes_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_coupon_rewards: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_coupon_rewards_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_coupons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gamipress_coupons_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_logs: Data: 0.19MB + Index: 0.16MB + Engine InnoDB wp_gamipress_logs_meta: Data: 0.33MB + Index: 0.27MB + Engine InnoDB wp_gamipress_nomination_votes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_gamipress_nomination_votes_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_nominations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_nominations_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_payment_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_payment_items_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_payment_notes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gamipress_payment_notes_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_payments: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gamipress_payments_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_points_cards: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_points_cards_commerces: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gamipress_points_cards_commerces_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_points_cards_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_points_payouts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gamipress_points_payouts_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_submissions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_submissions_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_transfer_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_transfer_items_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_transfer_notes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gamipress_transfer_notes_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_transfers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_transfers_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gamipress_user_earnings: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_gamipress_user_earnings_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_budget_recommendations: Data: 0.20MB + Index: 0.11MB + Engine InnoDB wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jetpack_waf_blocklog: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_scheduled_tasks: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mepr_events: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mepr_jobs: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wp_mepr_members: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_mepr_rule_access_conditions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mepr_subscription_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mepr_subscriptions: Data: 0.02MB + Index: 0.30MB + Engine InnoDB wp_mepr_tax_rate_locations: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mepr_tax_rates: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wp_mepr_transaction_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mepr_transactions: Data: 0.02MB + Index: 0.33MB + Engine InnoDB wp_options: Data: 7.39MB + Index: 0.16MB + Engine InnoDB wp_pmpro_discount_codes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_pmpro_discount_codes_levels: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_pmpro_discount_codes_uses: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_pmpro_membership_levelmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_pmpro_membership_levels: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_pmpro_membership_ordermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_pmpro_membership_orders: Data: 0.02MB + Index: 0.20MB + Engine InnoDB wp_pmpro_memberships_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_pmpro_memberships_pages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_pmpro_memberships_users: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxe_google_cats: Data: 0.38MB + Index: 0.00MB + Engine InnoDB wp_pmxe_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pollsa: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pollsip: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_pollsq: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 6.52MB + Index: 0.55MB + Engine InnoDB wp_posts: Data: 7.52MB + Index: 0.19MB + Engine InnoDB wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_analytics_gsc: Data: 0.08MB + Index: 0.13MB + Engine InnoDB wp_rank_math_analytics_inspections: Data: 0.05MB + Index: 0.11MB + Engine InnoDB wp_rank_math_analytics_objects: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_links: Data: 0.09MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shortpixel_postmeta: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_shortpixel_queue: Data: 0.14MB + Index: 0.09MB + Engine InnoDB wp_signups: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_stm_lms_curriculum_bind: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_curriculum_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_stm_lms_user_answers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_user_cart: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_user_chat: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_user_conversation: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_user_courses: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_user_lessons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_user_quizzes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_user_quizzes_times: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_user_searches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stm_lms_user_searches_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tutor_earnings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tutor_email_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tutor_gradebooks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tutor_gradebooks_results: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tutor_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tutor_quiz_attempt_answers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tutor_quiz_attempts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tutor_quiz_question_answers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tutor_quiz_questions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tutor_withdraws: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_usermeta: Data: 0.17MB + Index: 0.11MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpvivid_options: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### achievement-type: 5 attachment: 197 bp-email: 19 calendar-reward: 3 courses: 10 customize_changeset: 2 discount-badge: 2 elementor_library: 14 gens-level: 2 learners: 1 lesson: 7 mailpoet_page: 1 mc4wp-form: 3 memberpressproduct: 1 nav_menu_item: 22 page: 55 penci-block: 4 penci_builder: 3 points-award: 9 points-redemption: 2 points-type: 1 post: 35 product: 3 progress-map: 1 rank-requirement: 2 rank-type: 1 revision: 391 rewards-calendar: 1 seedprod: 1 shop_coupon: 1 shop_order: 8 shop_order_refund: 1 social: 6 step: 11 stm-courses: 3 stm-lessons: 5 stm-questions: 5 stm-quizzes: 1 topics: 4 tutor_assignments: 1 tutor_enrolled: 3 tutor_quiz: 2 tutor_zoom_meeting: 4 um_directory: 1 um_form: 3 um_mailchimp: 1 um_profile_tabs: 3 wpcf7_contact_form: 1 wpstream_product: 1 wp_global_styles: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ?Error messages should not be shown to visitors. ### Active Plugins (69) ### Akismet Anti-Spam: by Automattic – 5.0.2 Classic Widgets: by WordPress Contributors – 0.3 Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.15.7 Contact Form 7: by Takayuki Miyoshi – 5.7.4 Elementor: by Elementor.com – 3.11.5 Envato Market: by Envato – 2.0.7 Export User Data: by Q Studio – 2.2.6 Filester - File Manager Pro: by Ninja Team – 1.7.6 GamiPress - Admin Emails: by GamiPress – 1.0.3 GamiPress - Anniversaries: by GamiPress – 1.0.1 GamiPress - Birthdays: by GamiPress – 1.0.4 GamiPress - Conditional Emails: by GamiPress – 1.0.8 GamiPress - Conditional Notifications: by GamiPress – 1.0.9 GamiPress - Congratulations Popups: by GamiPress – 1.0.7 GamiPress - Coupons: by GamiPress – 1.1.0 GamiPress - Daily Login Rewards: by GamiPress – 1.1.4 GamiPress - Elementor integration: by GamiPress – 1.0.6 GamiPress - Expirations: by GamiPress – 1.0.5 GamiPress - Frontend Reports: by GamiPress – 1.0.3 GamiPress - Leaderboards: by GamiPress – 1.4.1 GamiPress - Mark As Completed: by GamiPress – 1.0.4 GamiPress - Notifications: by GamiPress – 1.4.7 GamiPress - Points Cards: by GamiPress – 1.0.2 GamiPress - Points Limits: by GamiPress – 1.0.5 GamiPress - Points Payouts: by GamiPress – 1.0.7 GamiPress - Progress Map: by GamiPress – 1.1.2 GamiPress - Progress: by GamiPress – 1.4.2 GamiPress - Referrals: by GamiPress – 1.1.4 GamiPress - Reports: by GamiPress – 1.0.8 GamiPress - Restrict Content: by GamiPress – 1.2.3 GamiPress - Social Share: by GamiPress – 1.2.6 GamiPress - Time-based Rewards: by GamiPress – 1.0.8 GamiPress - Tutor LMS integration: by GamiPress – 1.0.5 GamiPress - Ultimate Member integration: by GamiPress – 1.0.8 GamiPress - WooCommerce Discounts: by GamiPress – 1.1.2 GamiPress - WooCommerce Partial Payments: by GamiPress – 1.1.3 GamiPress - WooCommerce Points Gateway: by GamiPress – 1.1.6 GamiPress - WooCommerce integration: by GamiPress – 1.4.0 GamiPress - WP-Polls integration: by GamiPress – 1.0.0 GamiPress: by GamiPress – 2.5.8 MonsterInsights Pro: by MonsterInsights – 8.13.1 Google Listings and Ads: by WooCommerce – 2.3.10 Instant Images: by Darren Cooney – 5.1.0.1 Jetpack: by Automattic – 11.8.4 JSM's Show User Metadata: by JS Morisset – 3.0.5 MC4WP: Mailchimp for WordPress: by ibericode – 4.9.1 Penci Portfolio: by PenciDesign – 3.1 Penci Recipe: by PenciDesign – 3.3 Penci Review: by PenciDesign – 2.7 Penci Shortcodes & Performance: by PenciDesign – 5.4 Penci Soledad Demo Importer: by PenciDesign – 4.2 Penci Social Feed: by PenciDesign – 1.1 Rank Math SEO: by Rank Math – 1.0.109 ShortPixel Image Optimizer: by ShortPixel - Convert WebP/AVIF & Optimize Images – 5.2.1 Tutor LMS Certificate Builder: by Themeum – 1.0.4 Tutor LMS Pro: by Themeum – 2.1.8 Tutor LMS: by Themeum – 2.1.8 Ultimate Member: by Ultimate Member – 2.5.4 Ultimate Member - MailChimp: by Ultimate Member – 2.4.1 Ultimate Member - Profile tabs: by Ultimate Member – 1.0.7 Vafpress Post Formats UI: by vafpress – 1.7 W3 Total Cache: by BoldGrid – 2.3.0 WooCommerce Stripe Gateway: by WooCommerce – 7.2.0 WooCommerce Payments: by Automattic – 5.5.1 WooCommerce PayPal Payments: by WooCommerce – 2.0.3 WooCommerce: by Automattic – 7.4.1 (update to version 7.5.0 is available) WP-Polls: by Lester 'GaMerZ' Chan – 2.77.0 WPForms Lite: by WPForms – 1.8.0.2 WPvivid Backup Plugin: by WPvivid Team – 0.9.83 ### Inactive Plugins (18) ### All in One SEO: by All in One SEO Team – 4.3.2 BuddyPress: by The BuddyPress Community – 11.1.0 GamiPress - Badgr: by GamiPress – 1.0.5 GamiPress - MemberPress integration: by GamiPress – 1.0.0 GamiPress - Nominations: by GamiPress – 1.1.1 GamiPress - Purchases: by GamiPress – 1.1.9 GamiPress - Submissions: by GamiPress – 1.0.8 GamiPress - Transfers: by GamiPress – 1.2.5 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.9.1 Import and export users and customers: by codection – 1.21.5 MailPoet 3 (New): by MailPoet – 3.95.1 MemberPress Basic: by Caseproof LLC – 1.9.39 Members: by MemberPress – 3.2.2 Penci Slider: by PenciDesign – 1.1 Site Kit by Google: by Google – 1.87.0 Ultimate Member - reCAPTCHA: by Ultimate Member – 2.3.1 WC pickupp: by pickupp – 2.3.3 WpStream - Live Streaming, Video on Demand, Pay Per View: by wpstream – 4.4.17 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: HKD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ? Order datastore: WC_Order_Data_Store_CPT ### WC Pages ### Shop base: #3119 - /shop/ Cart: #3120 - /cart/ Checkout: #3121 - /checkout/ My account: #3122 - /my-account/ Terms and conditions: #3123 - /return-policy/ ### Theme ### Name: Soledad Child Theme Version: 1.0 Author URL: https://pencidesign.com/ Child Theme: ? Parent Theme Name: soledad Parent Theme Version: 8.3.2 Parent Theme Author URL: https://pencidesign.net/ WooCommerce Support: ? ### Templates ### Overrides: soledad/woocommerce/archive-product.php version - is out of date. The core version is 3.4.0 soledad/woocommerce/cart/cross-sells.php version - is out of date. The core version is 4.4.0 soledad/woocommerce/cart/mini-cart.php version - is out of date. The core version is 5.2.0 soledad/woocommerce/checkout/form-checkout.php version - is out of date. The core version is 3.5.0 soledad/woocommerce/content-product-cat.php version - is out of date. The core version is 4.7.0 soledad/woocommerce/content-product.php version - is out of date. The core version is 3.6.0 soledad/woocommerce/content-single-product.php version - is out of date. The core version is 3.6.0 soledad/woocommerce/global/quantity-input.php version - is out of date. The core version is 7.4.0 soledad/woocommerce/loop/loop-start.php version - is out of date. The core version is 3.3.0 soledad/woocommerce/loop/pagination.php version - is out of date. The core version is 3.3.1 soledad/woocommerce/loop/sale-flash.php version - is out of date. The core version is 1.6.4 soledad/woocommerce/single-product/meta.php version - is out of date. The core version is 3.0.0 soledad/woocommerce/single-product/product-image.php version - is out of date. The core version is 3.5.1 soledad/woocommerce/single-product/related.php version - is out of date. The core version is 3.9.0 soledad/woocommerce/single-product/sale-flash.php version - is out of date. The core version is 1.6.4 soledad/woocommerce/single-product/tabs/tabs.php version - is out of date. The core version is 3.8.0 soledad/woocommerce/single-product/up-sells.php version - is out of date. The core version is 3.0.0 soledad/woocommerce/single-product-reviews.php version - is out of date. The core version is 4.3.0 Outdated Templates: ? Learn how to update ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: HK WooCommerce currency supported: ? Advanced Card Processing available in country: – Pay Later messaging available in country: – Webhook status: – Vault enabled: ? Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: – Tracking enabled: ? ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation new-product-management-experience onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js product-variation-management settings Daily Cron: ? Next scheduled: 2023-03-16 05:12:25 +08:00 Options: ? Notes: 87 Onboarding: completed ### WooCommerce Payments ### Version: 5.5.1 Connected to WPCOM: Yes Blog ID: 208783305 Account ID: acct_1LKecu2HFhomz4Ur ### Action Scheduler ### Canceled: 27 Oldest: 2023-03-08 05:53:37 +0000 Newest: 2023-03-15 06:15:25 +0000 Complete: 856 Oldest: 2023-02-15 05:50:28 +0000 Newest: 2023-03-15 10:01:00 +0000 Failed: 57 Oldest: 2022-11-18 13:24:42 +0000 Newest: 2023-03-08 07:14:16 +0000 Pending: 7 Oldest: 2023-03-15 10:01:17 +0000 Newest: 2023-03-22 06:03:26 +0000 ### Status report information ### Generated at: 2023-03-15 18:01:38 +08:00
Error log:
fatal-errors-2023-03-14-3317b3d3a926ff7d35626dc9de068f0c.log
2023-03-14T10:40:34+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WC_Payments_Order_Success_Page::add_notice_previous_paid_order() must be of the type string, null given, called in /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php on line 310 and defined in /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php:80 Stack trace: #0 /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php(310): WC_Payments_Order_Success_Page->add_notice_previous_paid_order(NULL) #1 /home/thegensi/staging.thegensilver.com/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #2 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(42): apply_filters('woocommerce_tha...', '\xE8\xAC\x9D\xE8\xAC\x9D\xEF\xBC\x8C\xE6\x88\x91\xE5\x80\x91...', Object(Automattic\WooCommerce\Admin\Overrides\Order)) #3 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/includes/wc-core-functions.?於?/home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php?在?80?線上 2023-03-14T10:43:54+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WC_Payments_Order_Success_Page::add_notice_previous_paid_order() must be of the type string, null given, called in /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php on line 310 and defined in /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php:80 Stack trace: #0 /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php(310): WC_Payments_Order_Success_Page->add_notice_previous_paid_order(NULL) #1 /home/thegensi/staging.thegensilver.com/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #2 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(42): apply_filters('woocommerce_tha...', '\xE8\xAC\x9D\xE8\xAC\x9D\xEF\xBC\x8C\xE6\x88\x91\xE5\x80\x91...', Object(Automattic\WooCommerce\Admin\Overrides\Order)) #3 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/includes/wc-core-functions.?於?/home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php?在?80?線上 2023-03-14T10:52:20+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WC_Payments_Order_Success_Page::add_notice_previous_paid_order() must be of the type string, null given, called in /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php on line 310 and defined in /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php:80 Stack trace: #0 /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php(310): WC_Payments_Order_Success_Page->add_notice_previous_paid_order(NULL) #1 /home/thegensi/staging.thegensilver.com/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #2 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(42): apply_filters('woocommerce_tha...', '\xE8\xAC\x9D\xE8\xAC\x9D\xEF\xBC\x8C\xE6\x88\x91\xE5\x80\x91...', Object(Automattic\WooCommerce\Admin\Overrides\Order)) #3 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/includes/wc-core-functions.?於?/home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php?在?80?線上 2023-03-14T11:27:57+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WC_Payments_Order_Success_Page::add_notice_previous_paid_order() must be of the type string, null given, called in /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php on line 310 and defined in /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php:80 Stack trace: #0 /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php(310): WC_Payments_Order_Success_Page->add_notice_previous_paid_order(NULL) #1 /home/thegensi/staging.thegensilver.com/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #2 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(42): apply_filters('woocommerce_tha...', '\xE8\xAC\x9D\xE8\xAC\x9D\xEF\xBC\x8C\xE6\x88\x91\xE5\x80\x91...', Object(Automattic\WooCommerce\Admin\Overrides\Order)) #3 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/includes/wc-core-functions.?於?/home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php?在?80?線上 2023-03-14T11:59:42+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WC_Payments_Order_Success_Page::add_notice_previous_paid_order() must be of the type string, null given, called in /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php on line 310 and defined in /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php:80 Stack trace: #0 /home/thegensi/staging.thegensilver.com/wp-includes/class-wp-hook.php(310): WC_Payments_Order_Success_Page->add_notice_previous_paid_order(NULL) #1 /home/thegensi/staging.thegensilver.com/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #2 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(42): apply_filters('woocommerce_tha...', '\xE8\xAC\x9D\xE8\xAC\x9D\xEF\xBC\x8C\xE6\x88\x91\xE5\x80\x91...', Object(Automattic\WooCommerce\Admin\Overrides\Order)) #3 /home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce/includes/wc-core-functions.?於?/home/thegensi/staging.thegensilver.com/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-order-success-page.php?在?80?線上
Hi @cathylky ,
Thanks for sharing the Status report and error logs, this is very helpful!
### Templates ### Overrides: soledad/woocommerce/archive-product.php version - is out of date. The core version is 3.4.0 soledad/woocommerce/checkout/form-checkout.php version - is out of date. The core version is 3.5.0
Firstly, I am able to see that your theme template files are all outdated, more specifically the
soledad/woocommerce/checkout/form-checkout.php
, which could be causing the error you are seeing since theform-checkout.php
includes the following actions:As a first step, please could you update these templates and see if this resolves the issue. You can read more about fixing outdated templates here.
If the issue persists after doing that, I’d suggest performing a full conflict test, to rule out any theme/plugin conflicts causing the error.
To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.
If changing the theme doesn’t help, you’ll want to deactivate all plugins?except for WooCommerce?and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.
Let us know how this goes!
Hi @cathylky ,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.
Cheers!
- The topic ‘Fatal error upon checkout’ is closed to new replies.