1. Fabrik 3.8 has been released. As usual, we strongly recommend that you backup your site (using Akeeba) before upgrading. Report any issues in the forums, we will answer promptly.

[Solved] Update 3.8 and T3

Discussion in 'Community' started by Dinoxyz, Oct 12, 2017.

  1. Dinoxyz

    Dinoxyz New Member

    Level: Community
    Hello,

    I have updated my application but I have a problem with T3.

    My system :
    Fabrik :3.8.0
    Joomla : 3.8.1
    T3 system : 2.7.0
    PHP : 7.0.22-0ubuntu0.16.04.1

    Installed : https://github.com/Fabrik/Fabrik-Joomla-alt-layouts

    Call to undefined method Fabrik\Helpers\ArrayHelper::toString()
    directory_project/templates/t3_bs3_blank/html/layouts/com_fabrik/element/fabrik-element-date-list-filter-range.php:10

    Call stack
    #
    Function Location
    1 () JROOT/templates/t3_bs3_blank/html/layouts/com_fabrik/element/fabrik-element-date-list-filter-range.php:10
    2 include() JROOT/libraries/src/Layout/FileLayout.php:125
    3 Joomla\CMS\Layout\FileLayout->render() JROOT/plugins/fabrik_element/date/date.php:1787
    4 PlgFabrik_ElementDate->rangeFilter() JROOT/plugins/fabrik_element/date/date.php:1497
    5 PlgFabrik_ElementDate->getFilter() JROOT/components/com_fabrik/models/list.php:6579
    6 FabrikFEModelList->makeFilters() JROOT/components/com_fabrik/models/list.php:6435
    7 FabrikFEModelList->getFilters() JROOT/components/com_fabrik/models/list.php:7043
    8 FabrikFEModelList->actionHeading() JROOT/components/com_fabrik/models/list.php:6921
    9 FabrikFEModelList->getHeadings() JROOT/components/com_fabrik/views/list/view.base.php:573
    10 FabrikViewListBase->display() JROOT/components/com_fabrik/views/list/view.html.php:41
    11 FabrikViewList->display() JROOT/libraries/src/Cache/Controller/ViewController.php:102
    12 Joomla\CMS\Cache\Controller\ViewController->get() JROOT/components/com_fabrik/controllers/list.php:93
    13 FabrikControllerList->display() JROOT/libraries/src/MVC/Controller/BaseController.php:710
    14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_fabrik/fabrik.php:181
    15 require_once() JROOT/libraries/src/Component/ComponentHelper.php:392
    16 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:367
    17 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
    18 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
    19 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:267
    20 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49

    Thanks for your help.
     
  2. Dinoxyz

    Dinoxyz New Member

    Level: Community
    For the moment :

    $d->calOpts = array('class' => 'fabrik_filter form-control');

    #$calOpts = FArrayHelper::toString($d->calOpts);
    $calOpts = 'class=fabrik_filter form-control';

    I have replace the method FArrayHelper::toString by an assign.

    It's ok now but I don't think it's a good idea.
    I'm waiting the patch for this issue.

    Thanks
     
  3. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
  4. Dinoxyz

    Dinoxyz New Member

    Level: Community
    Thanks this issue is solved.
     

Share This Page