-
-
Notifications
You must be signed in to change notification settings - Fork 17
[an error occurred while processing the directive] printed on all pages #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If it can't connect to |
I'm pretty sure the |
As far I as I can see we've followed the installation instructions to get the plugin setup. Majority of the team are using DDEV if that makes a difference (I've made sure those extra DDEV specific steps are in there for the DDEV config). Most of my assumption it's the plugin is this is the first time we've used the plugin and the site wasn't showing the error before. Initially I thought it wasn't the plugin as I disabled it in /admin but the error remained.
|
Not sure why it wasn't showing before but now the browser console is listing web socket errors connecting to the DDEV site URL and localhost (both port 3000). I'll go through the config again to check it over |
I've set |
Think we found the issue. We've been using your template scaffolding for some of our newer sites and it looks like the We're using NGINX with DDEV so it's trying to load the critical css (which isn't in place). Not sure why this site is getting the error and no other site is with DDEV (I changed to DDEV when Nitro was 'dropped'). |
Cool, yep, that's what I figured it would be. |
Describe the bug
We get the message of
[an error occurred while processing the directive][an error occurred while processing the directive]
printed at the the of all pages. Assets still update (HMR) fine but this message appears at the top of each page just under the opening<body>
tag.Using XDEBUG with DDEV I can see Guzzle has issues reaching the address
http://localhost:3000/__vite_ping
followed by the error"cURL error 7: Failed to connect to localhost port 3000: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:3000/__vite_ping"
I think this is somewhat related to #37 but I can get assets to build and update fine. Setting
checkDevServer
to false has no effect. It's just this message that appears.To reproduce
Steps to reproduce the behaviour:
Expected behaviour
No error at all
Versions
The text was updated successfully, but these errors were encountered: