Catalogue in 2.4.1

Anything about what happens on the user and teacher side
Post Reply
Graeme59
FormaLms User
Posts: 28
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Catalogue in 2.4.1

Post 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']);

alfa24
Senior Boarder
Posts: 621
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Catalogue in 2.4.1

Post by alfa24 »

In /appLms/models/CatalogLms.php

replace:

private function getMinorCategoryTree($top_cat)

with:

public function getMinorCategoryTree($top_cat)
I'm Jasmines, the One. If you need, you can contact me.

Graeme59
FormaLms User
Posts: 28
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Catalogue in 2.4.1

Post by Graeme59 »

Thank you, worked perfectly.
Cheers
Graeme

Post Reply