I would, if I knew where the problem is actually happening. I’m assuming that wordpress is having problems somewhere and is just dumping the contents of the file to let you know.
It’s bizarre
Yes, I just tried that, and then tried reformatting the file entirely to put indents, line breaks and matching braces, but the output is exactly the same, so I suspect that this is all just being stripped out for display on the screen.
Thanks hugely. I did the var_dump and studied it intensely…. aaaaaannnnnnnd found a spelling mistake – I was referring to user_index rather than user_Index which is what I’d stupidly put into the database structure.
Feeling foolish now, but SO happy to be able to move on!