1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice
  2. If you update to Joomla 3.9.16, you will have to update Fabrik from the latest GitHub version, to fix a bug introduced in Joomla, which makes it impossible to list front end folder locations in backend JForms. This affects things like template selection.
    Dismiss Notice

Error After Joomla Update to 3.9.16

Discussion in 'Community' started by startpoint, Mar 10, 2020.

  1. startpoint

    startpoint Active Member

    Level: Community
    In edit list->details->layout
    Fields: Front-end template, Admin template, PDF template are empty.
    In Edit form->Layout
    Fields: every dropdown for select template is empty
    Warning: Invalid argument supplied for foreach() in /home/onlineer/sites/webfreelance.work/administrator/components/com_fabrik/models/fields/fabriktemplate.php on line 60

    PHP - 7.2
    Fabrik - Latest Github
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    I've pointed it to @cheesegrits
    Similar error
    /administrator/components/com_fabrik/models/fields/fabrikfolderlist.php on line 54
    e.g. if editing a viz
     
  3. startpoint

    startpoint Active Member

    Level: Community
    Change Forum Topic to prevent update from others until problem resolve, if you can.
     
  4. troester

    troester Well-Known Member Staff Member

    Level: Community
    Looks like a bug in Joomla.

    They changed libraries\joomla\form\fields\folderlist.php to

    $path = ltrim($this->directory, '/');
    if (!is_dir($path))....

    but after ltrim is_dir() is false and getOptions is returning NULL
     
  5. ereyes

    ereyes New Member

    Level: Community
    So the correction would be in the hands of Joomla? Right ?
     
  6. troester

    troester Well-Known Member Staff Member

    Level: Community
    It's fixed in GitHub (Fabrik is skipping the Joomla issue).
     
  7. ereyes

    ereyes New Member

    Level: Community
    Excellent !
    Thank you.
     
  8. flinx

    flinx New Member

    Level: Community
    Hi, since for various reasons I cannot update via github for now I have restored the code of the joomla library bringing it back to the one previous to 3.9.16 do you think I will have problems from other parts of the site? do you think joomla will modify this bug?
     
  9. troester

    troester Well-Known Member Staff Member

    Level: Community
  10. flinx

    flinx New Member

    Level: Community
    Thanks, I did as recommended by troester and it seems to be working well, thanks again for avoiding me to act in a way that is surely wrong and dangerous for the site.
     

Share This Page