We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Call to undefined method Phalcon\Loader::__construct()

from 2.0.13 Phalcon upgrade to 3.0.1 Phalcon.

Error´╝Ü

Call to undefined method Phalcon\Loader::__construct()

Code:

var loader; let loader = new \Phalcon\Loader();

in the zephir.



11.6k

as I've read __construct() method have been removed in many class (if not all) in v3:

"changelog v3.0.0: Removed __construct from all interfaces #11410"



6.5k

Not Exists __construct ,how can I " new \Phalcon\Loader()" in zephir.