Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class IPriceGroup\OcApiPlugin\Classes\RoutesManager does not exist #18

Open
Tetraneon opened this issue Jan 15, 2020 · 1 comment
Open

Comments

@Tetraneon
Copy link

After install this plugin, there's a broken link icon in the october cms backend toolbar. When I click on it, the following message appears :

Class IPriceGroup\OcApiPlugin\Classes\RoutesManager does not exist
/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php line 811

TYPE              EXCEPTION
Undefined     ReflectionException

continue;
            }
            // If the class is null, it means the dependency is a string or some other
            // primitive type which we can not resolve since it is not a class and
            // we will just bomb out with an error since we have no-where to go.
            $results[] = is_null($dependency->getClass())
                            ? $this->resolvePrimitive($dependency)
                            : $this->resolveClass($dependency);
        }
        return $results;
    }

Builder and JWTAuth are installed.

@Tetraneon
Copy link
Author

Ok ! I debug a little bit :

  1. My OC does'nt like private const in
  • /classes/RoutesManager.php
  • /classes/ApiControllersManager.php
  • /controllers/api/BaseApiController.php

Is it a PHP version problem ?

  1. It seems to have a useless ? at 131 in BaseApiController.php script, just before callable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant