Home › Forums › Calendar Products › Events Calendar PRO › Fatal Error with composer
- This topic has 4 replies, 4 voices, and was last updated 9 years, 3 months ago by
Marc.
-
AuthorPosts
-
January 18, 2017 at 2:59 am #1220159
Marc
ParticipantHi support team,
I use Composer to manage my plugins and wp-cli to handle my sites.
While I’m on my local environnement everything works fine: I can install both events calendar and events calendar pro and there is no issue.
But as soon as I deploy on a remote server I got the following errors :[18-Jan-2017 00:42:10 UTC] PHP Warning: require_once(/home/jinbieur/public_html/staging/bde-Aipe0Asene/releases/20170118004005/app/plugins/the-events-calendar/src/Tribe/Main.php): failed to open stream: No such file or directory in /home/jinbieur/public_html/staging/bde-Aipe0Asene/releases/20170118004005/app/plugins/the-events-calendar/the-events-calendar.php on line 32
[18-Jan-2017 00:42:10 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/jinbieur/public_html/staging/bde-Aipe0Asene/releases/20170118004005/app/plugins/the-events-calendar/src/Tribe/Main.php’ (include_path=’phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php56/pear’) in /home/jinbieur/public_html/staging/bde-Aipe0Asene/releases/20170118004005/app/plugins/the-events-calendar/the-events-calendar.php on line 32
Actually the src/Tribe folder is not installed.
To fix the issue I must install the plugins manually by copying it in the plugins folder. It’s really annoying cause it break my site deployment process.
For your information, to install plugins on remote server I’m using the following command :
$ composer install –no-devDo you have any idea?
January 18, 2017 at 5:23 pm #1220646Cliff
MemberHi, Marc.
Thanks for all the details.
I’m not a composer or WP-CLI expert, but here’s our current version’s GitHub link: https://github.com/moderntribe/the-events-calendar/tree/4.4.0.1
I see there is a composer.json file and that it was last updated November 4, 2016.
There’s also a composer.lock file at https://github.com/moderntribe/the-events-calendar/blob/4.4.0.1/composer.lock that was last modified in December.
Do you see anything suspect with either of these or have you noticed issues before/after these modified dates?
January 20, 2017 at 6:34 am #1221477Cliff
MemberMarc, one of our developers asked if you could please share (copy/paste) your server’s composer.json file to help us better understand the issue. They were also curious if you are using https://wpackagist.org/, which your composer.json file should reveal.
Please let us know.
February 11, 2017 at 8:35 am #1233346Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Fatal Error with composer’ is closed to new replies.
