• Resolved lewebhamster

    (@lewebhamster)


    Hello,

    When I access my WordPress website inner pages, its showing error…

    `

    Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1 in /homepages/0/d453368063/htdocs/wp-includes/class-wp.php on line 224

    Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1 in /homepages/0/d453368063/htdocs/wp-includes/class-wp.php on line 223

    Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1 in /homepages/0/d453368063/htdocs/wp-includes/class-wp.php on line 224

    I found this topic – this topic which says to change the structure of the permalinks and return to the original structure.
    Which I did. It works when the structure is simple. But the bug always comes back when I activate another structure.
    What can I do to fix this?
    Thanks to you
    David

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Rafiz Sejim

    (@rafizsejim)

    Hello @lewebhamster

    Thank you for reaching us.

    The following issue may arise for quite a few reasons. Firstly, it is just a warning and not an issue – try disabling the wp_debug mode by following the doc here

    https://www.greengeeks.com/tutorials/article/disable-wordpress-php-error-messages/

    Secondly, does the issue exists in the permalink type “postname”?

    Thirdly, are you using any cache plugin? If yes then try disabling it.

    Finally, If nothing works, I assume Directorist is conflicting with another plugin or your theme. To perform a conflict test, start off changing the theme to twenty twenty and check if that resolves the issue. [If you are using a child theme then also check if changing to the parent theme resolves the issue.]

    If that doesn’t resolve the issue then you need to deactivate the plugins one by one and identify the plugin causing the issue. You may follow the conflict test DOC here > https://directorist.com/documentation/directorist/articles/how-to-perform-a-plugin-conflict-test/

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘How to Fix WordPress Error – Warning: preg_match(): Compilation failed’ is closed to new replies.