Comments (5)
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.
Here is your problem (or at least the one that caused this error).
from koseven.
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.
The exact same error? Hm. I glanced briefly at the code, but nothing stands out to me.
from koseven.
Nevermind, the issue went away when we replaced all the instances of loaded
with loaded()
. Thanks again!
from koseven.
Related Issues (20)
- PHP 7.4 Could not execute Model::__construct() HOT 2
- Code comments lead to non-existing documentation
- Feature-Request: Jump from before() to after() and skip controller action() HOT 7
- Replace Kohana's ORM with Laravel's or use Laravel's ORM with Kohana (code provided) HOT 6
- Module "image" is broken for watermark() since updated to Imagick 3.6.0
- Koseven for PHP 8.1 HOT 5
- PHP 8.1 compatibility HOT 3
- Loading values from config files with dot notation gives NULL HOT 7
- Porting Hooks From Old Kohana HOT 1
- PHP 8.3 HOT 12
- Arr::path results in error
- Request::user_agent(array('platform')) shows wrong and empty results
- Difference between Auth_Bcrypt and Auth_ORM for logged_in() function
- proxy/ssrf issue HOT 1
- fix documentation for security please
- [PHP 8.0] Valid::numeric should be locale independent
- as_array() with type casting: DB::query(Database::SELECT, '...')->execute()->as_array('id', array('id'=>'int')); HOT 1
- Question: Is there a PHP checker like PHPStan that works with Kohana? HOT 3
- Dependabot alerts for jquery.min.js in modules/userguide HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koseven.