infinity
infinity copied to clipboard
'Trying to get property of non-object'
This error shows up when trying to delete a file from a post with no files. A better error message would improve user experience by describing to the user what was wrong.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
This is old, but I would understand that to be a SQL error, rather than an error set by infinity, because an array seems to be missing data (i.e., no file attached.) There might should be some code to detect this ahead of time, but the error message itself is coming from the database, rather than infinity.