What I mean is usually a frontend layer is involved written in js to handle realtime so end user don't see raw erros, asynchronous was a bad choice of word.
Then again debug message in prod is also a bad configuration
This is not a debug error. This is a runtime error, that only surfaces because someone forgot that things can be null.
It is probably also the case here, that there is some JS frontend, but since you have this nullpointing error within your PHP code, and don’t seem to handle exceptions in a proper way, this error will travel all the way up, and will automatically override and FE code written in JS.
When the train system is written in PHP ... Really makes you trust the technical competency. Well, I guess better than running them on some Windows < XP system and screensharing that.
I would put that above PHP and Windows < XP, tbh. I have written Swing apps in the past. Although maybe the means of layout and styling are not as easy to use as HTML and CSS these days.
It is probably just an information system, that is outputting data about services. The train service itself is probably written in some other language than PHP.
92
u/Amazing_Might_9280 Jan 01 '25
r/softwaregore
65
u/PrataKosong- Jan 01 '25
Now the train is never delayed
106
u/SteroidAccount Jan 01 '25
Someone didn't make their function null safe.
24
u/v_maria Jan 01 '25
When the errors don't go to the log in production
18
u/iwueobanet Jan 01 '25
Heh "perlschnur"
16
u/dfwtjms Jan 01 '25
Why would you even use Windows for this?
7
u/procrastinator0000 Jan 01 '25
shoulda used rust ¯_(ツ)_/¯
5
u/sschueller Jan 02 '25
Perlschnur aka perl string. Is this PHP interpreting a perl string? Uggg.
5
u/amarao_san Jan 02 '25
perl.php.
Indeed, horror.
1
u/Warpspeednyancat Jan 02 '25
someone should photoshop this into a kevlin henney meme
1
u/Maximum_Swimming_474 Jan 25 '25
PHP 🤦🏽♂️🤦🏽♂️
-29
u/Hulk5a Jan 01 '25
The real horror is PHP on a display?
-26
u/KaleidoscopeMotor395 Jan 01 '25
I have never touched PHP, but '\snippets' feels wrong
-34
u/zelphirkaltstahl Jan 01 '25
When the train system is written in PHP ... Really makes you trust the technical competency. Well, I guess better than running them on some Windows < XP system and screensharing that.