Skip to content

PHP Fatal error: Access level to Jenssegers\Mongodb\Eloquent\Model::originalIsEquivalent() must be public (as in class Illuminate\Database\Eloquent\Model)  #1713

Closed
@andresgcarmona

Description

@andresgcarmona

The error appeared after updating to Laravel 5.8.

Full stack trace:

PHP Stack trace:
PHP   1. {main}() /home/andres/www/stadiumfff/artisan:0
PHP   2. Stadium\Console\Kernel->handle() /home/andres/www/stadiumfff/artisan:37
PHP   3. Stadium\Console\Kernel->bootstrap() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:120
PHP   4. Illuminate\Foundation\Application->bootstrapWith() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:311
PHP   5. Illuminate\Foundation\Bootstrap\BootProviders->bootstrap() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:210
PHP   6. Illuminate\Foundation\Application->boot() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17
PHP   7. array_walk() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:801
PHP   8. Illuminate\Foundation\Application->Illuminate\Foundation\{closure}() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:801
PHP   9. Illuminate\Foundation\Application->bootProvider() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:800
PHP  10. Illuminate\Foundation\Application->call() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:817
PHP  11. Illuminate\Container\BoundMethod::call() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Container/Container.php:580
PHP  12. Illuminate\Container\BoundMethod::callBoundMethod() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:34
PHP  13. Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:90
PHP  14. call_user_func_array:{/home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32}() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32
PHP  15. Jenssegers\Mongodb\MongodbServiceProvider->boot() /home/andres/www/stadiumfff/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32
PHP  16. spl_autoload_call() /home/andres/www/stadiumfff/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/MongodbServiceProvider.php:16
PHP  17. Composer\Autoload\ClassLoader->loadClass() /home/andres/www/stadiumfff/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/MongodbServiceProvider.php:16
PHP  18. Composer\Autoload\includeFile() /home/andres/www/stadiumfff/vendor/composer/ClassLoader.php:322
PHP  19. include() /home/andres/www/stadiumfff/vendor/composer/ClassLoader.php:444

In Model.php line 17:
                                                                               
Access level to Jenssegers\Mongodb\Eloquent\Model::originalIsEquivalent() must be public (as in class Illuminate\Database\Eloquent\Model)```

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