Page 1 of 1

Unable to sort files

Posted: 08 Jan 2018, 08:00
by vtpages
In Options > Display > Categories & Category View, I have tried under File Ordering to sort files by both Date Descending and ID Descending, in an attempt to have the most recent documents appear at the top of the list. Nothing is working. I'm using Phoca Download 3.1.4 and Joomla 3.8.3.

When I go to "Layout" from the PD Control Panel, I see an error at the top of the page which reads:
Warning: asort() expects parameter 1 to be array, null given in /home/fortleetoday/public_html/plugins/editors-xtd/helix_shortcode/helix_shortcode.php on line 24

Warning: asort() expects parameter 1 to be array, null given in /home/fortleetoday/public_html/plugins/editors-xtd/helix_shortcode/helix_shortcode.php on line 24
Could this be what is causing the problem?

Thanks, and Happy New Year, Jan!

Re: Unable to sort files

Posted: 09 Jan 2018, 00:02
by christine
Hi,

maybe it belongs to Helix Shortcode Generator: https://www.joomshaper.com/documentatio ... troduction. Are you using the latest framework etc. from Helix?
Could you check this one: https://github.com/JoomShaper/Helix-Joo ... rtcode.php

Kind regards, Christine

Re: Unable to sort files

Posted: 11 Jan 2018, 01:14
by vtpages
Hi, Christine. Is there any other reason why the "Sort" function wouldn't be working? The relevant template I guess uses the Helix framework, but I've never encountered this sorting issue before - it just doesn't respond to ANY of the configuration settings. :idea:

Re: Unable to sort files

Posted: 14 Jan 2018, 01:13
by Jan
Hi, the error comes from helix plugin:
helix_shortcode.php
Unfortunately hard to say what this plugin does and how it access the code (if it is similar to system plugin where you can change the behaviour of components, etc.)

To test if this can be caused by helix framework, just try to disable it including the plugins and templates and try to run the component without this framework for test only. :idea:

Jan