Forum


Possible bug using path?

Ronald Spierings
22%
Posts: 22
TF Learn
September 03, 2023

Joomla version: 4.3.4 TF Learn version: 2.1.1 (light version) Tech Fry Library version: 2.4.2

Situation: Only one course present and set to user group "registered" Enrolment to "none" or "self" User added to enrolment course Menu item set to path

Problem: When using menu item "path" and present logged-in user is not assigned to the user group "registered" you will get the following error: The requested page can't be found. Error code: Object of class stdClass could not be converted to string

Joomla Fry
100%
Posts: 934
September 03, 2023

Hello

I am not able able to reproduce this issue. Please enable Debug mode in Global Configuration. Then, it will show where is the exact problem.

Thank you.

Ronald Spierings
22%
Posts: 22
September 03, 2023

Hello,

Thanks for your reply.

Used the debug function already. It seems that when I assign a user toe a course, this problem occurs using menu item type path. No results found when using a menu item type course (all).

Debug info:

Object of class stdClass could not be converted to string Call stack # Function Location 1 () JROOT/components/com_tflearn/src/Model/PathsModel.php:39 2 implode()

Joomla Fry
100%
Posts: 934
September 03, 2023

Hello

Thank toy for the details. Please update the component. This should be solved now.

Ronald Spierings
22%
Posts: 22
September 03, 2023

Thx. After the update it seems the problem is solved.

Regards,Ronald

Login to Reply