Array required for the class constructor
Created by: MrTomAsh
Hi,
this line:
$sitemap = App::make("sitemap");
starts giving me that error:
Type error: Argument 1 passed to Roumen\Sitemap\Sitemap::__construct() must be of the type array, null given, called in /home/.../vendor/roumen/sitemap/src/Roumen/Sitemap/SitemapServiceProvider.php on line 52
I've tried adding an empty array but that doesn't help.
Can you please advice?
I'm using Laravel 5.5.32 and latest version of the plugin
Many thanks, Tomasz