Page 1 of 1

Error to arrive directly on the page catalogs

Posted: Sun Jul 19, 2020 7:06 pm
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

Re: Error to arrive directly on the page catalogs

Posted: Mon Jul 20, 2020 6:02 am
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

Re: Error to arrive directly on the page catalogs

Posted: Wed Aug 05, 2020 3:58 pm
by alberto
Fixed in version 2.4.2