You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing a Grav site locally on my Windows 10 computer.
I often get this error message instead of a useful error message when, e.g., I make a syntax error. For instance, when I had the following line in a twig file:
{% set film = page.media|filter(i => i matches '/(m|M)ovie')|first %}
(where I accidentally forgot the ending slash for the regex)
I get the above error message: Class 'Grav\Plugin\Problems\desktop.ini' not found.
However, if I disable the "problems" plugin by adding an underscore to the folder name in user/plugins, renaming it "problems_", and reload, I get the much more useful error message:
An exception has been thrown during the rendering of a template ("preg_match(): No ending delimiter '/' found").
I tried deleting a few desktop.ini files here and there, but do not know which one is being referred to, and couldn't figure how to resolve the issue in any other way.
Plugin version: 2.0.3
The text was updated successfully, but these errors were encountered:
I'm developing a Grav site locally on my Windows 10 computer.
I often get this error message instead of a useful error message when, e.g., I make a syntax error. For instance, when I had the following line in a twig file:
{% set film = page.media|filter(i => i matches '/(m|M)ovie')|first %}
(where I accidentally forgot the ending slash for the regex)
I get the above error message: Class 'Grav\Plugin\Problems\desktop.ini' not found.
However, if I disable the "problems" plugin by adding an underscore to the folder name in user/plugins, renaming it "problems_", and reload, I get the much more useful error message:
An exception has been thrown during the rendering of a template ("preg_match(): No ending delimiter '/' found").
I tried deleting a few desktop.ini files here and there, but do not know which one is being referred to, and couldn't figure how to resolve the issue in any other way.
Plugin version: 2.0.3
The text was updated successfully, but these errors were encountered: