Hi, I've tried this with the corrected code and still the error remains the same. Just to be clear, the taxonomy works fine as long as I am using it 'dynamically' through MB Custom Post Type. As soon as I copy the code to php and disable the plugin, the error starts appearing.