Giter Site home page Giter Site logo

Comments (5)

Sebjugate avatar Sebjugate commented on June 12, 2024

loaded() is a function. I vaguely recall that it was a property in some older version of Kohana. Try changing $model->loaded to $model->loaded() in your view, and anywhere else that it's being accessed.

from koseven.

Sebjugate avatar Sebjugate commented on June 12, 2024

Here is your problem (or at least the one that caused this error).

https://github.com/jeffreypicard/medieval-europe/blob/54bdca77165b153bfba6e48e057cc977a03fae2a/public_html/application/views/template/gamelayout.php#L537

from koseven.

jeffreypicard avatar jeffreypicard commented on June 12, 2024

Thanks for responding! That line was the source of that issue, however I'm still getting that same error even when I try to call it as a function. Removing that check altogether gets me past that line, but of course that's not a permanent solution. Is there something else that I'm possibly doing wrong with how the Model object is defined or created that the loaded function isn't there?

from koseven.

Sebjugate avatar Sebjugate commented on June 12, 2024

The exact same error? Hm. I glanced briefly at the code, but nothing stands out to me.

from koseven.

jeffreypicard avatar jeffreypicard commented on June 12, 2024

Nevermind, the issue went away when we replaced all the instances of loaded with loaded(). Thanks again!

from koseven.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.