Replies: 1 comment
-
FWIW downgrading to Valet 3.x, deleting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been using this local valet driver to serve images from a remote host when doing local development: https://gist.github.com/mishterk/a8f19eeb514cf77ad333fb67b3c7aeb9#file-localvaletdriver-php
However, it results in an error:
Fatal error: Uncaught Error: Class "WordPressValetDriver" not found
I've tried
use Valet\Drivers\Specific\WordPressValetDriver;
to no avail:Fatal error: Uncaught Error: Class 'Valet\Drivers\Specific\WordPressValetDriver' not found
I've also tried
use Valet\Drivers\WordPressValetDriver;
to no avail.If I try extending the
BasicValetDriver
instead, I the following error:Fatal error: Declaration of Valet\Drivers\LocalValetDriver::serveStaticFile($staticFilePath, $sitePath, $siteName, $uri) must be compatible with Valet\Drivers\ValetDriver::serveStaticFile(string $staticFilePath, string $sitePath, string $siteName, string $uri): void
What can I do to make this driver function again?
This is with
valet 4.0
and[email protected]
For reference, the entire driver from the linked gist:
Beta Was this translation helpful? Give feedback.
All reactions