Error on MailPanel.php

/vendor/cakephp/debug_kit/src/Panel/MailPanel.php
Line: 42

I have been researching this since yesterday and I have not been able to resolve this error on a fresh install. Has anyone else run into this problem?

what is the exact error message? what php, cakephp and debugkit versions do you have?