I tested it. But everything was fine:@Arty Found a bug: Emails that are sent to the admin via the "Contact" Form of the website ignore the body or html. The email is not centered anymore and the background is black. It seems like the contact form email has a hiccup with the outer block.
Tested contact form, found a bug but a different one. Style wasn't applied to avatar. Outer background looks fine.
Server Error Log
Error Info
ErrorException: Undefined index: bodyAttributes - library/EmailCustomizer/Libraries/EmailParser/Styles/XenBase.php:11
Generated By: The Sandman, 4 minutes ago
Stack Trace
#0 /srv/www/theadminzone.com/public_html/library/EmailCustomizer/Libraries/EmailParser/Styles/XenBase.php(11): XenForo_Application::handlePhpError(8, 'Undefined index...', '/srv/www/theadm...', 11, Array)
#1 /srv/www/theadminzone.com/public_html/library/EmailCustomizer/Libraries/EmailParser/StyleParser.php(344): EmailParser\Styles\XenBase->_customizeStyleReplacements(Array, true, Array, Array, Array)
#2 /srv/www/theadminzone.com/public_html/library/EmailCustomizer/Controller/Import.php(82): EmailParser\StyleParser->getStyleReplacements(true)
#3 /srv/www/theadminzone.com/public_html/library/XenForo/FrontController.php(351): EmailCustomizer_Controller_Import->actionImportStyle()
#4 /srv/www/theadminzone.com/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /srv/www/theadminzone.com/public_html/admin.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
["url"] => string(64) "https://theadminzone.com/admin.php?email-customizer/import-style"
["_GET"] => array(1) {
["email-customizer/import-style"] => string(0) ""
}
["_POST"] => array(4) {
["style_id"] => string(2) "16"
["modify_layout"] => string(1) "1"
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
}
}
I installed the email customizer and set it our custom style. Got this error though:
Code:Server Error Log Error Info ErrorException: Undefined index: bodyAttributes - library/EmailCustomizer/Libraries/EmailParser/Styles/XenBase.php:11 Generated By: The Sandman, 4 minutes ago Stack Trace #0 /srv/www/theadminzone.com/public_html/library/EmailCustomizer/Libraries/EmailParser/Styles/XenBase.php(11): XenForo_Application::handlePhpError(8, 'Undefined index...', '/srv/www/theadm...', 11, Array) #1 /srv/www/theadminzone.com/public_html/library/EmailCustomizer/Libraries/EmailParser/StyleParser.php(344): EmailParser\Styles\XenBase->_customizeStyleReplacements(Array, true, Array, Array, Array) #2 /srv/www/theadminzone.com/public_html/library/EmailCustomizer/Controller/Import.php(82): EmailParser\StyleParser->getStyleReplacements(true) #3 /srv/www/theadminzone.com/public_html/library/XenForo/FrontController.php(351): EmailCustomizer_Controller_Import->actionImportStyle() #4 /srv/www/theadminzone.com/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #5 /srv/www/theadminzone.com/public_html/admin.php(13): XenForo_FrontController->run() #6 {main} Request State array(3) { ["url"] => string(64) "https://theadminzone.com/admin.php?email-customizer/import-style" ["_GET"] => array(1) { ["email-customizer/import-style"] => string(0) "" } ["_POST"] => array(4) { ["style_id"] => string(2) "16" ["modify_layout"] => string(1) "1" ["_xfConfirm"] => string(1) "1" ["_xfToken"] => string(8) "********" } }
I'll do more debugging. Maybe something in this add-on is causing that weird issue.
Do you have any add-ons installed that might affect contact form or mail?
We use essential cookies to make this site work, and optional cookies to enhance your experience.