remove wordpress "the loop"

Make it simpler, to try and stop the ongoing error:
Call to a member function get() on a non-object