Skip to content
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

Picsum declaration incompatible #19

Open
jason-murray opened this issue Aug 14, 2023 · 1 comment
Open

Picsum declaration incompatible #19

jason-murray opened this issue Aug 14, 2023 · 1 comment

Comments

@jason-murray
Copy link

jason-murray commented Aug 14, 2023

Hello, when I run wp fixtures load I am hitting the following error:

PHP Fatal error: Declaration of Hellonico\Fixtures\Provider\Picsum::imageUrl($width = 640, $height = 480, $filters = [], $format = 'jpg', $unused = false, $unused_ = false) must be compatible with Faker\Provider\Image::imageUrl($width = 640, $height = 480, $category = null, $randomize = true, $word = null, $gray = false, $format = 'png') in /var/www/html/sites/test/vendor/hellonico/wp-cli-fixtures/src/Provider/Picsum.php on line 19

@jachinfrancke
Copy link

I have the same issue. Even when I don't use Image / Attachment fixtures... How can I bypass / fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants