laravel-option-framework
laravel-option-framework copied to clipboard
cant access admin/options route
after following all the guides when i tried to access the options route it shows not found
php artisan route:list command shows the following error:
Error
Object of class Illuminate\Routing\UrlGenerator could not be converted to string
at C:\xampp\htdocs\Blog\vendor\haruncpi\laravel-option-framework\src\Controllers\OptionController.php:19 15| public function __construct() 16| { 17| $this->baseUrl = url('/'); 18| $this->viewPath = url(config('option-framework.view_route_path'));
19| $this->dataPath = $this->viewPath . "?data_request=true"; 20| 21| } 22| 23| private function keysExist(array $keys, array $arr)
1 [internal]:0 Haruncpi\LaravelOptionFramework\Controllers\OptionController::__construct()
2 C:\xampp\htdocs\Blog\vendor\laravel\framework\src\Illuminate\Container\Container.php:845 ReflectionClass::newInstanceArgs([])