awcodes / overlook

An app overview widget for Filament panels.
MIT License
158 stars 11 forks source link

Method Awcodes\Overlook\Overlook::getRoutes does not exist. #2

Closed JoseJunior-L4 closed 1 year ago

JoseJunior-L4 commented 1 year ago

Method Awcodes\Overlook\Overlook::getRoutes does not exist. at projectDir\vendor\laravel\framework\src\Illuminate\Macroable\Traits\Macroable.php:87

 83▕      */
 84▕     public static function __callStatic($method, $parameters)
 85▕     {
 86▕         if (! static::hasMacro($method)) {

➜ 87▕ throw new BadMethodCallException(sprintf( 88▕ 'Method %s::%s does not exist.', static::class, $method 89▕ )); 90▕ } 91▕

i Bad Method Call: Did you mean Awcodes\Overlook\Overlook::getRules() ?

awcodes commented 1 year ago

Sorry, I need more information than this in order to replicate what you are seeing. Overlook doesn't use getRoutes directly, so I'm not sure why you are seeing that.

babatundeakinse commented 1 year ago

@JoseJunior-L4 this issue is happening because you've added the Awcodes\Overlook\Overlook in config to the wrong section, remove it from the pages, the correct section is the widgets section in config.

Thanks