Resource icon

[bd] Widget Framework 2.6.6

No permission to download
Thank you for replying, but with a clean install (no other addons) it still does it.

I misunderstood your issue. My problem was that although the tabs were showing up just fine, the elements of all 3 tabs (New threads, New Posts and Sticky threads) were all showing as one.

So there were 30 items showing inside the sidebar block. The tabs were not working, so that addon was having issues with BD WF
 
I had the same issue and on my case I had to disable the Defer JS addon.
If you have that, maybe that's a good starting point to identify the problem

I have a similar problem as after installing the xml file, the Admin goes blank.
I regained access of the ACP with the congig.php ($config['enableListeners'] = false;)

The error I get is:
Server Error Log
Error Info
ErrorException: Fatal Error: Cannot access self:: when no class scope is active - library\WidgetFramework\ShippableHelper\Updater.php:79
Generated By: Unknown Account, A moment ago
Stack Trace

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

Request State

array(3) {
["url"] => string(36) "http://localhost/forums_xf/admin.php"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
  • I run XF 1.5.18
  • I am with PHP 5.3 (everything else works fine, it says it is compatible for PHP7 but does not say not compatible tfor PHP<5.4)
  • I have no other ADDON currently (except Theme UI.X)
Any idea ?
 
In the file library/WidgetFramework/Listener.php
I have commented out
Code:
        /*if (isset($data['routesAdmin'])) {
            WidgetFramework_ShippableHelper_Updater::onInitDependencies(
                $dependencies,
                self::UPDATER_URL,
                'widget_framework'
            )
        }*/
The ACP works but I cannot EDIT the different Widgets then (blank page)...
1686_d89746888da2d9510b64a9f031eaecd5.gif
clear.png
I can only enable/disable :unsure:
 
Last edited:
@JordanH on [bd] version 2.5.9 the required code to place on the Expression box is
Code:
in_array($forum['node_id'], array(12))

while as per @xfrocks guide on this post, for [bd] 2.6.3 the code is changed
Code:
in_array({$forum.node_id}, {xen:array '0=12'})

12 is the sample forum ID.
 
  • Like
Reactions: HWS
For gods sake, spent a good few hours looking through all my codes, template edits and style properties thinking what have i done, because my forumhome is up more than my sidebar (not inline). Turns out its this mod version 2.6.3. Gone back to to 5.9, inline again. :rolleyes:
 
Hi @EvilSS , do you think it's related to that ?
In the file library/WidgetFramework/Listener.php
I have commented out
Code:
        /*if (isset($data['routesAdmin'])) {
            WidgetFramework_ShippableHelper_Updater::onInitDependencies(
                $dependencies,
                self::UPDATER_URL,
                'widget_framework'
            )
        }*/
The ACP works but I cannot EDIT the different Widgets then (blank page)...
1686_d89746888da2d9510b64a9f031eaecd5.gif
clear.png
I can only enable/disable :unsure:
 
Hi @EvilSS , do you think it's related to that ?
Thanks for the help mate, but if i do that my forum ends up a blank white page.

Edit: oh, i put the */ in the wrong place, but no, it doesn't have any effect.
Code:
/*if (isset($data['routesAdmin'])) {
            WidgetFramework_ShippableHelper_Updater::onInitDependencies(
                $dependencies,
                self::UPDATER_URL,
                'widget_framework'
            );
        }*/

    }
 
Thanks for the help mate, but if i do that my forum ends up a blank white page.
You mean if you comment it out, it makes a blank page? Weird as for me it is the opposite... I need to comment the stuff (or remove) so I do not have a blank page :unsure::rolleyes:
 
You mean if you comment it out, it makes a blank page? Weird as for me it is the opposite... I need to comment the stuff (or remove) so I do not have a blank page :unsure::rolleyes:
Sorry, i edited my post above. When i edit that bit of code out, nothing happens, as in, my forum list is still out of line with the sidebar. I had to uninstall and remove all files, then upload older version and all came good. Disable WF made no difference till i uninstalled it. Thx.
 
Just installed this add-on on xf 1.5.18 and I'm getting this error when trying to created or edit widgets.
Error info
Code:
ErrorException: Fatal Error: syntax error, unexpected '.', expecting ',' or ';' - library/WidgetFramework/WidgetRenderer/UserFollow.php:5
Stack trace
Code:
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request state
Code:
array(3) {
  ["url"] => string(72) "http://www.xxxxxxx.com/community/admin.php?widgets/add"
  ["_GET"] => array(1) {
    ["widgets/add"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
Trying to edit a widget a new window opens with this error
Parse error: syntax error, unexpected '.', expecting ',' or ';' in /xxxxx/xxxxx/xxxxx/community/library/WidgetFramework/WidgetRenderer/UserFollow.php on line 5
And this when I try to create a widget
Parse error: syntax error, unexpected '.', expecting ',' or ';' in /xxxx/xxxx/xxxx/community/library/WidgetFramework/WidgetRenderer/UserFollow.php on line 5
Any help appreciated :)
 
My issue was also 1.5.18.
I had a work around but eventually decided to disable the addon as it was populating the system with server errors.
 
Just installed this add-on on xf 1.5.18 and I'm getting this error when trying to created or edit widgets.
Error info
Code:
ErrorException: Fatal Error: syntax error, unexpected '.', expecting ',' or ';' - library/WidgetFramework/WidgetRenderer/UserFollow.php:5
Stack trace
Code:
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request state
Code:
array(3) {
  ["url"] => string(72) "http://www.xxxxxxx.com/community/admin.php?widgets/add"
  ["_GET"] => array(1) {
    ["widgets/add"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
Trying to edit a widget a new window opens with this error
Parse error: syntax error, unexpected '.', expecting ',' or ';' in /xxxxx/xxxxx/xxxxx/community/library/WidgetFramework/WidgetRenderer/UserFollow.php on line 5
And this when I try to create a widget
Parse error: syntax error, unexpected '.', expecting ',' or ';' in /xxxx/xxxx/xxxx/community/library/WidgetFramework/WidgetRenderer/UserFollow.php on line 5
Any help appreciated :)
I went in and deleted UserFollow.php and mine came good.
 
Top Bottom