Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
1.6 Belongsto save() error
It is throwing the following:
Fuel\Core\PhpErrorException [ Notice ]: Trying to get property of non-object
PKGPATH/orm/classes/belongsto.php @ line 159
$model_to is null after inspecting the error.
This happens when I save an object but was working fine prior to version 1.6. For now, I've restored the save() function of version 1.5.3 and it's working fine.
Has been fixed in 1.7/develop. We're expecting to release 1.6.1. soon, which will contain the fix for this.
Good job! Thanks, guys! Cheers.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion