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

Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Class not found on linux

I have a project working on windows, but when I put it on linux, that erro occurs.

Fatal error: Class 'Apponte\Repository\GroupsUsers' not found in /home/


namespace Apponte\Controllers;

use Phalcon\Mvc\Controller; use Phalcon\Mvc\Dispatcher; use Apponte\Repository\GroupsUsers;

class ControllerBase extends Controller {

protected function initialize() {
    $this->tag->prependTitle('Apponte | ');
    $signed = $this->auth->isUserSignedIn();

    if ($signed) {
        //carrega menu
        $result = GroupsUsers::query()    <<<<<<<<<<<<<<<<<<<<<<< error line


make sure the files path and model name are exactly the same. Linux is case sensitive while windows is not.