Fatal Error with composer

Home Forums Calendar Products Events Calendar PRO Fatal Error with composer

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1220159
    Marc
    Participant

    Hi 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-dev

    Do you have any idea?

    #1220646
    Cliff
    Member

    Hi, 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?

    #1221477
    Cliff
    Member

    Marc, 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.

    #1233346
    Support Droid
    Keymaster

    Hey 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error with composer’ is closed to new replies.