Error to arrive directly on the page catalogs

Install and configure FormaLMS and DoceboCE
Post Reply
ARFLearning
Newbie
Posts: 10
Joined: Wed May 24, 2017 11:28 pm
Version: Docebo CE 4.0.5

Error to arrive directly on the page catalogs

Post by ARFLearning »

Hi Guys,

Can you help me please?

In login pageI set up COURSE CATALOG button to be seen.
When I Click on it I have this issue / fatal error:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function HomecatalogueLms::getMajorCategory(), 0 passed in /home3/european/public_html/lms/appLms/models/HomecatalogueLms.php on line 406 and at least 1 expected in /home3/european/public_html/lms/appLms/models/HomecatalogueLms.php:384 Stack trace: #0 /home3/european/public_html/lms/appLms/models/HomecatalogueLms.php(406): HomecatalogueLms->getMajorCategory() #1 /home3/european/public_html/lms/appLms/views/homecatalogue/catalog_tree.php(3): HomecatalogueLms->GetGlobalJsonTree() #2 /home3/european/public_html/lms/lib/mvc/lib.controller.php(133): include('/home3/european...') #3 /home3/european/public_html/lms/appLms/controllers/HomecatalogueLmsController.php(90): Controller->render('catalog_tree', Array) #4 /home3/european/public_html/lms/appLms/controllers/HomecatalogueLmsController.php(51): HomecatalogueLmsController->allCourse() #5 /home3/european/public_html/lms/lib/mvc/lib.controller.php(50): HomecatalogueLmsController->show() #6 /home3/european/public_htm in /home3/european/public_html/lms/appLms/models/HomecatalogueLms.php on line 384

I attached image.
Please help me

Thank you
Attachments
erorr.jpg
User avatar
max
FormaLms Guru
Posts: 2738
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Error to arrive directly on the page catalogs

Post by max »

Hi, this will be fixed in the next version. In the meanwhile, this is the solution

https://forum.formalms.org/14/13641.html?p=22610#p22610
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
User avatar
alberto
FormaLms Guru
Posts: 1136
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Error to arrive directly on the page catalogs

Post by alberto »

Fixed in version 2.4.2
Post Reply