-
The documentation recommends using `R::setup()` with no parameters for testing and fooling around, to create a test SQLite database in /temp on the server. It says, “On most systems, this just works”.…
-
This code gives no error:
R::nuke();
$f = R::dispense('f');
$r = $f->hey_there();
It just sets $r to NULL. This is error-prone and makes debugging difficult. Any other class would…
ipsod updated
2 years ago
-
In my own code, I've got custom autoloader, which just scans all subfolders of application for class (there's not much), and doesn't cache results in any way, so it performs scan on every `new xxx();`…
-
Use Case:
1. Create note with Table
```
Project | Description | Github | Front End | Back End | Note
--------- | --------------- | ----------|----------| ---------- |
[Miniblog](miniblog.md) |…
-
Hi, I'm a beginner trying to learn this ORM library, I spent hours and identified a small mistake on official website.
https://redbeanphp.com/index.php?p=/quick_tour
`$post = R::dispense( 'post…
-
I'm using redbean 5.7 and PHP 8.1.0RC2 with `error_reporting(E_ALL)`.
I don't know if this is an issue - it happens upon `require('rb.php');`.
> Deprecated: Return type of RedBeanPHP\OODBBean::get…
ipsod updated
2 years ago
-
Deprecation warnings for passing NULL in several places and also return type errors for quite a few functions.
*UPDATE* these may all have been fixed already - composer was behaving very oddly for …
-
I cannot duplicate **entire site** with linked **page** tree.
I just got duplicated site row, but cannot get duplicated "**site_id**" field in new pages.
Here's my code:
`…
marmz updated
2 years ago
-
I'm not sure whether this is actually possible given RedBean's use of constants for this, but I thought it would be worth asking anyway. This may be an edge case, but it's something I've run into on a…
-
Is [this example from the docs](https://redbeanphp.com/index.php?p=/models) actually correct?
```php
class Model_Band extends RedBean_SimpleModel { ... }
```
I get this error when I try to us…