Код:
ErrorException: Email to info@домен failed: [E_WARNING] escapeshellarg() has been disabled for security reasons
src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php:116
Трассировка стека
#0 [internal function]: XF::handlePhpError(2, 'escapeshellarg(...', '/home/base1676/...', 116, Array)
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(116): escapeshellarg('info@домен...')
#2 src/XF/Mail/Mailer.php(289): Swift_Transport_SendmailTransport->send(Object(Swift_Message), Array)
#3 src/XF/Mail/Mail.php(335): XF\Mail\Mailer->send(Object(Swift_Message), NULL)
#4 src/XF/Service/Contact.php(144): XF\Mail\Mail->send()
#5 src/XF/Pub/Controller/Misc.php(78): XF\Service\Contact->send()
#6 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Misc->actionContact(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:Misc', 'contact', 'json', Object(XF\Mvc\ParameterBag), '', Object(XenConcept\LoginAsUser\XF\Pub\Controller\Misc), NULL)
#8 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#10 src/XF.php(328): XF\App->run()
#11 index.php(13): XF::runApp('XF\Pub\App')
#12 {main}
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(116): escapeshellarg('info@домен...')
#2 src/XF/Mail/Mailer.php(289): Swift_Transport_SendmailTransport->send(Object(Swift_Message), Array)
#3 src/XF/Mail/Mail.php(335): XF\Mail\Mailer->send(Object(Swift_Message), NULL)
#4 src/XF/Service/Contact.php(144): XF\Mail\Mail->send()
#5 src/XF/Pub/Controller/Misc.php(78): XF\Service\Contact->send()
#6 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Misc->actionContact(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:Misc', 'contact', 'json', Object(XF\Mvc\ParameterBag), '', Object(XenConcept\LoginAsUser\XF\Pub\Controller\Misc), NULL)
#8 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#10 src/XF.php(328): XF\App->run()
#11 index.php(13): XF::runApp('XF\Pub\App')
#12 {main}
Содержимое запроса
array(4) {
["url"] => string(13) "/misc/contact"
["referrer"] => string(21) "Форум "
["_GET"] => array(0) {
}
["_POST"] => array(8) {
["subject"] => string(13) "Привет!"
["message"] => string(20) "Привет Мир!"
["_xfRedirect"] => string(21) "Форум "
["_xfToken"] => string(8) "********"
["ct_checkjs"] => string(1) "0"
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
["url"] => string(13) "/misc/contact"
["referrer"] => string(21) "Форум "
["_GET"] => array(0) {
}
["_POST"] => array(8) {
["subject"] => string(13) "Привет!"
["message"] => string(20) "Привет Мир!"
["_xfRedirect"] => string(21) "Форум "
["_xfToken"] => string(8) "********"
["ct_checkjs"] => string(1) "0"
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Последнее редактирование: