I'm getting a PDOException error from computed field - but it is related to the INSERT statement being generated by the module.
I think this is because I have written a piece of PHP that only generates a result if there is one to be had, which is fine with me, I do not want to use NULL values because I do not want anything to be inserted into the database if there is no result. (this has to do with the way the data is being used.)
There does not seem to be an option in the "Store in Database" settings to not insert this record if there is no result... at least obviously, and it's not possible to change the field now as there is data already in storage. So my main question is, how can I stop the insert query running if there is nothing for it to run with?
The error is obviously causing problems because I am unable to save new content on which the field is set. If the conditions are true however, the code is working just great :)