Title: [Plugin: Word Replacer] Bug
Last modified: August 19, 2016

---

# [Plugin: Word Replacer] Bug

 *  [hanimausi](https://wordpress.org/support/users/hanimausi/)
 * (@hanimausi)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-word-replacer-bug/)
 * If I want to comment, I get this error because of your plugin. If I deactivate
   your plugin, everything work nice:
 * Warning: array_diff() [function.array-diff]: Argument #1 is not an array in /
   var/www/web119/html/wp-content/plugins/word-replacer/word-replacer.php on line
   56
 * Warning: Cannot modify header information – headers already sent by (output started
   at /var/www/web119/html/wp-content/plugins/word-replacer/word-replacer.php:56)
   in /var/www/web283/html/wp-includes/pluggable.php on line 890

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

 *  [odolyte](https://wordpress.org/support/users/odolyte/)
 * (@odolyte)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-word-replacer-bug/#post-1912260)
 * Same thing if you modify an existing Category (for instance if you rename it 
   or add a description to the category)!
 * using WP 3.0.5
 *  Plugin Author [takien](https://wordpress.org/support/users/takien/)
 * (@takien)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-word-replacer-bug/#post-1912262)
 * helo **hanimausi** and **Odolyte**,
    i have fixed this bug. please upgrade to
   newer version (0.2.2) thank you for using my plugin.
 *  [odolyte](https://wordpress.org/support/users/odolyte/)
 * (@odolyte)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-word-replacer-bug/#post-1912264)
 * Thx Takien,
 * May i suggest 2 possible evolutions to your plugin ?
 * 1) it would be great if we could change a bigger portion of text than just a 
   string (i mean via a textarea and not just a form field). This would allow to
   place some content anywhere in the posts or pages. We use your plugin on one 
   website where we have to put same small panels of content in different pages (
   like table of contents if you like). For instance (we know it’s not meant for
   that but it’s useful) we put : [Panel-12] in the text in different posts where
   we need to and replace it with some code : <div class=”xxx”>Title
   <link1><link2
   ><link3></div>. This way when we have to make modifications we just made them
   one time, not on all posts.
 * 2) it would also be great if we could decide to execute a permanent replacement
   in all posts (with the risks implied) or just a search and replace. For instance
   on one site, we put lots of links to a website that changed it’s structure. So
   we had to change all the links to this website to avoid dead links. We used a
   search and replace, but it slows wordpress unecessary : the plugin needs to search
   and replace the links each time a page or post is called. We need to apply this
   change in the posts once and for all. So it would be wonderfull to have the option:
   permanent replacement or not.
 * Thanks for this great plugin !
 * Odo
 *  Plugin Author [takien](https://wordpress.org/support/users/takien/)
 * (@takien)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-word-replacer-bug/#post-1912269)
 * hi **Odolyte**
    1. text, yes it supports long text as well, except the fields
   is still text input, not textarea. however, it’s nice to implement as long as
   does not interfere the form layout.
 * 2. good idea, I will think that way.
 * Thank you 🙂

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

The topic ‘[Plugin: Word Replacer] Bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/word-replacer.svg)
 * [Word Replacer](https://wordpress.org/plugins/word-replacer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/word-replacer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/word-replacer/)
 * [Active Topics](https://wordpress.org/support/plugin/word-replacer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/word-replacer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/word-replacer/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [takien](https://wordpress.org/support/users/takien/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-word-replacer-bug/#post-1912269)
 * Status: not resolved