• Resolved juliepassarani

    (@juliepassarani)


    I’ve error message as follow

    Fatal error: Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\Utilities\StringUtil::starts_with() must be of the type string, null given, called in /home/rczfyqjp/public_html/client/demo/agapesardegna/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php on line 330 and defined in /home/rczfyqjp/public_html/client/demo/agapesardegna/wp-content/plugins/woocommerce/src/Utilities/StringUtil.php:22 Stack trace: #0 /home/rczfyqjp/public_html/client/demo/agapesardegna/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php(330): Automattic\WooCommerce\Utilities\StringUtil::starts_with(NULL, 'woocommerce') #1 /home/rczfyqjp/public_html/client/demo/agapesardegna/wp-includes/class-wp-hook.php(292): WC_Session_Handler->maybe_update_nonce_user_logged_out(0, NULL) #2 /home/rczfyqjp/public_html/client/demo/agapesardegna/wp-includes/plugin.php(212): WP_Hook->apply_filters(0, Array) #3 /home/rczfyqjp/public_html/client/demo/agapesardegna/wp-includes/pluggable.php(2235): apply_filters('nonce_use in /home/rczfyqjp/public_html/client/demo/agapesardegna/wp-content/plugins/woocommerce/src/Utilities/StringUtil.php on line 22

    Some clues?

    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,

    Could you copy and paste your site’s system status report into this thread? You can get it from your dashboard by going to WooCommerce—> Status.
    Additionally, can you tell me if you’re able to trigger this error? If so, can you explain the steps to reproduce it?

    Looking forward to hearing from you!

    Ross

    Thread Starter juliepassarani

    (@juliepassarani)

    Here the status

    `
    ### WordPress Environment ###

    WordPress address (URL): https://www.roobik.it/client/demo/agapesardegna
    Site address (URL): https://www.roobik.it/client/demo/agapesardegna
    WC Version: 5.2.0
    REST API Version: ? 5.2.0
    WC Blocks Version: ? 4.7.1
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 2.2.1
    Log Directory Writable: ?
    WP Version: 5.7
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: it_IT
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.1.33 – Consigliamo di usare PHP versione 7.2 o superiore per prestazioni e sicurezza maggiori. Come aggiornare la versione di PHP
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 100000
    cURL Version: 7.74.0
    OpenSSL/1.1.1i

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.28-MariaDB-log-cll-lve
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 5.2.0
    WC Database Prefix: wp_
    Dimensione totale database: 27.25MB
    Dimensione dati database: 20.45MB
    Dimensione indice database: 6.80MB
    wp_woocommerce_sessions: Dati: 0.79MB + indice: 0.04MB + motore MyISAM
    wp_woocommerce_api_keys: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_attribute_taxonomies: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_downloadable_product_permissions: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_order_items: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_order_itemmeta: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_tax_rates: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_tax_rate_locations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_shipping_zones: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_shipping_zone_locations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_shipping_zone_methods: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_payment_tokens: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_payment_tokenmeta: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_woocommerce_log: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_actionscheduler_actions: Dati: 0.53MB + indice: 0.13MB + motore MyISAM
    wp_actionscheduler_claims: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_actionscheduler_groups: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
    wp_actionscheduler_logs: Dati: 0.24MB + indice: 0.18MB + motore MyISAM
    wp_bp_activity: Dati: 0.05MB + indice: 0.03MB + motore MyISAM
    wp_bp_activity_meta: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_bp_invitations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_bp_notifications: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_bp_notifications_meta: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_bp_xprofile_data: Dati: 0.02MB + indice: 0.02MB + motore MyISAM
    wp_bp_xprofile_fields: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
    wp_bp_xprofile_groups: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_bp_xprofile_meta: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
    wp_commentmeta: Dati: 0.04MB + indice: 0.04MB + motore MyISAM
    wp_comments: Dati: 0.20MB + indice: 0.11MB + motore MyISAM
    wp_layerslider: Dati: 0.20MB + indice: 0.00MB + motore MyISAM
    wp_layerslider_revisions: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_links: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_modal_survey_answers: Dati: 0.20MB + indice: 0.00MB + motore InnoDB
    wp_modal_survey_answers_text: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_modal_survey_participants: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_modal_survey_participants_details: Dati: 0.16MB + indice: 0.30MB + motore InnoDB
    wp_modal_survey_questions: Dati: 0.06MB + indice: 0.00MB + motore InnoDB
    wp_modal_survey_surveys: Dati: 0.05MB + indice: 0.00MB + motore InnoDB
    wp_nf3_actions: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_nf3_action_meta: Dati: 0.03MB + indice: 0.00MB + motore MyISAM
    wp_nf3_chunks: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_nf3_fields: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_nf3_field_meta: Dati: 0.05MB + indice: 0.01MB + motore MyISAM
    wp_nf3_forms: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_nf3_form_meta: Dati: 0.02MB + indice: 0.01MB + motore MyISAM
    wp_nf3_objects: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_nf3_object_meta: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_nf3_relationships: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_nf3_upgrades: Dati: 0.06MB + indice: 0.00MB + motore MyISAM
    wp_options: Dati: 3.52MB + indice: 0.08MB + motore InnoDB
    wp_postmeta: Dati: 8.52MB + indice: 4.03MB + motore InnoDB
    wp_posts: Dati: 2.52MB + indice: 0.41MB + motore InnoDB
    wp_revslider_css: Dati: 0.09MB + indice: 0.00MB + motore MyISAM
    wp_revslider_css_bkp: Dati: 0.01MB + indice: 0.00MB + motore MyISAM
    wp_revslider_layer_animations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_revslider_layer_animations_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_revslider_navigations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_revslider_navigations_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_revslider_sliders: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_revslider_sliders_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_revslider_slides: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_revslider_slides_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_revslider_static_slides: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_revslider_static_slides_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_signups: Dati: 0.01MB + indice: 0.02MB + motore MyISAM
    wp_termmeta: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
    wp_terms: Dati: 0.02MB + indice: 0.04MB + motore MyISAM
    wp_term_relationships: Dati: 0.02MB + indice: 0.04MB + motore MyISAM
    wp_term_taxonomy: Dati: 0.02MB + indice: 0.02MB + motore MyISAM
    wp_usermeta: Dati: 0.93MB + indice: 0.43MB + motore MyISAM
    wp_users: Dati: 0.06MB + indice: 0.06MB + motore MyISAM
    wp_user_registration_sessions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_wc_admin_notes: Dati: 0.01MB + indice: 0.00MB + motore MyISAM
    wp_wc_admin_note_actions: Dati: 0.01MB + indice: 0.00MB + motore MyISAM
    wp_wc_category_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_wc_customer_lookup: Dati: 0.03MB + indice: 0.03MB + motore MyISAM
    wp_wc_download_log: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_wc_order_coupon_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_wc_order_product_lookup: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
    wp_wc_order_stats: Dati: 0.03MB + indice: 0.04MB + motore MyISAM
    wp_wc_order_tax_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_wc_product_meta_lookup: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
    wp_wc_reserved_stock: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wc_tax_rate_classes: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
    wp_wc_webhooks: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
    wp_yoast_indexable: Dati: 1.52MB + indice: 0.34MB + motore InnoDB
    wp_yoast_indexable_hierarchy: Dati: 0.06MB + indice: 0.05MB + motore InnoDB
    wp_yoast_migrations: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_yoast_primary_term: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_yoast_seo_links: Dati: 0.23MB + indice: 0.14MB + motore InnoDB
    wp_yoast_seo_meta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB

    ### Post Type Counts ###

    attachment: 451
    bp-email: 46
    course: 67
    elementor_library: 1
    forum: 17
    nav_menu_item: 46
    nf_sub: 86
    oembed_cache: 3
    page: 94
    post: 75
    product: 61
    question: 1
    quiz: 1
    revision: 133
    shop_order: 558
    testimonials: 6
    topic: 1
    unit: 3
    user_registration: 1
    wpcf7_contact_form: 8

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?I messaggi di errore non saranno mostrati ai visitatori.

    ### Active Plugins (36) ###

    LayerSlider WP: by Kreatura Media – 6.9.2
    Akismet Anti-Spam: by Automattic – 4.1.9
    All-in-One WP Migration Unlimited Extension: by ServMask – 2.39
    All-in-One WP Migration: by ServMask – 7.40
    bbPress: by Hanno contribuito a bbPress – 2.6.6
    BuddyPress Social Connect: by VibeThemes – 1.5
    BuddyDrive: by mrpritchett – 2.1.2
    BuddyPress: by La Community BuddyPress – 7.2.1
    Classic Editor: by Contributori WordPress – 1.6
    Contact Form 7: by Takayuki Miyoshi – 5.4
    GDPR Cookie Consent: by WebToffee – 2.0.1
    Duplica pagina: by mndpsingh287 – 4.4
    Easy WP SMTP: by wpecommerce
    alexanderfoxc – 1.4.6

    Widget for Social Page Feeds: by Milap Patel – 6.1
    Health Check & Troubleshooting: by The www.ads-software.com community – 1.4.5
    WPBakery Page Builder: by Michael M – WPBakery.com – 6.6.0
    Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.20.6
    Loco Translate: by Tim Whitlock – 2.5.2
    Modal Survey: by Pantherius – 2.0.1.8.2
    Ninja Forms: by Saturday Drive – 3.5.3
    Really Simple SSL: by Really Simple Plugins – 4.0.13
    Slider Revolution: by ThemePunch – 6.1.5
    Increase Maximum Upload File Size: by Imagify – 2.0.4
    User Registration: by WPEverest – 1.9.6
    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 Admin: by WooCommerce – 2.2.1
    WooCommerce: by Automattic – 5.2.0
    Importatore WordPress: by wordpressdotorg – 0.7
    Yoast SEO: by Team Yoast – 16.1.1
    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 – 3.9.9.1
    WPLMS Front End: by VibeThemes – 3.9.9

    ### Inactive Plugins (1) ###

    EventON: by AshanJay – 2.8.4

    ### Must Use Plugins (2) ###

    Health Check Troubleshooting Mode: by – 1.7.2
    installatron_hide_status_test.php: by –

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    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: #7700 – /negozio/
    Carrello: #5122 – /cart/
    Pagamento: #5124 – /checkout/
    Il mio account: #5126 – /my-account/
    Termini e condizioni: ? La pagina non è impostata

    ### Theme ###

    Name: WPLMS
    Version: 4.097
    Author URL: https://www.VibeThemes.com/
    Child Theme: ? – Se stai modificando WooCommerce o un tema genitore che non hai costruito personalmente
    ti consigliamo di utilizzare un tema child. Vedi: Come creare un tema child

    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 ###

    Completato: 1.434
    Oldest: 2021-03-14 13:12:54 +0000
    Newest: 2021-04-14 12:14:32 +0000

    In attesa: 2
    Oldest: 2021-04-14 13:14:32 +0000
    Newest: 2021-04-14 13:14:32 +0000

    ### Status report information ###

    Generated at: 2021-04-14 12:21:09 +00:00
    `

    Plugin Support Ross V. a11n

    (@rossviviano)

    Automattic Happiness Engineer

    Hi again,

    Usually, issues like this are due to something conflicting with WooCommerce. To test, first, you’ll want to change the theme on your site to Storefront, then test. 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 to see where the issue is coming from. If you don’t want to test on your live site, then create a staging site using a plugin called WP Staging.`

    Best,

    Ross

    Plugin Support Ross V. a11n

    (@rossviviano)

    Automattic Happiness Engineer

    Hi again,

    Since I haven’t heard from you in a while, I’m going to close this thread. Feel free to start a new one if you have any other questions!

    Best,

    Ross

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error on StringUtil.php’ is closed to new replies.