Widget Table "Cannot use "::class" on null" error
Hello, I am trying to add a Table to a page that extends from "ManageRelatedRecords".
So in this one I included the widget on "class DatabaseServer extends ManageRelatedRecords":
And in my ServerResource page I declared the widget:
And here is my Widget page:
Here is the trace:
Solution:Jump to solution
Ok, it was just my query that was not correct, here is what works:
```php
class CreateDatabaseUserWidget extends BaseWidget
{...
1 Reply
Solution
Ok, it was just my query that was not correct, here is what works: