Question By
Solved

Laraclassified error

Solved
uthmanpantina13

Dec 26th, 2021 07:55 AM

i need help with this error in laraclassified

        if (! is_writable($dirname = dirname($this->manifestPath))) {
            throw new Exception("The {$dirname} directory must be present and writable.");
        }
 
        $this->files->replace(
            $this->manifestPath, '<?php return '.var_export($manifest, true).';'
        );
 
        return array_merge(['when' => []], $manifest);
    }
 
    /**
     * Create a new provider instance.
     *
     * @param  string  $provider
     * @return \Illuminate\Support\ServiceProvider
     */
    public function createProvider($provider)
    {
        return new $provider($this->app);

bandicam 2021-12-26 02-43-26-763.jpg

thinkverse

Dec 26th, 2021 08:07 AM

Best Answer

If Laravel cannot find a service provider automatically. If for instance you're using Laravel 5.4 or lesser that doesn't support it or if a package hasn't registered its provider to be auto discoverable. Or if you made the service provider yourself with make:provider you need to add the provider to the providers key in your config/app.php file.

You can read more about how to register providers in the documentation.

uthmanpantina13

Dec 26th, 2021 10:18 AM

i use laraclassified script and when i upgrade from 10.1.0 in 10.1.3 i got this error i don't understand what is can you help how to fix.