If GPP is disabled, there is no way for the Hook to still execute – WordPress isn’t aware of the code that adds the hooks.
This sounds like caching – something is likely caching your database queries, so it’s keeping the old Elements query on the page even when it’s not there.
Be sure to clear all caching after changes are made to the site (like a Hook being deleted).