Also when I toggle this snippet other snippets will break:
2023-07-20T06:15:56+00:00 preg_split(): Compilation failed: quantifier does not follow a repeatable item at offset 6
2023-07-20T06:15:56+00:00 Snippet “Disable Automatic Updates Emails” (#525) was automatically deactivated due to a fatal error.
2023-07-20T06:16:02+00:00 preg_split(): Compilation failed: quantifier does not follow a repeatable item at offset 6
2023-07-20T06:16:02+00:00 Snippet “Completely Disable Comments” (#3) was automatically deactivated due to a fatal error.
2023-07-20T06:16:09+00:00 preg_split(): Compilation failed: quantifier does not follow a repeatable item at offset 6
2023-07-20T06:16:09+00:00 Snippet “Allow SVG Files Upload” (#700) was automatically deactivated due to a fatal error.
Hi @dkexception,
Thank you for reporting this issue – it seems the problem is related to the way the regex in that snippet is imported. I made a small adjustment to the snippet code can you please:
- Delete the “Remove Query Strings From Static Files” snippet from your site
- Add the “Remove Query Strings From Static Files” again from the library like you did before
- Activate
That should fix the issue.
