By matthias.smagghe on Tuesday, 05 May 2020
Replies 1
Likes 0
Views 603
Votes 0
Good evening/night,

I just upgraded JEvents for my Joomla site to the latest version and I now get the below error (see also attachment) on the homepage where a module is set to show the latest x events for a couple of categories.


0 - Too few arguments to function Joomla\Utilities\ArrayHelper::toInteger(), 0 passed in /customers/c/a/5/psvbadmintonbrugge.com/httpd.www/CMS30/components/com_jevents/libraries/helper.php on line 516 and at least 1 expected


Disabling the module temporary "solves" the issue of the homepage not being accessible, but I'd like to use said module of course.

Thank you in advance for any hints/tips in order to solve this.

KR,
Matthias.
Hello,

That shouldn't be null. But I've made a PR to fix this. Please apply the change here:
https://github.com/JEvents/JEvents/pull/494/files

or set Error reporting to none in the Joomla! Config.

Many thanks
Tony
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post