ErrorException: Undefined index: signatureHtml - library/ControlNoFollow/Listener.php:37
Generated By: joey_tbf, 5 minutes ago
Stack Trace
#0 /home/server/thebiggestforums.com/community/library/ControlNoFollow/Listener.php(37): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/server/the...', 37, Array)
#1 [internal function]: ControlNoFollow_Listener::templateCreate('thread_view', Array, Object(XenForo_Template_Public))
#2 /home/server/thebiggestforums.com/community/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#3 /home/server/thebiggestforums.com/community/library/XenForo/Template/Abstract.php(82): XenForo_CodeEvent::fire('template_create', Array, 'thread_view')
#4 /home/server/thebiggestforums.com/community/library/XenForo/Dependencies/Public.php(239): XenForo_Template_Abstract->__construct('thread_view', Array)
#5 /home/server/thebiggestforums.com/community/library/XenForo/ViewRenderer/Abstract.php(263): XenForo_Dependencies_Public->createTemplateObject('thread_view', Array)
#6 /home/server/thebiggestforums.com/community/library/XenForo/View.php(116): XenForo_ViewRenderer_Abstract->createTemplateObject('thread_view', Array)
#7 /home/server/thebiggestforums.com/community/library/XenForo/View.php(127): XenForo_View->createTemplateObject('thread_view', Array)
#8 /home/server/thebiggestforums.com/community/library/BBM/BbCode/Formatter/Base.php(2670): XenForo_View->createOwnTemplateObject()
#9 /home/server/thebiggestforums.com/community/library/BBM/BbCode/Formatter/Base.php(2677): BBM_BbCode_Formatter_Base->bbmGetToolTemplate()
#10 /home/server/thebiggestforums.com/community/library/BBM/BbCode/Formatter/Base.php(2693): BBM_BbCode_Formatter_Base->bbmGetTemplateParam('viewName')
#11 /home/server/thebiggestforums.com/community/library/BBM/BbCode/Formatter/Base.php(1869): BBM_BbCode_Formatter_Base->bbmGetViewName()
#12 /home/server/thebiggestforums.com/community/library/XenForo/BbCode/Formatter/Base.php(2005): BBM_BbCode_Formatter_Base->setView(Object(ControlNoFollow_ViewPublic_Thread_View))
#13 /home/server/thebiggestforums.com/community/library/XenForo/ViewPublic/Thread/View.php(7): XenForo_BbCode_Formatter_Base::create('Base', Array)
#14 /home/server/thebiggestforums.com/community/library/ControlNoFollow/ViewPublic/Thread/View.php(32): XenForo_ViewPublic_Thread_View->renderHtml()
#15 /home/server/thebiggestforums.com/community/library/XenForo/ViewRenderer/Abstract.php(227): ControlNoFollow_ViewPublic_Thread_View->renderHtml()
#16 /home/server/thebiggestforums.com/community/library/XenForo/ViewRenderer/HtmlPublic.php(71): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Html', Array, 'thread_view')
#17 /home/server/thebiggestforums.com/community/library/XenForo/FrontController.php(586): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'thread_view', NULL)
#18 /home/server/thebiggestforums.com/community/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#19 /home/server/thebiggestforums.com/community/index.php(13): XenForo_FrontController->run()
#20 {main}
Request State
array(3) {
["url"] => string(61) "http://thebiggestforums.com/community/threads/how-to-rank.12/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
if ($post['signatureHtml'] instanceof XenForo_BbCode_TextWrapper)
if (isset($post['signatureHtml']) && $post['signatureHtml'] instanceof XenForo_BbCode_TextWrapper)
Since there's a conditional check, adding a key check doesn't cost a lot and might be more logical than only check from which instance the object is from. It seems the signatureHtml key is not in the original view params and is added after. I've added a piece of code in the Bbm to prevent this kind of errors in the futur. Here's the Github commit. But keep the "isset" check, it's harmless.Ok that stopped the error codes. Thanks!! I don't recieve anymore error codes in the admin panel. It worked
Should i tell chris the author of the NoFollow? Maybe it's a bug?
If you're using php 5.2.x, see the paragraph 5 of the FAQ.Hi @cclaerhout,
have a look at this thread. It is related to your addon.
But don't want to post all here again.
Using your actual version of this addon with Xenforo 1.4.6
Be sure to check your perms first, if you have click on "yes" for all in the XenForo permissions, the permissions will have been enabled. Your check must be done on a 3 levels: usergroups/users/forums. The issue has already been explained several times (ref).I am using Php5.5 and i am not using the permission.
Actually there are two kinds of perms (by viewer/by poster). The view ones follow the XenForo logic (which explains why there are 3 different levels). For the parsing ones, I wanted to keep them seperated (they are not working the same way).What a mess.
This did it.
But is a little confusing to have 4 different places for permission.
Merci
Which buttons / menus ? In the editor buttons configuration there are the default menus for the XenForo redactor editor and some "solo buttons"Hey cclaerhout, thanks for your great addon! I just installed it and configurated the editor-buttons. But some of the standard-buttons do not display an icon (any icons which was in a contextual menu before). Is there a way to change this within your plugin? kind regards
This kind of support should be provided by your theme developer ; check here for more information:This is how the regular editor looks (without the plugin):
View attachment 105758
So, for example, I took the "Code" button out of the contextual menu and placed it in the main-menu:
View attachment 105759
The button works perfectly, but the icon isn't displayed (I'm using the UI.X theme)
We use essential cookies to make this site work, and optional cookies to enhance your experience.