nlemoine / wp-cli-fixtures

Easily generate custom fake data for WordPress
GNU General Public License v3.0
102 stars 18 forks source link

Picsum declaration incompatible #19

Open jason-murray opened 1 year ago

jason-murray commented 1 year ago

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 commented 1 year ago

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