Also here is the stack trace:
Stack trace
#0 src\addons\M2N\ContactForm\XF\Service\Contact.php(128): XF::handlePhpError(2, '[E_WARNING] Inv...', 'C:\\inetpub\\wwwr...', 128, Array)
#1 src\XF\Service\Contact.php(195): M2N\ContactForm\XF\Service\Contact->getMail()
#2 src\XF\Pub\Controller\Misc.php(81): XF\Service\Contact->send()
#3 src\XF\Mvc\Dispatcher.php(321): XF\Pub\Controller\Misc->actionContact(Object(XF\Mvc\ParameterBag))
#4 src\XF\Mvc\Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Misc', 'Contact', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Misc), NULL)
#5 src\XF\Mvc\Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Misc), NULL)
#6 src\XF\Mvc\Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src\XF\App.php(2178): XF\Mvc\Dispatcher->run()
#8 src\XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}
and Request State
array(4) {
["url"] => string(23) "/index.php?misc/contact"
["referrer"] => string(54) "
Contact us"
["_GET"] => array(1) {
["misc/contact"] => string(0) ""
}
["_POST"] => array(7) {
["subject"] => string(8) "jim test"
["message"] => string(8) "jim test"
["_xfRedirect"] => string(10) "/index.php"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(23) "/index.php?misc/contact"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}