Closed hadariyair closed 1 week ago
Hi,
it seems that the Application class which you are using, is the default Laravel Application class, but when installing my package you must replace that class with the package Application class in the bootstrap/app.php file as pointed out in the docs.
Let me know if this solves the issue
Cheers
Giacomo
I managed - thanks Giacomo!!!
Hi,
Thanks for contributing the code to the community.
I have installed gecche/laravel-multidomain v 5.0 on laravel v 9.52.16, using composer and ran the php artisan vendor:publish which created the file config/domain.
Now I"m running the command sudo php artisan domain:add domain.name.com and getting the following error:
BadMethodCallException
Method Illuminate\Foundation\Application::exactDomainStoragePath does not exist.
at vendor/laravel/framework/src/Illuminate/Macroable/Traits/Macroable.php:113 109▕ */ 110▕ public function __call($method, $parameters) 111▕ { 112▕ if (! static::hasMacro($method)) { ➜ 113▕ throw new BadMethodCallException(sprintf( 114▕ 'Method %s::%s does not exist.', static::class, $method 115▕ )); 116▕ } 117▕
i Bad Method Call: Did you mean Illuminate\Foundation\Application::useStoragePath() ?
17 artisan:37 Illuminate\Foundation\Console\Kernel::handle()
I will be thankful for your assistant
Yair