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 does not exists #961

Open
castillotomupwork opened this issue Aug 21, 2020 · 3 comments
Open

Class does not exists #961

castillotomupwork opened this issue Aug 21, 2020 · 3 comments

Comments

@castillotomupwork
Copy link

$class = new \ReflectionClass($namespace);

in this line I'm getting an error.
I checked the value of $namespace and it contains only the name of the class excluding the namespace.

mappingpass error

@in0de
Copy link

in0de commented Aug 23, 2020

Had the same error. Check your line endings. I am working on a windows machine but the site is running on a linux machine. In MappingPass.php there is a reg_match against a line ending and it would not recognize the windows line ending.

Long story short: Make sure your line endings match the OS your website is running on.

Hope that helps and good luck!

@pawellen
Copy link

@castillotomupwork I had the same problem: #927

@maluramichael
Copy link

I had the same problem. In my src folder was a .preload.php file without a class which crashed the ReflectionClass constructor because the namespace was just \.

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

4 participants