I remember this annoying error like it was yesterday. It always baffled me a bit when I first started learning PHP (I know… N00B!): Fatal error: call to a member function fetch_assoc() on a non-object. It was always the line number that tripped me up. Anyhoo, here’s what’s really going on and how to kill this error dead once and for all.
Support the show and get the perks on Patreon:
Show notes page for this episode:
Join the Top 3% of Developers On TopTal:
Subscribe on YouTube:
Subscribe on Google Play Music:
Subscribe on iTunes: