Monday, 26 February 2018
  3 Replies
  1.1K Visits
0
Votes
Undo
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
Monday, 26 February 2018 16:11
·
#198006
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Monday, 26 February 2018 17:45
·
#198009
0
Votes
Undo
Hello Tony,

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

greetings,
Karl
Monday, 26 February 2018 19:33
·
#198017
0
Votes
Undo
You are very welcome!

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.