wordpress-to-laravel icon indicating copy to clipboard operation
wordpress-to-laravel copied to clipboard

TypeError argument passed must be type array null given

Open khagesh007 opened this issue 4 years ago • 0 comments

Faced this issue while running composer require leeovery/wordpress-to-laravel on last step when it says Generateing Optimized autoload files

Detailed description

TypeError Argument 3 passed to LeeOvery\WordpressToLaravel\WordpressToLaravel::__construct() must be of the type array, null given, call ed in C:....\vendor\leeovery\wordpress-to-laravel\src\WordpressToLaravelServiceProvider.php on line 74

at C:....\vendor\leeovery\wordpress-to-laravel\src\WordpressToLaravel.php:80 76▕ * @param FractalManager $fractalManager 77▕ * @param GuzzleClient $client 78▕ * @param array $config 79▕ */ ➜ 80▕ public function __construct(FractalManager $fractalManager, GuzzleClient $client, array $config) 81▕ { 82▕ $this->fractalManager = $fractalManager; 83▕ $this->client = $client; 84▕ $this->config = $config;

It's a bug.

Context

I am trying to build a front website for my WordPress blog.

Your environment

  • php 7.4
  • windows 10 *Localhost not published
  • Laravel 8.27 & 8.44

khagesh007 avatar May 31 '21 15:05 khagesh007