Loading wp-load.php in an external PHP file throws unknown error

Ok, I’ve fixed it. Turns out that there was a php class name that was getting redeclared. Declared once in the theme, and once in the plugin.

tech