• Resolved havishka

    (@havishka)


    Hi Team,

    I am getting a Fatal error: Uncaught Error since yesterday. I updated my WordPress version to the latest and when I updated the woo-commerce plugin to the latest it gives this below-mentioned error and the site is not working. ??

    Fatal error: Uncaught Error: Argument 1 passed to Automattic\WooCommerce\Utilities\StringUtil::starts_with() must be of the type string, null given, called in /nas/content/staging/gutsycreatives/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php on line 330
    in /nas/content/staging/gutsycreatives/wp-content/plugins/woocommerce/src/Utilities/StringUtil.php on line 22
    
    Call stack:
    
    Automattic\W\U\StringUtil::starts_with()
    wp-content/plugins/woocommerce/includes/class-wc-session-handler.php:330
    WC_Session_Handler::maybe_update_nonce_user_logged_out()
    wp-includes/class-wp-hook.php:292
    WP_Hook::apply_filters()
    wp-includes/plugin.php:212
    apply_filters()
    wp-includes/pluggable.php:2235
    wp_create_nonce()
    wp-includes/functions.php:1835
    wp_nonce_field()
    wp-content/plugins/bp-social-connect/includes/class.init.php:50
    init_bp_social_connect::ajaxurl()
    wp-includes/class-wp-hook.php:292
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:316
    WP_Hook::do_action()
    wp-includes/plugin.php:484
    do_action()
    wp-includes/general-template.php:3009
    wp_head()
    wp-content/themes/wplms/header.php:10
    require_once()
    wp-includes/template.php:730
    load_template()
    wp-includes/template.php:676
    locate_template()
    wp-includes/general-template.php:48
    get_header()
    wp-content/themes/wplms/notitle.php:5
    include()
    wp-includes/template-loader.php:106
    require_once()
    wp-blog-header.php:19
    require()
    index.php:17

    Can You help me out to solve this issue?

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

Viewing 2 replies - 16 through 17 (of 17 total)
  • Plugin Support abwaita a11n

    (@abwaita)

    Hi @havishka,

    Thanks for writing back.

    • Since the incompatibility with the latest version is on the side of BuddyPress Social Connect, the best way forward would’ve been to get an updated version of their plugin. Kindly check if there are any available updates for that plugin.
    • The other alternative you can consider is to search and install a plugin that offers similar functionalities as BuddyPress Social Connect. For instance, we have the WooCommerce Social Login that offers the functionality of logging in via social network accounts
    • Lastly, if the above options are not possible, you could revert to an older WooCommerce version where BuddyPress Social Connect was working okay. However, it’s not the preferred option of the three.

    I hope this helps.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Woocommerce plugin error’ is closed to new replies.