-1
Fatal error: Uncaught exception 'RedBean_Exception_Security' with message 'OODB Store requires a bean, got:  string' in C:\xampp\htdocs\test\src\rb.php:5340 Stack trace: #0
C:\xampp\htdocs\test\src\rb.php(6049): RedBean_OODB->unboxIfNeeded('nick') #1 
C:\xampp\htdocs\test\src\rb.php(9248): RedBean_OODB->store('nick') #2 
C:\xampp\htdocs\test\index.php(17): RedBean_Facade::store('nick') #3 {main} thrown in 
C:\xampp\htdocs\test\src\rb.php on line 5340

I required just rg.php and it looks like that it needed one or two thing .

Or is anything else wrong?

4

1 回答 1

1

异常明确地告诉错误隐藏在哪里。RedBean 期望存储一个 Bean 对象而不是字符串。它应该从字符串中存储什么,一个空行?

请查看快速导览,了解 RedBean 的工作原理。 快速浏览

于 2013-10-24T16:50:24.787 回答