Error en el log
Created 4 years ago by dexter1

Hello. I get this error in the log: [2019-03-31 22:01:18] local.ERROR: Class 'Anomaly\Streams\Platform\Model\Users\UsersRolesEntryModel' not found {"url":"http://localhost/installer/run/29","identifier":"cc850aac-5b46-4bd6-b2a3-ff836fe38511","exception":"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 1): Class 'Anomaly\Streams\Platform\Model\Users\UsersRolesEntryModel' not found at C:\xampp\htdocs\pyrocms\core\anomaly\users-module\src\Role\RoleModel.php:14) [stacktrace]

0 {main}

"}

william  —  4 years ago

try set env installed to false, run artisan compile command, then set it back to true.

william  —  4 years ago

php artisan env:set INSTALLED=false && php artisan streams:compile && php artisan env:set INSTALLED=true

dexter1  —  4 years ago

I've done that and now I get this. What is this? C:\xampp\htdocs\pyrocms\vendor\laravel\framework\src\Illuminate\Routing\RouteCollection.php

    // First, we will see if we can find a matching route for this current request
    // method. If we can, great, we can just return it so that it can be called
    // by the consumer. Otherwise we will check for routes with another verb.
    $route = $this->matchAgainstRoutes($routes, $request);

    if (! is_null($route)) {
        return $route->bind($request);
    }

    // If no route was found we will now check if a matching route is specified by
    // another HTTP verb. If it is we will need to throw a MethodNotAllowed and
    // inform the user agent of which HTTP verb it should use for this route.
    $others = $this->checkForAlternateVerbs($request);

    if (count($others) > 0) {
        return $this->getRouteForMethods($request, $others);
    }

    throw new NotFoundHttpException;
}

/**
 * Determine if a route in the array matches the request.
 *
 * @param  array  $routes
 * @param  \Illuminate\http\Request  $request
 * @param  bool  $includingMethod
 * @return \Illuminate\Routing\Route|null
 */
protected function matchAgainstRoutes(array $routes, $request, $includingMethod = true)
{
    list($fallbacks, $routes) = collect($routes)->partition(function ($route) {
        return $route->isFallback;
    });