Skip to content

Issues with phalcon dev tools #15513

Discussion options

You must be logged in to vote

Back in v3, components would extend Phalcon\Mvc\User\Component. In v4, that has been changed to \Phalcon\Di\Injectable - which you can see here: https://github.com/phalcon/phalcon-devtools/blob/ad7a6eb1a109f62ff07d6eb5abf6c370fdbeaa2b/src/Utils/SystemInfo.php

This error is seeming to say that /opt/phalcon-devtools/scripts/Phalcon/Utils/SystemInfo.php is a version of the file from 3.4, since it's trying to extend \Phalcon\Mvc\User\Component. My guess is the version of the devtools you're using is 4.1.2, and the version of Phalcon you have installed is 4.1.2, but the scripts that got installed into /opt/phalcon-devtools/scripts/ are still the 3.4 version.

I'd try removing what's there and r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by krishnan-ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants