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

Fatal error: Class 'core_component' not found in /home/travis/build/ci/src/Bridge/Moodle.php on line 93 #12

Closed
carlosdelfino opened this issue Feb 2, 2016 · 2 comments

Comments

@carlosdelfino
Copy link

I'm starting a Moodle plugin integration with instant messaging tools, I'm doing well step by step, in order to understand the workings of this new route Travis integration tool.

But when I started pernalizar the configuration file passed to receive the error message:

 3/5 [================>-----------]  60% 6 secs [Install mod_instantcontrol]PHP Fatal error:  Class 'core_component' not found in /home/travis/build/ci/src/Bridge/Moodle.php on line 93
Fatal error: Class 'core_component' not found in /home/travis/build/ci/src/Bridge/Moodle.php on line 93

My Travis file is:

language: php

sudo: false

cache:
  directories:
    - $HOME/.composer/cache

php:
 - 5.5

env:
 global:
  - MOODLE_BRANCH=MOODLE_22_STABLE
 matrix:
  - DB=mysqli

before_install:
  - phpenv config-rm xdebug.ini
  - cd ../..
  - composer selfupdate
  - composer create-project -n --no-dev moodlerooms/moodle-plugin-ci ci ^1
  - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"

install:
  - moodle-plugin-ci install

script:
  - moodle-plugin-ci phplint
  - moodle-plugin-ci phpcpd
  - moodle-plugin-ci phpmd
  - moodle-plugin-ci codechecker
  - moodle-plugin-ci csslint
  - moodle-plugin-ci shifter
  - moodle-plugin-ci jshint
  - moodle-plugin-ci validate
  - moodle-plugin-ci phpunit
  - moodle-plugin-ci behat

Below is the window with the full message.

image

The link to my project, which inda is even an embryo, is this: https://github.com/LMSeXT/Moodle_Instant_Control

Thanks.

@gjb2048
Copy link

gjb2048 commented Feb 2, 2016

Umm, did class 'core_component' actually exist back in M2.2?

@polothy
Copy link
Contributor

polothy commented Feb 2, 2016

Sorry, in this project's README, it states that Moodle 2.7 or later is required. A lot of what I'm using I don't think even exists in any form in older versions of Moodle.

@polothy polothy closed this as completed Feb 2, 2016
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

3 participants