Bean has incomplete Meta Information id

191 views
Skip to first unread message

yanchik...@gmail.com

unread,
Dec 5, 2017, 1:59:13 AM12/5/17
to redbeanphp

Hello! 
I have some truble.
My code in sublime text 3

Bean has incomplete Meta Information id
$up_install = R::findOne('settings', ' `argument`=?', array('default_cost_install'));
$up_install->value = 5;
R::store($up_install); 

gabor

unread,
Dec 8, 2017, 10:55:03 AM12/8/17
to redbeanphp


It looks like your bean does not have an id.
Did you take care of the RedBeanPHP schema policies? RedBeanPHP has been designed to create its own database schema.
If you don't want that, you'll have to comply with the RedBeanPHP schema policies, the way RedBeanPHP expects the database structure to be.

Hope this helps,

cheers
Gabor
Reply all
Reply to author
Forward
0 new messages