Resource icon

[bd] Widget Framework 2.6.6

No permission to download
Uhhhh.. if you uninstall and you have custom widgets created - if I'm not mistaken you get to RE-CREATE those custom widgets. :p
Just uploading the 1.4.9d files and changing the top string in the 1.4.9 install XML to
Code:
<addon addon_id="widget_framework" title="[bd] Widget Framework" version_string="2.5.01" version_id="93a" url="" install_callback_class="WidgetFramework_Installer" install_callback_method="install" uninstall_callback_class="WidgetFramework_Installer" uninstall_callback_method="uninstall">
worked fine for me and all my customizations were kept.
This worked fine, rolled back to 1.4.9D now waiting for 1.5 to be fixed up.
 
morning, just updated, forum crashes with

An exception occurred: Invalid argument supplied for foreach() in /var/www/xfforum/htdocs/library/WidgetFramework/Core.php on line 254

  1. XenForo_Application::handlePhpError()inWidgetFramework/Core.phpat line254
  2. WidgetFramework_Core->_prepareWidgetsFor()inWidgetFramework/Core.phpat line215
  3. WidgetFramework_Core->prepareWidgetsFor()inWidgetFramework/Listener.phpat line86
  4. WidgetFramework_Listener::template_create()
  5. call_user_func_array()inXenForo/CodeEvent.phpat line58
  6. XenForo_CodeEvent::fire()inXenForo/Template/Abstract.phpat line82
  7. XenForo_Template_Abstract->__construct()inXenForo/Dependencies/Public.phpat line245
  8. XenForo_Dependencies_Public->createTemplateObject()inXenForo/ViewRenderer/Abstract.phpat line263
  9. XenForo_ViewRenderer_Abstract->createTemplateObject()inXenForo/ViewRenderer/HtmlPublic.phpat line80
  10. XenForo_ViewRenderer_HtmlPublic->renderView()inXenForo/FrontController.phpat line586
  11. XenForo_FrontController->renderView()inXenForo/FrontController.phpat line158
  12. XenForo_FrontController->run()in/var/www/xfforum/htdocs/index.phpat line13

After update to 2.5.0 from 2.4.9d get error message:
An exception occurred: Invalid argument supplied for foreach() in /xf/library/WidgetFramework/Core.php on line 254
How can i fix it? Help please

Same error here.

Hi, after upgrade, the following error occurred:
Code:
An exception occurred: Invalid argument supplied for foreach() in /library/WidgetFramework/Core.php on line 254

    XenForo_Application::handlePhpError() in WidgetFramework/Core.php at line 254
    WidgetFramework_Core->_prepareWidgetsFor() in WidgetFramework/Core.php at line 215
    WidgetFramework_Core->prepareWidgetsFor() in WidgetFramework/Listener.php at line 86
    WidgetFramework_Listener::template_create()
    call_user_func_array() in XenForo/CodeEvent.php at line 58
    XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 82
    XenForo_Template_Abstract->__construct() in XenForo/Dependencies/Public.php at line 245
    XenForo_Dependencies_Public->createTemplateObject() in XenForo/ViewRenderer/Abstract.php at line 263
    XenForo_ViewRenderer_Abstract->createTemplateObject() in XenForo/ViewRenderer/HtmlPublic.php at line 80
    XenForo_ViewRenderer_HtmlPublic->renderView() in XenForo/FrontController.php at line 586
    XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
    XenForo_FrontController->run() in /home/fatima/public_html/index.php at line 13

Getting the same error here also.

after upgrade

i got this in my forum index :(

An exception occurred: Undefined index: all in /usr/local/lsws/DEFAULT/html/library/WidgetFramework/Core.php on line 254

  1. XenForo_Application::handlePhpError() in WidgetFramework/Core.php at line 254
  2. WidgetFramework_Core->_prepareWidgetsFor() in WidgetFramework/Core.php at line 215
  3. WidgetFramework_Core->prepareWidgetsFor() in WidgetFramework/Listener.php at line 86
  4. WidgetFramework_Listener::template_create()
  5. call_user_func_array() in XenForo/CodeEvent.php at line 58
  6. XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 82
  7. XenForo_Template_Abstract->__construct() in XenForo/Dependencies/Public.php at line 245
  8. XenForo_Dependencies_Public->createTemplateObject() in XenForo/ViewRenderer/Abstract.php at line 263
  9. XenForo_ViewRenderer_Abstract->createTemplateObject() in XenForo/ViewRenderer/HtmlPublic.php at line 80
  10. XenForo_ViewRenderer_HtmlPublic->renderView() in XenForo/FrontController.php at line 586
  11. XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
  12. XenForo_FrontController->run() in /usr/local/lsws/DEFAULT/html/index.php at line 13

And I just upgraded and I get this displayed (disable BD Widgets and it goes away and the site works).
Luckily I just modified the installation .XML and changed the 1.4.9 version stuff to 1.5.01 with a version ID of 93a, copied the 1.4.9d files back over and "upgraded" the 1.5.0 to the re-versioned 1.4.9d so I didn't have to un-install and lose all my setups.


Code:
Rats. Apparently we have experienced some technical difficulties and one of the necessary systems has ran off. It should return shortly.

A little more (lots of errors in the system error log)
Code:
ErrorException: Invalid argument supplied for foreach() - library/WidgetFramework/Core.php:254
Generated By: Unknown Account, 10 minutes ago
Stack Trace
#0 /usr/local/lsws/DEFAULT/html/library/WidgetFramework/Core.php(254): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/usr/local/lsws...', 254, Array)
#1 /usr/local/lsws/DEFAULT/html/library/WidgetFramework/Core.php(215): WidgetFramework_Core->_prepareWidgetsFor('forum_list', Array, Object(XenForo_Template_Public))
#2 /usr/local/lsws/DEFAULT/html/library/WidgetFramework/Listener.php(86): WidgetFramework_Core->prepareWidgetsFor('forum_list', Array, Object(XenForo_Template_Public))
#3 [internal function]: WidgetFramework_Listener::template_create('forum_list', Array, Object(XenForo_Template_Public))
#4 /usr/local/lsws/DEFAULT/html/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#5 /usr/local/lsws/DEFAULT/html/library/XenForo/Template/Abstract.php(82): XenForo_CodeEvent::fire('template_create', Array, 'forum_list')
#6 /usr/local/lsws/DEFAULT/html/library/XenForo/Dependencies/Public.php(245): XenForo_Template_Abstract->__construct('forum_list', Array)
#7 /usr/local/lsws/DEFAULT/html/library/XenForo/ViewRenderer/Abstract.php(263): XenForo_Dependencies_Public->createTemplateObject('forum_list', Array)
#8 /usr/local/lsws/DEFAULT/html/library/XenForo/ViewRenderer/HtmlPublic.php(80): XenForo_ViewRenderer_Abstract->createTemplateObject('forum_list', Array)
#9 /usr/local/lsws/DEFAULT/html/library/XenForo/FrontController.php(586): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'forum_list', NULL)
#10 /usr/local/lsws/DEFAULT/html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#11 /usr/local/lsws/DEFAULT/html/index.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
["url"] => string(25) "https://servinglinux.com/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Code:
ErrorException: Undefined index: all - library/WidgetFramework/Core.php:254
Generated By: Tracy, 11 minutes ago
Stack Trace
#0 /usr/local/lsws/DEFAULT/html/library/WidgetFramework/Core.php(254): XenForo_Application::handlePhpError(8, 'Undefined index...', '/usr/local/lsws...', 254, Array)
#1 /usr/local/lsws/DEFAULT/html/library/WidgetFramework/Core.php(215): WidgetFramework_Core->_prepareWidgetsFor('forum_list', Array, Object(XenForo_Template_Public))
#2 /usr/local/lsws/DEFAULT/html/library/WidgetFramework/Listener.php(86): WidgetFramework_Core->prepareWidgetsFor('forum_list', Array, Object(XenForo_Template_Public))
#3 [internal function]: WidgetFramework_Listener::template_create('forum_list', Array, Object(XenForo_Template_Public))
#4 /usr/local/lsws/DEFAULT/html/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#5 /usr/local/lsws/DEFAULT/html/library/XenForo/Template/Abstract.php(82): XenForo_CodeEvent::fire('template_create', Array, 'forum_list')
#6 /usr/local/lsws/DEFAULT/html/library/XenForo/Dependencies/Public.php(245): XenForo_Template_Abstract->__construct('forum_list', Array)
#7 /usr/local/lsws/DEFAULT/html/library/XenForo/ViewRenderer/Abstract.php(263): XenForo_Dependencies_Public->createTemplateObject('forum_list', Array)
#8 /usr/local/lsws/DEFAULT/html/library/XenForo/ViewRenderer/HtmlPublic.php(80): XenForo_ViewRenderer_Abstract->createTemplateObject('forum_list', Array)
#9 /usr/local/lsws/DEFAULT/html/library/XenForo/FrontController.php(586): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'forum_list', NULL)
#10 /usr/local/lsws/DEFAULT/html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#11 /usr/local/lsws/DEFAULT/html/index.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
["url"] => string(25) "https://servinglinux.com/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

same thing here

Ow and I got the same error :(
Bad thing I didn't read comment first :(

Agrrr, sorry guys. v2.5.0b has been released to address the issue. My bad, sorry for the inconvenience.
 
Got an error when deleting a thread:

Error Info
ErrorException: Fatal Error: Using $this when not in object context - library/WidgetFramework/Core.php:648
Generated By: Draft, A moment ago

Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Request State
array(3) {
["url"] => string(89) "https://www.phcorner.net/threads/71930/delete"
["_GET"] => array(1) {
["/threads/delete"] => string(0) ""
}
["_POST"] => array(3) {
["hard_delete"] => string(1) "1"
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
}
}

Delete... Close
 
Got an error when deleting a thread:

Error Info
ErrorException: Fatal Error: Using $this when not in object context - library/WidgetFramework/Core.php:648
Generated By: Draft, A moment ago

Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Request State
array(3) {
["url"] => string(89) "https://www.phcorner.net/threads/71930/delete"
["_GET"] => array(1) {
["/threads/delete"] => string(0) ""
}
["_POST"] => array(3) {
["hard_delete"] => string(1) "1"
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
}
}

Delete... Close
I also encounter this error during:
  • account-confirmation
  • lost-password
  • registration
So I just reverted to version 1.4.9
 
The new Replies are not working anymore with this Update! There was a Sidebarblock with the new Topics/Replies, but now there are gone...but in the Options its still there. I have deletet the Widget and addet it new, but it wont come back!! (n):unsure::(
 
The new Replies are not working anymore with this Update! There was a Sidebarblock with the new Topics/Replies, but now there are gone...but in the Options its still there. I have deletet the Widget and addet it new, but it wont come back!! (n):unsure::(
What was your previous version? This version doesn't change the New Replies.
 
I fixed it for myself, hehe. The sequence of the Addons may not have a 0, if you know what i mean? Now i have changed the Numbers from 1 - 4, and it works.
 
I fixed it for myself, hehe. The sequence of the Addons may not have a 0, if you know what i mean? Now i have changed the Numbers from 1 - 4, and it works.
You meant the display order? I was thinking you may have some clear widget on "all" position that hides your New Replies widget. Glad it works now though ;)
 
Error when deleting users:

Code:
Info del error
ErrorException: Fatal Error: Using $this when not in object context - library/WidgetFramework/Core.php:647

Generado por: Me, Hace un momento
Seguimiento
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Estado de la solicitud
array(3) {
  ["url"] => string(64) "http://site.com/forum/admin.php?users/moderated/update"
  ["_GET"] => array(1) {
    ["users/moderated/update"] => string(0) ""
  }
  ["_POST"] => array(2) {
    ["users"] => array(9) {
      [802] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [786] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [809] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [797] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [779] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [810] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [816] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [805] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [825] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
    }
    ["_xfToken"] => string(8) "********"
  }
}

How to fix it ?

Thanks.
 
Error when deleting users:

Code:
Info del error
ErrorException: Fatal Error: Using $this when not in object context - library/WidgetFramework/Core.php:647

Generado por: Me, Hace un momento
Seguimiento
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Estado de la solicitud
array(3) {
  ["url"] => string(64) "http://site.com/forum/admin.php?users/moderated/update"
  ["_GET"] => array(1) {
    ["users/moderated/update"] => string(0) ""
  }
  ["_POST"] => array(2) {
    ["users"] => array(9) {
      [802] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [786] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [809] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [797] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [779] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [810] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [816] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [805] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
      [825] => array(2) {
        ["action"] => string(6) "reject"
        ["reject_reason"] => string(0) ""
      }
    }
    ["_xfToken"] => string(8) "********"
  }
}

How to fix it ?

Thanks.
Sorry for your problem, v2.5.0c should fix your issue.
 
Hi there! I like the customizability of the Widget Framework, however the Forum Statistics widget seems to replace the default Forum Statistics sidebar block which I have showing custom information provided by Icewind's Total Forum Thread Views add-on.

Is there any way to tell the framework to not load its own version of the Forum Statistics and instead leave the base one as it is? Disabling the Forum Statistics in the widget only removes it which is not what I'm looking for. Thanks in advance!
 
Hi there! I like the customizability of the Widget Framework, however the Forum Statistics widget seems to replace the default Forum Statistics sidebar block which I have showing custom information provided by Icewind's Total Forum Thread Views add-on.

Is there any way to tell the framework to not load its own version of the Forum Statistics and instead leave the base one as it is? Disabling the Forum Statistics in the widget only removes it which is not what I'm looking for. Thanks in advance!
Make a custom widget with the template code used in the original and use that one instead of the built in one?

-or-

Edit the default one to do the inclusions to the template that the add-on you are referring to uses.
 
Top Bottom