deliciousbrains / better-search-replace

A simple plugin for updating URLs or other text in a database.
https://bettersearchreplace.com
GNU General Public License v3.0
86 stars 36 forks source link

Apache Log is Filling up Fast when Running a Search #62

Open dbodnariuc opened 4 years ago

dbodnariuc commented 4 years ago

My disk is filling up an under one minute upon executing a search. The error message below repeats in the log until the disk is full. (about 15 GB)

PHP message: 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 "DUP_Archive_Filter_Scope_Base" 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 /home/runcloud/webapps/CBM/wp-content/plugins/better-search-replace/includes/class-bsr-db.php on line 344PHP message: 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 "DUP_Archive_Filter_Info" 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 /home/runcloud/webapps/CBM/wp-content/plugins/better-search-replace/includes/class-bsr-db.php on line 344PHP message: 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 "DUP_Archive_Filter_Info" 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 /home/runcloud/webapps/CBM/wp-content/plugins/better-search-replace/includes/class-bsr-db.php on line 344PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/runcloud/webapps/CBM/wp-content/plugins/better-search-replace/includes/class-bsr-db.php on line 344', referer: http://coffee-brewing-methods.com/wp-admin/tools.php?page=better-search-replace&tab=bsr_search_replace&result=true

search for https://coffee-brewing-methods.com replace with: http://coffee-brewing-methods.com

Thanks,

Dorian

dbodnariuc commented 4 years ago

I cleaned up the option table and that fixed the problem. However, an apache error log that grows 15GB in 30 seconds is not normal.

Thanks,

Dorian