Support » Plugin: Better Search Replace » PHP Notice: BSR_DB::recursive_unserialize_replace(): The script tried to execut

  • Hi,

    I do have an error in my logs from the plugin
    [03-Oct-2019 10:39:53 UTC] PHP Notice: BSR_DB::recursive_unserialize_replace(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition “FS_Plugin” of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /www/wp-content/plugins/better-search-replace/includes/class-bsr-db.php on line 344

    This error is present since a couple of days now. No new plugins where installed, only updates from other plugins.
    What is the reason for this error, is it the better search and replace plugin ?
    Or is some other plugin or update the reason.
    I have this only on one site, the others that do have better search replace do not have this warning.
    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    +1 – I experince (nearly) the same issue when debug_log is activated. Error:

    [07-Oct-2019 16:09:21 UTC] PHP Notice: BSR_DB::recursive_unserialize_replace(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Deconf_Service_Analytics_GaData" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in [path]/wp-content/plugins/better-search-replace/includes/class-bsr-db.php on line 344.

    So – the error type is the same, but the reported class definition is different.

    This happened while using the plugin to check if a specific email address exists somewhere in the database (it doesn’t).

    Thanks for investigating this further.

    skyhawkpictures

    (@skyhawkmedia)

    +1 for me too
    If I run BSR on the whole DB I end up with a 5Gb debug.log file, plus the search fails.
    I am using WP 5.3.
    Thanks
    S.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.