Unable to sort files

Phoca Download - download manager
vtpages
Phoca Member
Phoca Member
Posts: 30
Joined: 17 Mar 2011, 17:49

Unable to sort files

Post 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!
christine
Phoca Hero
Phoca Hero
Posts: 2857
Joined: 28 Nov 2010, 17:20

Re: Unable to sort files

Post 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
vtpages
Phoca Member
Phoca Member
Posts: 30
Joined: 17 Mar 2011, 17:49

Re: Unable to sort files

Post 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:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Unable to sort files

Post 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
If you find Phoca extensions useful, please support the project
Post Reply