Bug ACP goes blang after installing the ADDON

Discussion in '[bd] Widget Framework' started by EasyExpat, Mar 28, 2018.

  1. EasyExpat

    EasyExpat New Member

    Hello,

    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:

    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)

    I see that if I remove the file library/WidgetFramework/Listener.php I can access the ACP, so there seem to be a compatibility issue...

    Any idea ?

    Thanks in advance

    PS: I bought the Webmaster Badge 1mo but I don't know how it gets validated with this forum.
     
  2. EasyExpat

    EasyExpat New Member

    #2 EasyExpat, Mar 28, 2018
    Last edited: Mar 28, 2018
    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'
                )
            }*/
    so ACP works but I cannot EDIT the different Widgets then (blank page)... upload_2018-3-28_19-47-50.gif [​IMG]I can only enable/disable upload_2018-3-28_19-47-50.gif :confused:
     
  3. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    It does look like an issue with PHP 5.3. May I have you exact version?
     
  4. EasyExpat

    EasyExpat New Member

    Currently using for tests
    PHP Version 5.3.8
    When I go live it will be
    PHP Version 5.3.3
     
Loading...