Kunena 7.0.8 Released
The Kunena team has announce the arrival of Kunena 7.0.8 [K 7.0.8] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Solved Class "KunenaUserHelper" not found
3 years 9 months ago #225922
by milstanyu
Class "KunenaUserHelper" not found was created by milstanyu
Hi all,
I experienced the same problem with the Sitemap plugin (it supports Kunena) as described here: joomline.net/forum/jlsitemap/6640-issue-with-kunena-plugin.html but the extension developer is not answering.
The plugin file is simple and the problematic lines are:
PHP reports these classes are not found in Kunena 6. What should be changed in the code above?
Regards,
Milos
I experienced the same problem with the Sitemap plugin (it supports Kunena) as described here: joomline.net/forum/jlsitemap/6640-issue-with-kunena-plugin.html but the extension developer is not answering.
The plugin file is simple and the problematic lines are:
Code:
$guest = KunenaUserHelper::get(0);
$object = KunenaForumTopicHelper::get($row->id);
PHP reports these classes are not found in Kunena 6. What should be changed in the code above?
Regards,
Milos
Please Log in or Create an account to join the conversation.
3 years 9 months ago - 3 years 9 months ago #225923
by Leen
With kind regards
Leen
Replied by Leen on topic Class "KunenaUserHelper" not found
i was testing this in xampp test site
and while I was searching in their plugin
and started xampp and test site again a few times, the problem and message suddenly disappeared so no cause found
it seems to have something to do with their $guest in their rules
in their plugin at line 184 // Prepare user object they talk about $user .
So try as a guest or as an administrator or then suddenly that message is gone for you too
and while I was searching in their plugin
and started xampp and test site again a few times, the problem and message suddenly disappeared so no cause found
it seems to have something to do with their $guest in their rules
in their plugin at line 184 // Prepare user object they talk about $user .
So try as a guest or as an administrator or then suddenly that message is gone for you too
With kind regards
Leen
Last edit: 3 years 9 months ago by Leen.
Please Log in or Create an account to join the conversation.
3 years 9 months ago - 3 years 9 months ago #225932
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Class "KunenaUserHelper" not found
Hello,
In the beginning of file kunena.php its missing the following line :
On line 64 it should be renammed as following :
On line 117 it should be renammed as following :
In the beginning of file kunena.php its missing the following line :
Code:
use Kunena\Forum\Libraries\Forum\Category\KunenaCategoryHelper;
use Kunena\Forum\Libraries\Forum\Topic\KunenaTopicHelper;
use Kunena\Forum\Libraries\Route\KunenaRoute;
use Kunena\Forum\Libraries\User\KunenaUserHelper;
On line 64 it should be renammed as following :
Code:
$object = KunenaTopicHelper::get($row->id);
On line 117 it should be renammed as following :
Code:
$object = KunenaCategoryHelper::get($row->id);
I don't provide support by PM, because this can be useful for someone else.
Last edit: 3 years 9 months ago by xillibit.
Please Log in or Create an account to join the conversation.
3 years 9 months ago #225945
by Leen
With kind regards
Leen
Replied by Leen on topic Class "KunenaUserHelper" not found
thanks ,
With these changes in plg_jlsitemap_kunena > kunena.php it work on my test site
With these changes in plg_jlsitemap_kunena > kunena.php it work on my test site
With kind regards
Leen
Please Log in or Create an account to join the conversation.
Time to create page: 0.285 seconds