The Elearning Community • Catalogue in 2.4.1
Page 1 of 1

Catalogue in 2.4.1

Posted: Tue Mar 17, 2020 1:25 pm
by Graeme59
Hi,

Since updating to 2.4.1 I am getting a catalogue error;

Fatal error: Call to private method CatalogLms::getMinorCategoryTree() from context 'Controller' in /home/hospskillonl/public_html/appLms/views/homecatalogue/courselist.php on line 76

Line 76 courselist.php
$arr_cat = $smodel->getMinorCategoryTree((int)$row['idCategory']);

Re: Catalogue in 2.4.1

Posted: Tue Mar 17, 2020 4:24 pm
by alfa24
In /appLms/models/CatalogLms.php

replace:

private function getMinorCategoryTree($top_cat)

with:

public function getMinorCategoryTree($top_cat)

Re: Catalogue in 2.4.1

Posted: Mon Mar 23, 2020 7:23 pm
by Graeme59
Thank you, worked perfectly.
Cheers
Graeme

This site uses cookies.

Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies.
You may delete or block all cookies from this site in your browser options.