View more context

 

howardgrigg

Anyone had an issue with ModelAdmin returning a blank screen when creating objects? Just using the default scaffolded form - when I save the object it saves but then the Main area is blank. If I go into an already created object and edit it it works normally. No errors in php log...

Firesphere

I vaguely recall that happening if a relation on the object doesn't exist

Firesphere

I'm not saying it's the root of the problem, though

Firesphere

I'm just saying I vaguely recall that causing issues every now and then 🙂

Firesphere

It's hard to tell what the actual cause is for you, without a look at the code 🙂

Firesphere

It might be a syntax error kind of thing in a model

howardgrigg

Yea I mean my code is only about 20 lines at the moment just trying to isolate what the issue is

howardgrigg

@Firesphere if you're interested here's my code https://pastebin.com/qhBFRfDy - keen to know if anything jumps out at you

Show 1 attachment(s)
Pastebin  
[PHP]

Pastebin: [PHP]

Hide attachment content