• Resolved Niek

    (@nvomedia)


    Hi! I have a strange problem in WooCommerce when adding an note to an order (private or to customer) and manually or via a plugin (eg connection to parcel delivery service).

    This is the error I see in the logs:

    2023-05-17T15:37:42+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/username/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1533
    Stack trace:
    #0 /home/username/public_html/wp-includes/class-wp-hook.php(308): WC_AJAX::add_order_note('')
    #1 /home/username/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #2 /home/username/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/username/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_woocomm...')
    #4 {main}
      thrown in /home/username/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php op de lijn 1533

    I found some issues here and on github about the date null error, but those seems to occur on other places. I tried there solutions anyway (downgrade woocommerce, check in database for dates with values 0000-00-00… but it wasn’t helping me.

    If I look into the _comments table I can see the added comments. So they are saved. If I add an note to a customer they get the mail too. But I can’t see the comments in the orderadmin, and the spinner will spin forever. The endpoint for that gives an HTTP 500 error but no error message in that response itselfs. In the debug.log I can see the same error as WooCommerce shows in the fatal-error log.

    How can I save this? This error is breaking a plugin which generates parcel labels and put the orders on completed. (The plugin adds an comment with some details).

    Here is the WooCommerce status report:

    ### WordPress Environment ###
    
    WordPress address (URL): --removed--
    Site address (URL): --removed--
    WC Version: 7.7.0
    REST API Version: ? 7.7.0
    WC Blocks Version: ? 10.0.4
    Action Scheduler Version: ? 3.5.4
    Log Directory Writable: ?
    WP Version: 6.2.1
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: ?
    WP Cron: ?
    Language: nl_NL
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.33
    PHP Post Max Size: 512 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 10000
    cURL Version: 7.84.0
    OpenSSL/1.1.1p
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.18-MariaDB-cll-lve
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 7.7.0
    WC Database Prefix: kk_
    Totale database grootte: 1196.97MB
    Database gegevens grootte: 896.30MB
    Database index grootte: 300.67MB
    kk_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    kk_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    kk_woocommerce_order_items: Data: 1.52MB + Index: 0.45MB + Engine InnoDB
    kk_woocommerce_order_itemmeta: Data: 11.52MB + Index: 14.03MB + Engine InnoDB
    kk_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    kk_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_actionscheduler_actions: Data: 1.38MB + Index: 0.64MB + Engine MyISAM
    kk_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    kk_actionscheduler_logs: Data: 1.07MB + Index: 0.64MB + Engine MyISAM
    kk_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_comments: Data: 10.52MB + Index: 10.09MB + Engine InnoDB
    kk_cpappbk_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_cpappbk_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_icl_background_task: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_icl_flags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_icl_languages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_icl_languages_translations: Data: 0.42MB + Index: 0.00MB + Engine InnoDB
    kk_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_icl_mo_files_domains: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    kk_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_icl_strings: Data: 7.52MB + Index: 10.06MB + Engine InnoDB
    kk_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_icl_string_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_icl_string_positions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    kk_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_icl_string_translations: Data: 6.52MB + Index: 3.52MB + Engine InnoDB
    kk_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_icl_translate: Data: 16.52MB + Index: 2.52MB + Engine InnoDB
    kk_icl_translate_job: Data: 1.52MB + Index: 0.34MB + Engine InnoDB
    kk_icl_translations: Data: 4.52MB + Index: 12.06MB + Engine InnoDB
    kk_icl_translation_batches: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    kk_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_icl_translation_status: Data: 64.58MB + Index: 1.52MB + Engine InnoDB
    kk_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_litespeed_crawler: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_litespeed_crawler_blacklist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_litespeed_img_optm: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_litespeed_url: Data: 1.52MB + Index: 1.70MB + Engine InnoDB
    kk_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    kk_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_ms_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_options: Data: 26.22MB + Index: 2.42MB + Engine InnoDB
    kk_pmxe_exports: Data: 0.32MB + Index: 0.00MB + Engine MyISAM
    kk_pmxe_google_cats: Data: 0.26MB + Index: 0.05MB + Engine MyISAM
    kk_pmxe_posts: Data: 0.38MB + Index: 0.00MB + Engine InnoDB
    kk_pmxe_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_postmeta: Data: 264.83MB + Index: 85.28MB + Engine InnoDB
    kk_posts: Data: 21.55MB + Index: 12.05MB + Engine InnoDB
    kk_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_social_users: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_termmeta: Data: 0.25MB + Index: 0.16MB + Engine InnoDB
    kk_terms: Data: 0.11MB + Index: 0.11MB + Engine InnoDB
    kk_term_relationships: Data: 2.52MB + Index: 1.52MB + Engine InnoDB
    kk_term_taxonomy: Data: 0.23MB + Index: 0.14MB + Engine InnoDB
    kk_usermeta: Data: 2.52MB + Index: 4.03MB + Engine InnoDB
    kk_users: Data: 0.16MB + Index: 0.16MB + Engine InnoDB
    kk_wcpdf_credit_note_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_wcpdf_invoice_number: Data: 0.20MB + Index: 0.00MB + Engine InnoDB
    kk_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_wcpdf_proforma_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    kk_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    kk_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_wc_customer_lookup: Data: 0.34MB + Index: 0.27MB + Engine InnoDB
    kk_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_wc_order_product_lookup: Data: 1.52MB + Index: 0.77MB + Engine InnoDB
    kk_wc_order_stats: Data: 0.48MB + Index: 0.45MB + Engine InnoDB
    kk_wc_order_tax_lookup: Data: 0.33MB + Index: 0.28MB + Engine InnoDB
    kk_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_wc_product_meta_lookup: Data: 1.52MB + Index: 2.91MB + Engine InnoDB
    kk_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_wc_reserved_stock: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
    kk_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_webwinkelkeur_invite_error: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_wfblockediplog: Data: 0.14MB + Index: 0.10MB + Engine MyISAM
    kk_wfblocks7: Data: 0.06MB + Index: 0.04MB + Engine MyISAM
    kk_wfconfig: Data: 1.33MB + Index: 0.00MB + Engine InnoDB
    kk_wfcrawlers: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    kk_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_wffilemods: Data: 7.52MB + Index: 0.88MB + Engine MyISAM
    kk_wfhits: Data: 1.07MB + Index: 0.15MB + Engine MyISAM
    kk_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_wfissues: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    kk_wfknownfilelist: Data: 5.47MB + Index: 0.27MB + Engine MyISAM
    kk_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_wflocs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    kk_wflogins: Data: 0.37MB + Index: 0.08MB + Engine MyISAM
    kk_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    kk_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    kk_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_wfnotifications: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    kk_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_wfstatus: Data: 0.16MB + Index: 0.07MB + Engine MyISAM
    kk_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_woocommerce_buckaroo_transactions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_woocommerce_gift_coupon: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    kk_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    kk_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    kk_yith_wcwl: Data: 1.09MB + Index: 1.02MB + Engine InnoDB
    kk_yith_wcwl_lists: Data: 1.05MB + Index: 0.13MB + Engine InnoDB
    kk_yoast_indexable: Data: 91.95MB + Index: 16.68MB + Engine MyISAM
    kk_yoast_indexable_hierarchy: Data: 0.64MB + Index: 1.64MB + Engine MyISAM
    kk_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    kk_yoast_primary_term: Data: 0.10MB + Index: 0.15MB + Engine MyISAM
    kk_yoast_prominent_words: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    kk_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    kk_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wpsa0_actionscheduler_actions: Data: 0.09MB + Index: 0.05MB + Engine MyISAM
    wpsa0_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpsa0_actionscheduler_logs: Data: 0.08MB + Index: 0.05MB + Engine MyISAM
    wpsa0_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_comments: Data: 4.52MB + Index: 3.69MB + Engine InnoDB
    wpsa0_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_icl_flags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_icl_languages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_icl_languages_translations: Data: 0.42MB + Index: 0.00MB + Engine InnoDB
    wpsa0_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_icl_mo_files_domains: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wpsa0_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_icl_strings: Data: 5.52MB + Index: 6.98MB + Engine InnoDB
    wpsa0_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_icl_string_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_icl_string_positions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_icl_string_translations: Data: 5.52MB + Index: 2.52MB + Engine InnoDB
    wpsa0_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_icl_translate: Data: 10.52MB + Index: 1.52MB + Engine InnoDB
    wpsa0_icl_translate_job: Data: 0.44MB + Index: 0.25MB + Engine InnoDB
    wpsa0_icl_translations: Data: 3.52MB + Index: 11.06MB + Engine InnoDB
    wpsa0_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_icl_translation_status: Data: 21.55MB + Index: 1.52MB + Engine InnoDB
    wpsa0_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_litespeed_crawler: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_litespeed_crawler_blacklist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_litespeed_cssjs: Data: 6.35MB + Index: 0.16MB + Engine MyISAM
    wpsa0_litespeed_img_optm: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_ms_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_options: Data: 16.52MB + Index: 1.75MB + Engine InnoDB
    wpsa0_pmxe_exports: Data: 0.32MB + Index: 0.00MB + Engine MyISAM
    wpsa0_pmxe_google_cats: Data: 0.26MB + Index: 0.05MB + Engine MyISAM
    wpsa0_pmxe_posts: Data: 0.38MB + Index: 0.00MB + Engine InnoDB
    wpsa0_pmxe_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_postmeta: Data: 201.75MB + Index: 56.20MB + Engine InnoDB
    wpsa0_posts: Data: 16.52MB + Index: 11.06MB + Engine InnoDB
    wpsa0_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_termmeta: Data: 0.31MB + Index: 0.17MB + Engine InnoDB
    wpsa0_terms: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    wpsa0_term_relationships: Data: 1.52MB + Index: 1.52MB + Engine InnoDB
    wpsa0_term_taxonomy: Data: 0.23MB + Index: 0.16MB + Engine InnoDB
    wpsa0_usermeta: Data: 1.52MB + Index: 0.97MB + Engine InnoDB
    wpsa0_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wpsa0_wcpdf_credit_note_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_wcpdf_invoice_number: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wpsa0_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_wc_customer_lookup: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    wpsa0_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_wc_order_product_lookup: Data: 0.20MB + Index: 0.25MB + Engine InnoDB
    wpsa0_wc_order_stats: Data: 0.13MB + Index: 0.17MB + Engine InnoDB
    wpsa0_wc_order_tax_lookup: Data: 0.11MB + Index: 0.11MB + Engine InnoDB
    wpsa0_wc_product_meta_lookup: Data: 1.52MB + Index: 1.52MB + Engine InnoDB
    wpsa0_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_wfblockediplog: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpsa0_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB
    wpsa0_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wffilemods: Data: 3.22MB + Index: 0.63MB + Engine MyISAM
    wpsa0_wfhits: Data: 0.13MB + Index: 0.04MB + Engine MyISAM
    wpsa0_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wfissues: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpsa0_wfknownfilelist: Data: 1.76MB + Index: 0.19MB + Engine MyISAM
    wpsa0_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wflogins: Data: 0.13MB + Index: 0.03MB + Engine MyISAM
    wpsa0_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_wfstatus: Data: 0.08MB + Index: 0.04MB + Engine MyISAM
    wpsa0_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpsa0_woocommerce_gift_coupon: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wpsa0_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_woocommerce_order_itemmeta: Data: 4.52MB + Index: 5.03MB + Engine InnoDB
    wpsa0_woocommerce_order_items: Data: 0.42MB + Index: 0.17MB + Engine InnoDB
    wpsa0_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsa0_woocommerce_sessions: Data: 4.52MB + Index: 0.08MB + Engine InnoDB
    wpsa0_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsa0_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpsa0_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpsa0_yith_wcwl: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wpsa0_yith_wcwl_lists: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wpsa0_yoast_indexable: Data: 7.14MB + Index: 0.91MB + Engine MyISAM
    wpsa0_yoast_indexable_hierarchy: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
    wpsa0_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpsa0_yoast_primary_term: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpsa0_yoast_prominent_words: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsa0_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 3
    acf-field-group: 1
    amp_validated_url: 2
    attachment: 35560
    block: 3
    blocks: 1
    cookielawinfo: 2
    custom_css: 4
    customize_changeset: 2
    faq: 10
    flamingo_contact: 1465
    flamingo_inbound: 126
    ims_countdown: 1
    jb_store_css: 5
    jetpack_migration: 2
    nav_menu_item: 291
    oembed_cache: 24
    page: 57
    post: 7
    product: 10612
    product_variation: 32
    product-feed: 1
    revision: 529
    shop_coupon: 11
    shop_order: 6114
    shop_order_refund: 32
    wpcf7_contact_form: 2
    yith-wcbm-badge: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (40) ###
    
    WPML Multilingual CMS: door OnTheGoSystems – 4.6.3
    WPML SEO: door OnTheGoSystems – 2.1.0
    Advanced Custom Fields: door WP Engine – 6.1.6
    Chatra Live Chat + ChatBot + Cart Saver: door Chatra – 1.0.11
    Classic Editor: door WordPress Contributors – 1.6.3
    Contact Form 7: door Takayuki Miyoshi – 5.7.6
    GTM4WP: door Thomas Geiger – 1.16.2
    Flamingo: door Takayuki Miyoshi – 2.3
    OMGF: door Daan from Daan.dev – 5.5.6
    Jetpack Boost: door Automattic - Jetpack Site Speed team – 1.8.0
    Jetpack: door Automattic – 12.1
    Kadence WooCommerce Email Designer: door Kadence WP – 1.5.10
    LiteSpeed Cache: door LiteSpeed Technologies – 5.4
    Mollie Payments for WooCommerce: door Mollie – 7.3.7
    Monta Checkout: door Monta – 1.54.1
    Nextend Social Login: door Nextendweb – 3.1.8
    Plugins Garbage Collector (Database Cleanup) Old!: door Vladimir Garagulya – 0.14
    WooCommerce Estimated Shipping Date Per Product: door Magerips – 2.8
    Category Order and Taxonomy Terms Order: door Nsp-Code – 1.7.5
    K&K Woocommerce: door Niek van Oost – 1.0
    WooCommerce NL Postcode Checker: door WP Overnight – 2.9.2
    WebwinkelKeur: door Albert Peschar – 3.20
    Product Feed ELITE for WooCommerce: door AdTribes.io – 2.0.0
    WooCommerce Checkout Add-Ons: door SkyVerge – 2.6.0
    WooCommerce Conditional Shipping and Payments: door WooCommerce – 1.14.6
    WooCommerce Gift Coupon: door Alberto Pérez – 3.3.0
    WooCommerce Multilingual & Multicurrency: door OnTheGoSystems – 5.1.3
    PDF Invoices & Packing Slips for WooCommerce: door WP Overnight – 3.5.3
    PDF Invoices & Packing Slips for WooCommerce - Professional: door WP Overnight – 2.14.2
    PDF Invoices & Packing Slips for WooCommerce - Premium Templates: door WP Overnight – 2.20.2
    Store Toolkit for WooCommerce: door Visser Labs – 2.3.8
    WooCommerce: door Automattic – 7.7.0
    Yoast SEO: door Team Yoast – 20.7
    WP All Export Pro: door Soflyy – 1.8.3
    WP Mail SMTP: door WP Mail SMTP – 3.8.0
    WP Rollback: door GiveWP.com – 1.7.3
    WPML Media: door OnTheGoSystems – 2.7.2
    WPML String Translation: door OnTheGoSystems – 3.2.5
    WP Overnight Sidekick: door WP Overnight – 2.5.1
    YITH WooCommerce Wishlist: door YITH – 3.21.0
    
    ### Inactive Plugins (8) ###
    
    IMS Countdown: door AceWebx Team – 1.3.1
    WooCommerce Google Analytics Integration: door WooCommerce – 1.8.1
    WooCommerce Google Product Feed: door Ademti Software Ltd. – 9.6.1
    WooCommerce MyParcel: door Adem Demir – 3.2.1
    Wordfence Security: door Wordfence – 7.9.2
    WPFront Notification Bar: door Syam Mohan – 3.3.2
    WP STAGING PRO: door WP-STAGING – 4.0.3
    YITH WooCommerce Badge Management: door YITH – 2.17.0
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    maintenance.php: maintenance.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR ()
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: simple (simple)
    grouped (grouped)
    variable (variable)
    external (external)
    
    Taxonomies: Product Visibility: outofstock (outofstock)
    featured (featured)
    exclude-from-search (exclude-from-search)
    exclude-from-catalog (exclude-from-catalog)
    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: –
    HPOS feature screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    
    ### WC Pages ###
    
    Winkelbasis: #207 - --removed--
    Winkelwagen: #79040 - /winkelwagen-2/
    Afrekenen: #79041 - /afrekenen/
    Mijn account: #79042 - /mijn-account-2/
    Algemene voorwaarden: ? Pagina niet ingesteld
    
    ### Theme ###
    
    Name: Flatsome Child
    Version: 3.0
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Flatsome
    Parent Theme Version: 3.17.0
    Parent Theme Author URL: https://uxthemes.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: flatsome-child/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart-shipping.php
    flatsome/woocommerce/cart/cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/terms.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product-cat.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/content-widget-product.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/rating.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php
    flatsome/woocommerce/single-product/product-thumbnails.php
    flatsome/woocommerce/single-product/rating.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php
    flatsome-child/woocommerce/content-product_cat.php
    
    
    ### Templates ###
    
    thumbnail: 
    medium: 
    medium_large: 
    large: 
    1536x1536: 
    2048x2048: 
    woocommerce_thumbnail: 
    woocommerce_single: 
    woocommerce_gallery_thumbnail: 
    
    ### 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
    mobile-app-banner
    navigation
    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: product-block-editor
    minified-js
    new-product-management-experience
    product-variation-management
    settings
    
    Daily Cron: ? Next scheduled: 2023-05-18 12:50:25 +02:00
    Options: ?
    Notes: 130
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Afgerond: 4.208
    Oldest: 2023-04-17 09:15:25 +0200
    Newest: 2023-05-17 20:04:37 +0200
    
    Mislukt: 16
    Oldest: 2019-06-09 13:54:13 +0200
    Newest: 2023-05-17 17:56:21 +0200
    
    In afwachting: 2
    Oldest: 2023-05-18 20:04:37 +0200
    Newest: 2023-05-24 18:19:36 +0200
    
    
    ### Status report information ###
    
    Generated at: 2023-05-17 21:30:12 +02:00
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    May I ask which plugin is being used to generate the parcel labels? WooCommerce MyParcel? Or other one? It is just to clarify. What about if you keep only WooCommerce, the default Storefront theme, and your parcel labels plugin? Please check if the issue persists at this point. If not, there is a possibility that a conflict is affecting the site, you can then switch back the theme, and reactivate gradually the rest of the plugins until you find the cause of the issue. You can find a more detailed explanation on how to do a conflict test here.

    Let us know if there are any questions.

    Thread Starter Niek

    (@nvomedia)

    It is the https://www.ads-software.com/plugins/montapacking-checkout-woocommerce-extension/ plugin for sending.

    Since it is a live site I cannot easily disabled the plugins and change theme but I tried disabling the monta plugin and some other plugins and the problem persists.

    I gonna try to set the webshop offline for testing all the other plugins and the theme, will let you know.

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @nvomedia ,

    That sounds like a plan!

    Just to add, if you do not want to test on your live site, you do have the option of using the free Health Check?plugin.

    This will allow you to disable all plugins and change the theme, while you’re still logged in, without affecting normal visitors to your site ??

    On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Hope this helps!

    Thread Starter Niek

    (@nvomedia)

    Ah that’s a very nice plugin. I directly installed it and used it for my test.

    With only the Health Check and Woocommerce plugin enabled (Default Storefront theme) I get the same error when adding an note to an order in Woocommerce.

    POST https://www.webshopurl.nl/wp-admin/admin-ajax.php
    
    action	"woocommerce_add_order_note"
    post_id	"87711"
    note	"test"
    note_type	""
    security	"1d4019cfb6"
    
    Status 500 Internal Server Error
    

    Saif

    (@babylon1999)

    Hello @nvomedia,

    Thank you for sharing the logs!

    The cause of the Admin AJAX 500 error is not always clear; it’s most likely related to a plugin or theme conflict.

    One thing you can try is flushing the permalinks by navigating to Dashboard > Settings > Permalinks.

    Once in there, click the ‘Save Changes’ button (you don’t need to make actual changes), this should re-write the rules for your site’s .htaccess file.

    If that didn’t help, then your next option is a full conflict test as mentioned in this guide.

    If you are not comfortable implementing all the changes mentioned in the guide on the live version of your site, you can create a staging environment using WP-STAGING. This will allow you to run tests to pinpoint the problem, and then disable the problematic plugin on your live site.


    Hope this helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error when placing order notes’ is closed to new replies.