This error shows up on every menu item that is supposed to show a single category view with a list of files. I'm not sure when this error started to come up, so it's hard to say what changed.
I've tried removing my custom page layouts from the template, I've tried re-installing Phoca Download, I've tried creating new menu items, I've accessed the page as a public user and as an admin, and I've cleared every cache I can think of.
Any suggestions to clear up this error?
"0 - Too few arguments..." error for category view pages
-
- Phoca Newbie
- Posts: 2
- Joined: 14 Oct 2020, 19:17
-
- Phoca Newbie
- Posts: 2
- Joined: 20 Nov 2015, 20:16
Re: "0 - Too few arguments..." error for category view pages
I do have the same problem after upgrading my yootheme template. I use version 3.2.0.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: "0 - Too few arguments..." error for category view pages
Hi, can you paste full error message? E.g. with enabling debug mode, etc. This message: "Too few arguments to function PhocaDownloadModelCategory::getPagination(), 0 passed in /home/axsmfygc/public_html/libraries/src/MVC/View/HtmlView.php on line 425 and exactly 2 expected" does not say where the error comes.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 14 Oct 2020, 19:17
Re: "0 - Too few arguments..." error for category view pages
Here is a screenshot with DeBugging on: https://imgur.com/a/NWi5WbfJan wrote: ↑15 Oct 2020, 18:39 Hi, can you paste full error message? E.g. with enabling debug mode, etc. This message: "Too few arguments to function PhocaDownloadModelCategory::getPagination(), 0 passed in /home/axsmfygc/public_html/libraries/src/MVC/View/HtmlView.php on line 425 and exactly 2 expected" does not say where the error comes.
Jan
-
- Phoca Newbie
- Posts: 5
- Joined: 16 Oct 2020, 15:23
Re: "0 - Too few arguments..." error for category view pages
Hello
same problem here, both on Phocadownload or PhocaGallery - example :
https://upbm.org/publications/tous-les- ... blications
It could have happened after YooTheme upgrade.
Do you have any idea on how to fix it ?
Best regards
Antoine
same problem here, both on Phocadownload or PhocaGallery - example :
https://upbm.org/publications/tous-les- ... blications
It could have happened after YooTheme upgrade.
Do you have any idea on how to fix it ?
Best regards
Antoine
-
- Phoca Newbie
- Posts: 5
- Joined: 16 Oct 2020, 15:23
Re: "0 - Too few arguments..." error for category view pages
[EDIT] : last upgrade onight from YooTheme fixed it. Topic closed.
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: "0 - Too few arguments..." error for category view pages
Hi agaudin,
Thank you for your information!
@all: for changes check: https://yootheme.com/support/yootheme-pro/changelog
Kind regards
Christine
Thank you for your information!
@all: for changes check: https://yootheme.com/support/yootheme-pro/changelog
Kind regards
Christine