Skip to content

Uncaught ReflectionException: Class "Deployer\Deployer" does not exist #3102

Description

@vesnindev

Hi. After update php cli from 7.4 to 8.1 I will get error:

PHP Fatal error: Uncaught ReflectionException: Class "Deployer\Deployer" does not exist in phar:///usr/local/bin/dep/bin/dep:119 Stack trace: #0 phar:///usr/local/bin/dep/bin/dep(119): ReflectionMethod->__construct() #1 /usr/local/bin/dep(4): require('...') #2 {main} thrown in phar:///usr/local/bin/dep/bin/dep on line 119

Also I try to reinstall deployer from https://deployer.org/download

but I also get error

Also If I try install Deployer via composer: composer require deployer/deployer --dev

I get error:

Problem 1 - deployer/deployer[v4.3.0, ..., 4.x-dev] require monolog/monolog ^1.21 -> found monolog/monolog[1.21.0, ..., 1.x-dev] but it conflicts with your root composer.json require (^2.0). - Root composer.json requires deployer/deployer ^4.3 -> satisfiable by deployer/deployer[v4.3.0, ..., 4.x-dev].

Deployer 7

Laravel 9, PHP 8.1, Minimal monolog version for Laravel 9 is "monolog/monolog": "^2.0"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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