The John Morris Show

JMS089: PHP Fatal Error [FIX]: Call to a Member Function Fetch_Assoc On a Non-Object


Listen Later

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:
http://www.johnmorrisonline.com/patreon
Show notes page for this episode:
http://www.johnmorrisonline.com/89
Join the Top 3% of Developers On TopTal:
http://www.johnmorrisonline.com/toptal
Subscribe on YouTube:
http://youtube.com/johnmorrisonline
Subscribe on Google Play Music:
https://johnmorrisonline.com/android
Subscribe on iTunes:
http://goo.gl/RggnXW
...more
View all episodesView all episodes
Download on the App Store

The John Morris ShowBy John Morris

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

29 ratings