• Resolved harun2024

    (@harun2024)


    I’m seeing the following php errors:

    wp-content/plugins/redirection/models/regex.php:35

    preg_match(): Compilation failed: missing closing parenthesis at offset 46

    preg_match(): Compilation failed: missing closing parenthesis at offset 42

    preg_match(): Compilation failed: missing closing parenthesis at offset 38

    Is this a problem with the Redirection Plugin, or is it something I’ve done wrong with my redirection rules?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author John Godley

    (@johnny5)

    Probably it is a problem with one of your regular expressions. Redirection doesn’t validate them, and the error suggests you have a missing bracket.

    Thread Starter harun2024

    (@harun2024)

    Okay thanks! Is there a method to narrow it down, or just check each one?

    Plugin Author John Godley

    (@johnny5)

    You can use the filters to show you just the regular expression redirects. There shouldn’t be too many.

    Thread Starter harun2024

    (@harun2024)

    Okay thank you!

    Thread Starter harun2024

    (@harun2024)

    FYI: All the errors came from redirects that had been imported from RankMath… Could be a coincidence, but could be a cause.

    Plugin Author John Godley

    (@johnny5)

    If you can list an example I’ll check to see whether the importer might be missing something.

    Thread Starter harun2024

    (@harun2024)

    If there’s a secure way to send the info I can.

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

You must be logged in to reply to this topic.