WordPress.org

Ready to get started?Download WordPress

Forums

Word Filter Plus
Fatal Erroir (6 posts)

  1. toastbrot
    Member
    Posted 2 years ago #

    Fatal error: Using $this when not in object context in wp-content/plugins/word-filter-plus/word-filter-plus.php on line 163

    Cant start the Plugin on a fresh installation of wordpress. No other Plugins are active.

    http://wordpress.org/extend/plugins/word-filter-plus/

  2. Brian Layman
    Member
    Plugin Author

    Posted 2 years ago #

    I'll take a look. I did some tweaking to documentation at 4am. I may have checked something in I'd not intended to save.

  3. Brian Layman
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry for your troubles. I've fixed the issue. Please consider reinstalling and testing the new version.

    1.0.1 is available for fresh installation and via update in your wp-admin.

  4. toastbrot
    Member
    Posted 2 years ago #

    Thanks for the quick reply. Unfortunately, the problem still exists

    Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in /wp-content/plugins/word-filter-plus/word-filter-plus.php on line 193

    The expression iam looking for contains a lot of "///".
    Maybe this helps with the bugtracking.

  5. Brian Layman
    Member
    Plugin Author

    Posted 2 years ago #

    Fortunately, that's a completely different issue.

    The regex statement you've entered is not being recognized as a valid statement. I'll need to add some error trapping around that section to have it display a better message. Maybe I need to add a testing section too.

    I'm not going to be able to support everyone's regex code, and slashes make it extra difficult, but I do want to make sure there isn't something more going on here. Could you post what your original and replacement values are and what a before and after example text would be?

    Also where is that error appearing?

  6. toastbrot
    Member
    Posted 2 years ago #

    Sorry, you're right:
    The plugin is now running without the mentioned error.
    This is a new bug.

    Great that you still help me.

    Example 1
    The search is for
    "///////// Name ///////////"

    It should be replaced by:
    Nothing (Would be great)or only one point "."

    Example 2
    The search is for
    "<a href="mailto:info@domain.com">info@domain.com</a>"
    It should be replaced by:
    Nothing (Would be great)or only one point "."

    After saving the Rule it changed to
    <a href="\"mailto:info@domain.com\">info@domain.com</a>

    The error message appears in the Post. The post does not appear.

    Thanks a lot for your work

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic