• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug ErrorException: Undefined offset: 1 - library/BButtonCode/BbCode/Formatter/Base.php:59

yavuz

Well-known member
#1
Keep getting this error below, not sure if it's XenForo or an addon. I reported it in an addon thread and the addon author said it was not related to his addon. I'm using the 1.2 platform. This happens when a thread is edited or thread created.

Code:
ErrorException: Undefined offset: 1 - library/BButtonCode/BbCode/Formatter/Base.php:59
Generated By: Bilinmeyen Hesap, 35 dakika önce
Stack Trace
#0 /home/user/public_html/library/BButtonCode/BbCode/Formatter/Base.php(59): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/home/user/pu...', 59, Array)
#1 [internal function]: BButtonCode_BbCode_Formatter_Base->renderTagButton(Array, Array, Object(QMIAL_BbCode_Formatter_Base))
#2 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(646): call_user_func(Array, Array, Array, Object(QMIAL_BbCode_Formatter_Base))
#3 /home/user/public_html/library/BBM/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#4 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(557): BBM_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#5 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(481): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#6 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(462): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#7 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(853): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#8 /home/user/public_html/library/BBM/BbCode/Formatter/Base.php(1086): XenForo_BbCode_Formatter_Base->renderTagAlign(Array, Array)
#9 [internal function]: BBM_BbCode_Formatter_Base->renderTagAlign(Array, Array, Object(QMIAL_BbCode_Formatter_Base))
#10 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(646): call_user_func(Array, Array, Array, Object(QMIAL_BbCode_Formatter_Base))
#11 /home/user/public_html/library/BBM/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#12 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(557): BBM_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#13 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(481): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#14 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(462): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#15 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(442): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#16 /home/user/public_html/library/XenForo/BbCode/Parser.php(505): XenForo_BbCode_Formatter_Base->renderTree(Array, Array)
#17 /home/user/public_html/library/XenForo/ViewPublic/Forum/View.php(61): XenForo_BbCode_Parser->render('[CENTER][IMG]ht...')
#18 /home/user/public_html/library/XenForo/ViewRenderer/Abstract.php(227): XenForo_ViewPublic_Forum_View->renderRss()
#19 /home/user/public_html/library/XenForo/ViewRenderer/Rss.php(31): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Rss', Array, 'forum_view')
#20 /home/user/public_html/library/XenForo/FrontController.php(572): XenForo_ViewRenderer_Rss->renderView('XenForo_ViewPub...', Array, 'forum_view', NULL)
#21 /home/user/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#22 /home/user/public_html/index.php(13): XenForo_FrontController->run()
#23 {main}
Request State
array(3) {
  ["url"] => string(58) "http://www.site.com/forums/link/index.rss"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Mike

XenForo developer
Staff member
#2
It is from the add-on -- the line of code that's generating the error is in
library/BButtonCode/BbCode/Formatter/Base.php.
 

yavuz

Well-known member
#7
@Chris Deeming following errors have been logged while I was sleeping.

Code:
ErrorException: Undefined variable: bwidth - library/BButtonCode/BbCode/Formatter/Base.php:136
Generated By: Bilinmeyen Hesap, Bugün 09:58
Stack Trace

#0 /home/user/public_html/library/BButtonCode/BbCode/Formatter/Base.php(136): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/user/pu...', 136, Array)
#1 [internal function]: BButtonCode_BbCode_Formatter_Base->renderTagButton(Array, Array, Object(CodeRich_XenForo_BbCode_Formatter_Base))
#2 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(646): call_user_func(Array, Array, Array, Object(CodeRich_XenForo_BbCode_Formatter_Base))
#3 /home/user/public_html/library/BBM/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#4 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(557): BBM_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#5 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(481): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#6 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(462): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#7 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(853): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#8 /home/user/public_html/library/BBM/BbCode/Formatter/Base.php(1086): XenForo_BbCode_Formatter_Base->renderTagAlign(Array, Array)
#9 [internal function]: BBM_BbCode_Formatter_Base->renderTagAlign(Array, Array, Object(CodeRich_XenForo_BbCode_Formatter_Base))
#10 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(646): call_user_func(Array, Array, Array, Object(CodeRich_XenForo_BbCode_Formatter_Base))
#11 /home/user/public_html/library/BBM/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#12 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(557): BBM_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#13 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(481): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#14 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(462): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#15 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(442): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#16 /home/user/public_html/library/XenForo/BbCode/Parser.php(505): XenForo_BbCode_Formatter_Base->renderTree(Array, Array)
#17 /home/user/public_html/library/XenForo/ViewPublic/Forum/View.php(61): XenForo_BbCode_Parser->render('[CENTER][IMG]ht...')
#18 /home/user/public_html/library/XenForo/ViewRenderer/Abstract.php(227): XenForo_ViewPublic_Forum_View->renderRss()
#19 /home/user/public_html/library/XenForo/ViewRenderer/Rss.php(31): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Rss', Array, 'forum_view')
#20 /home/user/public_html/library/XenForo/FrontController.php(572): XenForo_ViewRenderer_Rss->renderView('XenForo_ViewPub...', Array, 'forum_view', NULL)
#21 /home/user/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#22 /home/user/public_html/index.php(13): XenForo_FrontController->run()
#23 {main}

Request State

array(3) {
  ["url"] => string(60) "http://www.sitename.com/forumlar/sunum-haberleri.183/index.rss"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Code:
ErrorException: Undefined variable: bmargin - library/BButtonCode/BbCode/Formatter/Base.php:136
Generated By: Bilinmeyen Hesap, Bugün 09:58
Stack Trace

#0 /home/user/public_html/library/BButtonCode/BbCode/Formatter/Base.php(136): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/user/pu...', 136, Array)
#1 [internal function]: BButtonCode_BbCode_Formatter_Base->renderTagButton(Array, Array, Object(CodeRich_XenForo_BbCode_Formatter_Base))
#2 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(646): call_user_func(Array, Array, Array, Object(CodeRich_XenForo_BbCode_Formatter_Base))
#3 /home/user/public_html/library/BBM/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#4 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(557): BBM_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#5 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(481): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#6 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(462): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#7 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(853): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#8 /home/user/public_html/library/BBM/BbCode/Formatter/Base.php(1086): XenForo_BbCode_Formatter_Base->renderTagAlign(Array, Array)
#9 [internal function]: BBM_BbCode_Formatter_Base->renderTagAlign(Array, Array, Object(CodeRich_XenForo_BbCode_Formatter_Base))
#10 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(646): call_user_func(Array, Array, Array, Object(CodeRich_XenForo_BbCode_Formatter_Base))
#11 /home/user/public_html/library/BBM/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#12 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(557): BBM_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#13 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(481): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#14 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(462): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#15 /home/user/public_html/library/XenForo/BbCode/Formatter/Base.php(442): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#16 /home/user/public_html/library/XenForo/BbCode/Parser.php(505): XenForo_BbCode_Formatter_Base->renderTree(Array, Array)
#17 /home/user/public_html/library/XenForo/ViewPublic/Forum/View.php(61): XenForo_BbCode_Parser->render('[CENTER][IMG]ht...')
#18 /home/user/public_html/library/XenForo/ViewRenderer/Abstract.php(227): XenForo_ViewPublic_Forum_View->renderRss()
#19 /home/user/public_html/library/XenForo/ViewRenderer/Rss.php(31): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Rss', Array, 'forum_view')
#20 /home/user/public_html/library/XenForo/FrontController.php(572): XenForo_ViewRenderer_Rss->renderView('XenForo_ViewPub...', Array, 'forum_view', NULL)
#21 /home/user/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#22 /home/user/public_html/index.php(13): XenForo_FrontController->run()
#23 {main}

Request State

array(3) {
  ["url"] => string(60) "http://www.sitename.com/forumlar/sunum-haberleri.183/index.rss"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}