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

PHP Fatal error: require(): Failed opening required '../vendor/autoload.php' #162

Closed
cleptric opened this issue Sep 27, 2017 · 3 comments
Closed

Comments

@cleptric
Copy link

  • ICS Parser Version: 2.1.0

With version 2.1.0, Inside the ICal.php file the following line was added:

require '../vendor/autoload.php';

Was this done by accident?

@u01jmg3
Copy link
Owner

u01jmg3 commented Sep 27, 2017

It was added in order to use Carbon. I assume this doesn't work with your setup?

@cleptric
Copy link
Author

Normally it is sufficient to just require carbon inside the composer.json. (The one of ics-parser)
As we use the ics-parser itself as a composer package, it is installed into the vendor directory and composer should take care of loading Carbon on its own.

@u01jmg3
Copy link
Owner

u01jmg3 commented Sep 27, 2017

Shall fix and re-release - thanks for the heads up. We shall go with accidental 😃

@u01jmg3 u01jmg3 self-assigned this Sep 27, 2017
@u01jmg3 u01jmg3 added this to the v2.x.x milestone Sep 27, 2017
@u01jmg3 u01jmg3 removed their assignment Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants