Title: replace is not working
Last modified: January 3, 2024

---

# replace is not working

 *  [kkj4980](https://wordpress.org/support/users/kkj4980/)
 * (@kkj4980)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/replace-is-not-working/)
 * I tried to replace text in my posts using ‘Better search replace’.
 * But I’ve got below error.
 * An error occurred processing your request. Try decreasing the “Max Page Size”,
   or contact support.
 * What can i do for this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freplace-is-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Delicious Brains Support](https://wordpress.org/support/users/dbisupport/)
 * (@dbisupport)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/replace-is-not-working/#post-17315714)
 * Hi [@kkj4980](https://wordpress.org/support/users/kkj4980/)
 * Better Search Replace Support Team here. Thanks for reaching out with your query!
   We would be happy to assist.
 * Would you please try editing your wp-config.php file and replace this line –
 * define( ‘WP_DEBUG’, false );
 * With these lines –
 * define(‘WP_DEBUG’, true);
   define(‘WP_DEBUG_LOG’, true);define(‘WP_DEBUG_DISPLAY’,
   false);
 * This means that any errors are logged to /wp-content/debug.log, because some 
   errors are not visible on screen. More details about that at [https://wordpress.org/support/article/editing-wp-config-php/#wp_debug](https://wordpress.org/support/article/editing-wp-config-php/#wp_debug)
 * Can you try the process again and then attach the debug.log file with your reply.
 * Thank you.
 *  Thread Starter [kkj4980](https://wordpress.org/support/users/kkj4980/)
 * (@kkj4980)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/replace-is-not-working/#post-17332179)
 * I’m sorry for late reply.
 * I sent log to noreply account 🤣
 * Here is the log contents.
 *     ```wp-block-code
       [05-Jan-2024 02:03:13 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 45056 bytes) in /data/hosting/site/review-all.co.kr/www/wp-includes/class-wpdb.php on line 2349
       ```
   
 * Thanks for your support
 * Regards,
 * Kyungjun
 *  Plugin Support [Delicious Brains Support](https://wordpress.org/support/users/dbisupport/)
 * (@dbisupport)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/replace-is-not-working/#post-17335516)
 * Hi Kyungjun,
 * Thanks for sending that in. It looks like Better Search Replace is hitting the
   memory limit of your server when trying to perform the search/replace.
 * Please try increasing the server’s memory limit to 256M to see if it helps with
   the issue.
 * [https://deliciousbrains.com/wp-migrate-db-pro/doc/memory-issues/#php-memory-limit](https://deliciousbrains.com/wp-migrate-db-pro/doc/memory-issues/#php-memory-limit)
 * Let us know how it goes for you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘replace is not working’ is closed to new replies.

 * ![](https://ps.w.org/better-search-replace/assets/icon-256x256.png?rev=2706527)
 * [Better Search Replace](https://wordpress.org/plugins/better-search-replace/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-search-replace/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-search-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/better-search-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-search-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-search-replace/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Delicious Brains Support](https://wordpress.org/support/users/dbisupport/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/replace-is-not-working/#post-17335516)
 * Status: not resolved