Support » Plugin: Better Search Replace » PHP Fatal error: Uncaught Error: Cannot access property started with ‘\0’

  • mocinka

    (@mocinka)


    Hello,

    you have uncaught error. Instead of error 500, you should display an user friendly error message in frontend.

    [11-Feb-2020 12:57:18] PHP Fatal error:  Uncaught Error: Cannot access property started with '\0' in /www/wp-content/plugins/better-search-replace/includes/class-bsr-db.php:344
    Stack trace:
    #0 /www/wp-content/plugins/better-search-replace/includes/class-bsr-db.php(331): BSR_DB->recursive_unserialize_replace('http://', 'https://', Object(WPML_LS_Template), false, 'on')
    #1 /www/wp-content/plugins/better-search-replace/includes/class-bsr-db.php(325): BSR_DB->recursive_unserialize_replace('http://', 'https://', Array, true, 'on')
    #2 /www/wp-content/plugins/better-search-replace/includes/class-bsr-db.php(265): BSR_DB->recursive_unserialize_replace('http://', 'https://', 'a:6:{s:20:"wpml...', false, 'on')
    #3 /www/wp-content/plugins/better-search-replace/includes/class-bsr-ajax.php(140): BSR_DB->srdb('wp_options', 1, Array)
    #4 /www/wp-includes/class-wp-hook.php(288): BSR_AJAX->process_search_replace('')
    #5 /www/wp-inc in /www/wp-content/plugins/better-search-replace/includes/class-bsr-db.php on line 344
  • You must be logged in to reply to this topic.