• Resolved ceyhunyildiz

    (@ceyhunyildiz)


    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    Fatal error: Uncaught Error: Call to undefined function str_starts_with() in /home/u834068453/domains/xx.com/public_html/wp-content/plugins/woocommerce-amazon-fulfillment/lib/class-ns-mcf-fulfillment.php:1168 Stack trace: #0 /home/u834068453/domains/xx.com/public_html/wp-content/plugins/woocommerce-amazon-fulfillment/lib/class-ns-mcf-fulfillment.php(378): NS_MCF_Fulfillment->get_shipping_speed_category(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #1 /home/u834068453/domains/xx.com/public_html/wp-content/plugins/woocommerce-amazon-fulfillment/lib/class-ns-mcf-woocommerce.php(303): NS_MCF_Fulfillment->post_fulfillment_order(Object(Automattic\WooCommerce\Admin\Overrides\Order), true) #2 /home/u834068453/domains/xx.com/public_html/wp-includes/class-wp-hook.php(303): NS_MCF_WooCommerce->process_order_meta_box_actions(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #3 /home/u834068453/domains/xx.com/public_html/wp- in /home/u834068453/domains/xx.com/public_html/wp-content/plugins/woocommerce-amazon-fulfillment/lib/class-ns-mcf-fulfillment.php on line 1168

    Why does this happen?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @ceyhunyildiz ,

    Thanks for reaching out!

    I understand that you are seeing the above errors related to the WooCommerce Amazon Fulfilment plugin, is this correct?

    Please can you share a copy of your sites System Status Report so that we can take a closer look.

    You can find this via WooCommerce?→?Status. Select?Get system report?and then?Copy for support.

    Once you have this, please share the results in your response here.

    Cheers!

    Thread Starter ceyhunyildiz

    (@ceyhunyildiz)

    WordPress Environment
    
    WordPress address (URL): https://www.xxx.com
    Site address (URL): https://www.xxx.com
    WC Version: 5.9.1
    REST API Version: ? 5.9.1
    WC Blocks Version: ? 6.1.0
    Action Scheduler Version: ? 3.3.0
    WC Admin Version: ? 2.8.0
    Log Directory Writable: ?
    WP Version: ? 5.8.7 - There is a newer version of WordPress available (6.2.2)
    WP Multisite: –
    WP Memory Limit: 3 GB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    Server Environment
    
    Server Info: LiteSpeed
    PHP Version: 7.4.33
    PHP Post Max Size: 3 GB
    PHP Time Limit: 180
    PHP Max Input Vars: 5000
    cURL Version: 7.84.0
    OpenSSL/1.1.1p
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.19-MariaDB-cll-lve
    Max Upload Size: 3 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    Database
    
    WC Database Version: 5.9.1
    WC Database Prefix: wp_
    Total Database Size: 102.88MB
    Database Data Size: 92.05MB
    Database Index Size: 10.83MB
    wp_woocommerce_sessions: Data: 1.14MB + 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.09MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.33MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + 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: 2.52MB + Index: 2.58MB + 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: 1.52MB + Index: 0.55MB + Engine InnoDB
    wp_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + 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_ced_etsy_accounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ced_etsy_profiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.36MB + Index: 0.34MB + Engine InnoDB
    wp_comments: Data: 1.52MB + Index: 0.63MB + Engine InnoDB
    wp_commercekit_searches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commercekit_waitlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commercekit_wishlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commercekit_wishlist_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 7.27MB + Index: 0.22MB + Engine InnoDB
    wp_postmeta: Data: 42.52MB + Index: 4.00MB + Engine InnoDB
    wp_posts: Data: 31.20MB + Index: 0.30MB + Engine InnoDB
    wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + 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_usermeta: Data: 0.22MB + Index: 0.19MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.06MB + 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.06MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + 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_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_entries: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    wp_wpforms_entry_fields: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_wpforms_entry_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 0.38MB + Index: 0.22MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    
    Post Type Counts
    
    attachment: 390
    custom_css: 1
    customize_changeset: 15
    elementor_library: 2
    nav_menu_item: 15
    page: 19
    post: 4
    product: 24
    product_variation: 3
    revision: 731
    shop_coupon: 16
    shop_order: 297
    shop_order_refund: 13
    wpforms: 3
    
    Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    Active Plugins (30)
    
    Change wp-admin login: by Nuno Morais Sarmento – 1.0.6
    Cloudflare: by Cloudflare
    Inc. – 4.7.0
    
    Code Snippets: by Code Snippets Pro – 2.14.2
    CommerceGurus Commercekit: by CommerceGurus – 1.3.0
    Yoast Duplicate Post: by Enrico Battocchi and Team Yoast – 4.4
    Easy Theme and Plugin Upgrades: by Chris Jean – 2.0.2
    Elementor: by Elementor.com – 3.4.8
    Facebook for WooCommerce: by Facebook – 2.6.7
    Faview - Virtual Reviews for WooCommerce Premium: by VillaTheme – 1.0.4
    Flying Scripts by WP Speed Matters: by Gijo Varghese – 1.2.2
    Jetpack: by Automattic – 10.5.2
    Kirki Customizer Framework: by David Vongries – 3.1.9
    LiteSpeed Cache: by LiteSpeed Technologies – 4.4.7
    Login Logo: by Mark Jaquith – 0.10.0
    Mailchimp for WooCommerce: by Mailchimp – 2.5.4
    PB SEO Friendly Images Pro: by Pascal Bajorat – 4.0.4
    SVG Support: by Benbodhi – 2.3.19
    TikTok: by TikTok – 1.0.16
    Woo Discount Rules: by Flycart – 2.3.12
    Product Feed PRO for WooCommerce: by AdTribes.io – 10.9.7
    Etsy Integration for WooCommerce: by CedCommerce – 2.2.8
    WooCommerce Stripe Gateway: by WooCommerce – 5.8.2
    Gift Wrapper: by Sagehen Studio – 5.2.7
    WooCommerce Google Analytics Pro: by SkyVerge – 1.11.1
    WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 2.12.1
    WooCommerce Shipment Tracking: by WooCommerce – 1.6.28
    WooCommerce: by Automattic – 5.9.1
    Yoast SEO: by Team Yoast – 18.0
    WP Mail SMTP: by WPForms – 3.2.1
    WPForms: by WPForms – 1.7.0
    
    Inactive Plugins (7)
    
    Akismet Anti-Spam: by Automattic – 4.2.1
    WooCommerce All Products For Subscriptions: by WooCommerce – 4.0.0
    WooCommerce Amazon Fulfillment: by Never Settle – 4.1.8
    WooCommerce PayPal Payments: by WooCommerce – 1.7.1 (update to version 2.0.5 is available)
    WooCommerce Subscriptions: by WooCommerce – 4.5.1
    WP Sheet Editor - Post Types (Premium): by WP Sheet Editor – 2.24.17
    WP Sheet Editor - WooCommerce Products: by WP Sheet Editor – 1.7.17
    
    Dropin Plugins (1)
    
    maintenance.php: maintenance.php
    
    Settings
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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: –
    
    WC Pages
    
    Shop base: #6 - /shop/
    Basket: #7 - /basket/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #3 - /privacy-policy/
    
    Theme
    
    Name: Shoptimizer
    Version: 2.4.5
    Author URL: https://www.commercegurus.com/
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build
    personally we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ?
    
    Templates
    
    Overrides: –
    
    Action Scheduler
    
    Complete: 4,363
    Oldest: 2023-05-08 17:40:04 +0100
    Newest: 2023-06-06 15:04:27 +0100
    
    Failed: 1
    Oldest: 2021-10-13 19:32:46 +0100
    Newest: 2021-10-13 19:32:46 +0100
    
    Pending: 14
    Oldest: 2023-06-06 16:00:00 +0100
    Newest: 2023-06-08 21:46:56 +0100
    
    Status report information
    
    Generated at: 2023-06-06 15:04:42 +01:00
    `
    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @ceyhunyildiz ,

    Thanks for sharing the above!

    WC Version: 5.9.1
    WP Version: ? 5.8.7 - There is a newer version of WordPress available (6.2.2)

    As per the SSR, I am able to see that you have quite an outdated version of WooCommerce and WordPress.

    Pease could you update these in order to obtain optimal functionality, and see if this resolves the issue?

    You can read more on updating WooCommerce here:

    Please ensure that you have a good?backup?of your?full site and database?in place before doing the updates, so that, should something go wrong, you are able to easily restore your site to a functioning state.

    WooCommerce Amazon Fulfillment: by Never Settle – 4.1.8

    Should the issue still be present, since this relates to a premium extension, please contact us directly at WooCommerce.com → My Account → Support.

    You will need to log in with the account used to purchase the extension before you can access that page. Also, include a link to this forum thread, so that they can keep track of what’s already been done.

    As per the forum guidelines, no support for premium extensions is done here but we will be happy to assist you further from there ??

    Cheers!

    Thread Starter ceyhunyildiz

    (@ceyhunyildiz)

    We can’t update Woocommerce and WordPress as this would mean something might break on the website but we updated the extension to 4.1.9 which is the latest and got the errors below:

    [07-Jun-2023 10:01:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined function str_starts_with() in /home/u834068453/domains/xxx.com/public_html/wp-content/plugins/woocommerce-amazon-fulfillment/lib/class-ns-mcf-fulfillment.php:1186
    Stack trace:

    0 /home/u834068453/domains/xxx.com/public_html/wp-content/plugins/woocommerce-amazon-fulfillment/lib/class-ns-mcf-fulfillment.php(378): NS_MCF_Fulfillment->get_shipping_speed_category(Object(Automattic\WooCommerce\Admin\Overrides\Order))

    1 /home/u834068453/domains/xxx.com/public_html/wp-content/plugins/woocommerce-amazon-fulfillment/lib/class-ns-mcf-woocommerce.php(303): NS_MCF_Fulfillment->post_fulfillment_order(Object(Automattic\WooCommerce\Admin\Overrides\Order), true)

    2 /home/u834068453/domains/xxx.com/public_html/wp-includes/class-wp-hook.php(303): NS_MCF_WooCommerce->process_order_meta_box_actions(Object(Automattic\WooCommerce\Admin\Overrides\Order))

    3 /home/u834068453/domains/xxx.com/public_html/wp- in /home/u834068453/domains/xxx.com/public_html/wp-content/plugins/woocommerce-amazon-fulfillment/lib/class-ns-mcf-fulfillment.php on line 1186

    Is there any way you can get it to work with our current version of WordPress of Woocommerce or should we consider cancelling our purchase and looking for another plugin for Amazon fulfilment service?

    Hi,

    We can’t update Woocommerce and WordPress as this would mean something might break on the website, but we updated the extension to 4.1.9 which is the latest and got the errors below...

    I can understand your point, but please note the following: WooCommerce, as a popular e-commerce platform, is consistently dedicated to providing its users with the best possible experience. To achieve this, the development team behind WooCommerce constantly works on adding new features, improvements, and addressing any issues that may arise in the system.

    This ongoing effort to better the platform is the reason WooCommerce frequently releases new versions. Updating to these latest versions is vital for users as it ensures their online store remains up-to-date and compatible with the current digital environment while offering new features and enhancements to improve their overall sales and e-commerce experience.

    The release of new versions can also deliver important security patches and bug fixes, which protect the users’ website against potential vulnerabilities and ensure a smoother operation. This, in turn, helps maintain the trust of both the users and their customers.

    For better assistance, if you have a license of the Amazon Fulfillment (MCF) for WooCommerce please reach out to WooCommerce.com > My Account > Support.

    We’ll be happy to help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WooCommerce Amazon Fulfillment plugin – Fatal error’ is closed to new replies.