By Guest on Monday, 26 February 2018
Replies 3
Likes 0
Views 1.1K
Votes 0
Hello,
I just recently installed JEvents 3.4.44 on my Joomla 3.8.5. Site
Apart from the good-looking layout of this component I found a little bug or typo.
I wasn't able to empty the trash bin.
The error was:

Fatal error: Call to undefined method Joomla\CMS\Application\AdministratorApplication::input() in /PATHTOJOOMLA/administrator/components/com_jevents/controllers/icalevent.php on line 1461


In this file it on line 1460 and 1461 it says

$app = JFactory::getApplication();
$jinput = $app->input();


where instead it should say

$jinput = JFactory::getApplication()->input;


Changing the first to the second solution solves the problem.
Please fix this, it is a annoying bug.
with kind regards,
karlsifko
Hello karlsifko,

this has already been fixed in the next release thank you :-).

But it should be:


$app = JFactory::getApplication();
$jinput = $app->input;



Many thanks
Tony
·
Monday, 26 February 2018 16:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Tony,

thanks a lot for the reply.
Also thanks for enhancing my understanding of Joomla-Code :-)

greetings,
Karl
·
Monday, 26 February 2018 17:45
·
0 Likes
·
0 Votes
·
0 Comments
·
You are very welcome!
·
Monday, 26 February 2018 19:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post