• Resolved lyz96

    (@lyz96)


    I received an email about WordPress caught an error with one of your plugins, WooCommerce.

    The error details as below>>

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.7.2
    Current theme: WPLMS (version 4.097)
    Current plugin: WooCommerce (version 5.3.0)
    PHP version 7.4.18

    Error Details
    =============
    An error of type E_ERROR was caused in line 22 of the file /var/web/site/public_html/wp-content/plugins/woocommerce/src/Utilities/StringUtil.php. Error message: Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\Utilities\StringUtil::starts_with() must be of the type string, null given, called in /var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php on line 330 and defined in /var/web/site/public_html/wp-content/plugins/woocommerce/src/Utilities/StringUtil.php:22
    Stack trace:
    #0 /var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php(330): Automattic\WooCommerce\Utilities\StringUtil::starts_with(NULL, ‘woocommerce’)
    #1 /var/web/site/public_html/wp-includes/class-wp-hook.php(292): WC_Session_Handler->maybe_update_nonce_user_logged_out(0, NULL)
    #2 /var/web/site/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(0, Array)
    #3 /var/web/site/public_html/wp-includes/pluggable.php(2235): apply_filters(‘nonce_user_logg…’, 0, NULL)
    #4 /var/web/site/public_html/wp-includes/functions.php(1835): wp_create_nonce(NULL)
    #5 /var/web/site/public_html/wp-content/plugins/bp-social

    Status report of my woocommerce plugin,

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://learnbar.com.my
    Site address (URL): https://learnbar.com.my
    WC Version: 5.3.0
    REST API Version: ? 5.3.0
    WC Blocks Version: ? 4.9.1
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 2.2.6
    Log Directory Writable: ?
    WP Version: 5.7.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: nginx/1.18.0
    PHP Version: 7.4.18
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 3000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.29-MariaDB-1:10.3.29+maria~bionic
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.3.0
    WC Database Prefix: learn_
    Total Database Size: 20.64MB
    Database Data Size: 16.56MB
    Database Index Size: 4.08MB
    learn_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    learn_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    learn_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_actionscheduler_actions: Data: 0.03MB + Index: 0.11MB + Engine InnoDB
    learn_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_bp_activity: Data: 0.14MB + Index: 0.16MB + Engine InnoDB
    learn_bp_activity_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_bp_friends: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_bp_groups: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    learn_bp_groups_groupmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_bp_groups_members: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    learn_bp_invitations: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
    learn_bp_messages_messages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_bp_messages_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_bp_messages_notices: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_bp_messages_recipients: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    learn_bp_notifications: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    learn_bp_notifications_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_bp_user_blogs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_bp_user_blogs_blogmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_bp_xprofile_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_bp_xprofile_fields: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    learn_bp_xprofile_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_bp_xprofile_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_comments: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    learn_db_element_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_defender_audit_log: Data: 0.25MB + Index: 0.27MB + Engine InnoDB
    learn_defender_email_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_defender_lockout: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    learn_defender_lockout_log: Data: 0.14MB + Index: 0.05MB + Engine InnoDB
    learn_defender_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_defender_scan_item: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_h5p_contents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_h5p_contents_libraries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_h5p_contents_tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_h5p_contents_user_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_h5p_counters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_h5p_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_h5p_libraries: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_h5p_libraries_cachedassets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_h5p_libraries_hub_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_h5p_libraries_languages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_h5p_libraries_libraries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_h5p_results: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_h5p_tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_h5p_tmpfiles: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_layerslider: Data: 0.25MB + Index: 0.00MB + Engine InnoDB
    learn_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_options: Data: 5.23MB + Index: 0.06MB + Engine InnoDB
    learn_postmeta: Data: 5.52MB + Index: 0.75MB + Engine InnoDB
    learn_posts: Data: 2.52MB + Index: 0.22MB + Engine InnoDB
    learn_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_sliders: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_slides: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_signups: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    learn_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    learn_term_relationships: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    learn_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    learn_usermeta: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    learn_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    learn_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    learn_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    learn_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    learn_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    learn_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    learn_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    learn_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    ajde_events: 2
    attachment: 120
    bnfw_notification: 1
    bp-email: 105
    buddydrive-file: 1
    course: 20
    customize_changeset: 12
    elementor_library: 13
    forum: 2
    nav_menu_item: 78
    oembed_cache: 1
    page: 68
    payments: 1
    post: 22
    postman_sent_mail: 25
    product: 23
    question: 75
    quiz: 13
    revision: 91
    shop_order: 91
    testimonials: 8
    topic: 1
    unit: 94
    wpforms: 2
    wplms-assignment: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (29) ###
    
    LayerSlider WP: by Kreatura Media – 6.9.2
    bbPress: by The bbPress Contributors – 2.6.6
    BuddyPress Social Connect: by VibeThemes – 1.5
    BuddyDrive: by mrpritchett – 2.1.2
    BuddyPress: by The BuddyPress Community – 7.3.0
    Classic Editor: by WordPress Contributors – 1.6
    Elementor: by Elementor.com – 3.2.3
    EventON: by AshanJay – 2.8.8
    H5P: by Joubel – 1.15.2
    Post SMTP: by Yehuda Hassine – 2.0.23
    Slider Revolution: by ThemePunch – 6.2.6
    Simple Custom CSS: by John Regan
    Danny Van Kooten – 4.0.4
    
    Styler for WPForms: by Sushil Kumar – 2.0.3
    Vibe Course Module: by Mr.Vibe – 3.9.9.7
    Vibe Custom Types: by Mr.Vibe – 3.9.9.3
    Vibe ShortCodes: by VibeThemes – 3.9.9.3.1
    WooCommerce: by Automattic – 5.3.0
    Defender Pro: by WPMU DEV – 2.5.0
    Hummingbird Pro: by WPMU DEV – 2.7.3
    Smush Pro: by WPMU DEV – 3.8.4
    WPForms Lite: by WPForms – 1.6.7
    WPLMS Assignments: by VibeThemes – 3.9.9.2
    WPLMS Customizer Plugin: by VibeThemes – 1.0
    WPLMS Dashboard: by VibeThemes – 3.9.9.1
    WPLMS EventOn: by Mr.Vibe – 4.0
    WPLMS Front End: by VibeThemes – 3.9.9
    WPLMS H5p Plugin: by VibeThemes,alexhal – 2.1
    SmartCrawl Pro: by WPMU DEV – 2.10.2
    WPMU DEV Dashboard: by WPMU DEV – 4.11.0
    
    ### Inactive Plugins (2) ###
    
    Better Notifications for WP: by Made with Fuel – 1.8.6
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.2.0
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: WPMU DEV Hummingbird Object Cache
    
    ### Must Use Plugins (1) ###
    
    WPMU DEV Hosting: by WPMU DEV – 0.1
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: MYR (RM)
    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: –
    
    ### WC Pages ###
    
    Shop base: #2000 - /shop/
    Cart: #2001 - /cart/
    Checkout: #2002 - /checkout/
    My account: #2003 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: WPLMS
    Version: 4.097
    Author URL: https://www.VibeThemes.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: wplms/woocommerce/archive-product.php
    wplms/woocommerce/cart/cart.php
    wplms/woocommerce/checkout/form-checkout.php
    wplms/woocommerce/content-product.php
    wplms/woocommerce/content-single-product.php
    wplms/woocommerce/single-product/short-description.php
    wplms/woocommerce/single-product/title.php
    wplms/woocommerce/single-product.php
    
    ### Action Scheduler ###
    
    Complete: 45
    Oldest: 2021-05-10 04:30:54 +0000
    Newest: 2021-05-21 00:06:45 +0000
    
    Pending: 4
    Oldest: 2021-05-22 00:06:45 +0000
    Newest: 2021-05-24 06:24:39 +0000
    
    ### Status report information ###
    
    Generated at: 2021-05-21 18:26:56 +08:00
    

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Ross V. a11n

    (@rossviviano)

    Automattic Happiness Engineer

    Hi there,

    Are you able to replicate this error consistently, or was it a one-time occurrence?
    If you are able to replicate it, can you tell us how?

    Looking forward to hearing from you!

    Ross

    Thread Starter lyz96

    (@lyz96)

    Hi, now i disabled the woocommerce plugin so website running normal, but when i enable it become error.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    Thanks for confirming!

    The error is generic and while it points to WooCommerce, it’s like a conflict with another plugin (or the theme) that conflicts with WooComerce.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.`

    Hi @lyz96

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error with my site’ is closed to new replies.