Kunena 6.2.2 Released with module Latest 6.0.5, module Kunena Stats 6.0.5, Kunena Discuss 6.0.5 and Kunena Search module 6.0.5

The Kunena team has announce the arrival of Kunena 6.2.2 [K 6.2.2] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Solved Kunena 6.2.0-BETA2 Undefined constant "KPATH_ADMIN" activating Plugin uddeim

More
2 months 2 weeks ago #1 by Gindi
When I activate the plugin uddeim in Kunena 6.2.0-BETA2, I get the message
Error 0 Undefined constant "KPATH_ADMIN"

Es ist ein Fehler aufgetreten.

0 Undefined constant "KPATH_ADMIN"

Call stack#FunctionLocation1()JROOT/plugins/kunena/uddeim/uddeim.php:552PlgKunenaUddeIM->__construct()JROOT/libraries/src/Extension/ExtensionManagerTrait.php:2423Joomla\CMS\Application\CMSApplication->loadPluginFromFilesystem()JROOT/libraries/src/Extension/ExtensionManagerTrait.php:1604Joomla\CMS\Application\CMSApplication->loadExtension()JROOT/libraries/src/Extension/ExtensionManagerTrait.php:995Joomla\CMS\Application\CMSApplication->bootPlugin()JROOT/libraries/src/Plugin/PluginHelper.php:2326Joomla\CMS\Plugin\PluginHelper::import()JROOT/libraries/src/Plugin/PluginHelper.php:1927Joomla\CMS\Plugin\PluginHelper::importPlugin()JROOT/libraries/kunena/src/Config/KunenaConfig.php:17228Kunena\Forum\Libraries\Config\KunenaConfig->load()JROOT/libraries/kunena/src/Config/KunenaConfig.php:16829Kunena\Forum\Libraries\Config\KunenaConfig::getInstance()JROOT/administrator/components/com_kunena/api/api.php:2510require_once()JROOT/plugins/system/kunena/kunena.php:6111PlgSystemKunena->__construct()JROOT/libraries/src/Extension/ExtensionManagerTrait.php:24212Joomla\CMS\Application\CMSApplication->loadPluginFromFilesystem()JROOT/libraries/src/Extension/ExtensionManagerTrait.php:16013Joomla\CMS\Application\CMSApplication->loadExtension()JROOT/libraries/src/Extension/ExtensionManagerTrait.php:9914Joomla\CMS\Application\CMSApplication->bootPlugin()JROOT/libraries/src/Plugin/PluginHelper.php:23215Joomla\CMS\Plugin\PluginHelper::import()JROOT/libraries/src/Plugin/PluginHelper.php:19216Joomla\CMS\Plugin\PluginHelper::importPlugin()JROOT/libraries/src/Application/CMSApplication.php:74417Joomla\CMS\Application\CMSApplication->initialiseApp()JROOT/libraries/src/Application/AdministratorApplication.php:31218Joomla\CMS\Application\AdministratorApplication->initialiseApp()JROOT/libraries/src/Application/AdministratorApplication.php:16519Joomla\CMS\Application\AdministratorApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:29320Joomla\CMS\Application\CMSApplication->execute()JROOT/administrator/includes/app.php:6121require_once()JROOT/administrator/index.php:32

The error is displayed permanently in the frontend and backend, even if the pages are reloaded or the test page is terminated and restarted.
The website is only redisplayed to me if I deactivate the "KPATH_ADMIN" in plugins/kunena/uddeim/uddeim.php:55 at the end of line 55 by a hash # in front of it
Then I can deactivate the plugin again in the backend and remove the hash # in plugins/kunena/uddeim/uddeim.php:55 again afterwards....

Gindi

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #2 by Leen
So here is this error again
if I remove line 55 "KPATH_ADMIN" in \plugins\kunena\uddeim\uddeim.php it works

L.v.d.A
Attachments:

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #3 by Leen
that of kpath_admin now only seems to occur on older upgraded websites

L.v.d.A

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago - 2 months 2 weeks ago #4 by Leen
it's only on this older website so far I have attached an anonymous report from Kunena


Part of the message is hidden for the guests. Please log in or register to see it.

L.v.d.A
Last edit: 2 months 2 weeks ago by Leen.

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #5 by xillibit
You should have the same issue with others integration plugins like CB, Joomsocial because this line of code is the same in others plugins

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #6 by Leen
Yes, I don't fully understand the difference yet, I'll look into it further.
I do notice on one site I have installed admin tool
and on another Community Builder where it occurs

L.v.d.A

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #7 by xillibit
I have made for this issue and i have generated a new nightly build with this fix

I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: Leen

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #8 by Leen
I tried the new nightly build with this fix
and problem is gone now

L.v.d.A
The following user(s) said Thank You: xillibit

Please Log in or Create an account to join the conversation.

Time to create page: 0.363 seconds