Bug Signature Bug

MapleOne

Customer
I found a bug when the signature favicon is activated.

I get an oops error but if I do not activate for signature then there are no issues.

So unless I select disable in signature members cannot edit their signature containing links without an oops error.

Happens on both 2.0.1 and 2.1.0
 
Code:
Server error log
ErrorException: [E_WARNING] Trying to access array offset on false src/addons/DBTech/Favicons/XF/SubContainer/BbCode.php:17
Generated by: RedRider Jan 28, 2025 at 6:56 PM
Stack trace
#0 src/addons/DBTech/Favicons/XF/SubContainer/BbCode.php(17): XF::handlePhpError(2, '[E_WARNING] Try...', 's...', 17)
#1 src/XF/Service/User/SignatureEditService.php(318): DBTech\Favicons\XF\SubContainer\BbCode->getFullRenderOptions(Object(MMO\VerifiedBadge\XF\Entity\User), 'user:signature', 'simpleHtml', Array)
#2 src/XF/Service/User/SignatureEditService.php(218): XF\Service\User\SignatureEditService->validateSignature('.', Object(XF\BbCode\Processor), Array)
#3 src/XF/Pub/Controller/AccountController.php(356): XF\Service\User\SignatureEditService->setSignature('.', Array)
#4 src/XF/Mvc/FormAction.php(171): XF\Pub\Controller\AccountController->XF\Pub\Controller\{closure}(Object(XF\Mvc\FormAction))
#5 src/XF/Pub/Controller/AccountController.php(336): XF\Mvc\FormAction->run()
#6 src/XF/Mvc/Dispatcher.php(362): XF\Pub\Controller\AccountController->actionSignature(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'Signature', Object(XF\Mvc\RouteMatch), Object(Andy\UserMentionEmail\XF\Pub\Controller\Account), NULL)
#8 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Andy\UserMentionEmail\XF\Pub\Controller\Account), NULL)
#9 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#11 src/XF.php(806): XF\App->run()
#12 index.php(23): XF::runApp('XF\\Pub\\App')
#13 {main}
Request state
array(4) {
  ["url"] => string(18) "/account/signature"
  ["referrer"] => string(31) "https://dn.ca/account/signature"
  ["_GET"] => array(1) {
    ["/account/signature"] => string(0) ""
  }
  ["_POST"] => array(5) {
    ["_xfToken"] => string(8) "********"
    ["signature_html"] => string(8) "<p>.</p>"
    ["_xfResponseType"] => string(4) "json"
    ["_xfWithData"] => string(1) "1"
    ["_xfRequestUri"] => string(18) "/account/signature"
  }
}


I notice admins can update the signature

I have disabled favicons for signatures temporarily and members can then update the signature.
 
Hmmm... I feel like there might be an addon conflict here. Are you able to replicate this 100% of the time @ your site?
 

DragonByte Favicons

XenForo 2.0.4+ XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
447
Customer rating
0.00 star(s) 0 ratings
Back
Top