Skip to content

Class 'CloudCreativity\JsonApi\Integration\EnvironmentService' not found #4

Closed
@nickelozz

Description

@nickelozz

Hey there @lindyhopchris it's been a while,

I've been using this package for a few weeks now but from time to time...when performing some changes on my L5 app I get an error like this in my log:

[2015-11-27 12:08:12] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'CloudCreativity\JsonApi\Integration\EnvironmentService' not found' in /opt/admysis/panel-webserver/webserver/vendor/cloudcreativity/laravel-json-api/src/Integration/LaravelEnvironment.php:32
Stack trace:
#0 {main}  

I already know it's not your package's fault but rather something I did wrong that broke the app (e.g. wrong namespaces most of the times)....but instead of getting the corresponding error information I only get that 1 error and I'm left uncertain as for what it was that went wrong really. I've checked inside the file CloudCreativity\JsonApi\Integration\LaravelEnvironment and this is what I found:

<?php

namespace CloudCreativity\JsonApi\Integration;

use CloudCreativity\JsonApi\Integration\EnvironmentService as BaseService;

// ...

class LaravelEnvironment extends BaseService
{

// ...

Now, personally I have no clue how that gets resolved since I couldn't find such a class EnvironmentService but I wonder if there is any way to avoid getting that error message instead of the corresponding error that caused my app to break. Any thoughts on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions