agreed – I had this error after updating wordpress and my plugins and I can no longer access anything to disable it…
EDIT: I removed the plugins, and found it was actually a plugin that was causing all 3 of my errors found in /wp-includes/query.php and /wp-includes/categories.php
Once I yanked the plugin from the folder manually via FTP, everything was fixed. I’d recommend you make a duplicate copy of your /wp-content/plugins folder somewhere and then make a new one on your site and add them one-at-a-time to see if you can diagnose the offending plugin and then get rid of it or look for a fix for it? I’m not an expert, just trying to help out!