Issue #2284593 by jhedstrom, Lendude: Fatal error: Call to a member function ensure_my_table() on a non-object