Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Module Model Not Found
  • Hi, I'm trying to load a related Model from the modules folder, but the answer is a error.

    Fuel\Core\FuelException [ Error ]: Related model not found by Has_Many relation "categorias": \Categoria\Model_Categoria

    The related model is in the modules folder. /modules/categoria/classes/model/categoria.php
  • HarroHarro
    Accepted Answer
    It's not really best practice to create such a dependency between modules (or app and a module).

    But if you want to do that: is the module loaded? If not, the autoloader doesn't know where to find the namespace.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion