Thanks.
With debug + maximum error reporting on, here's what I've found:
Oddly, when I first accessed the profile page this time, it rendered without error — but only because the offending row was initially hidden.
Team Writer's profile now shows many recent "published article" (CB blog/article) activity rows, which render fine. Those newer rows pushed the older Kunena forum-activity row out of the initial visible window, so the profile loaded without error. But as soon as I click
"More" (which paginates in the older activity), the Kunena forum row loads and the page immediately fatals with the same error. So the profile isn't actually fixed — the fatal is just deferred until that specific Kunena row is rendered.
The site-wide activity stream still fatals on load, since it renders the Kunena row directly.So the same underlying error is reached from two entry points. Both callstacks converge on the identical Kunena line (
Code:
KunenaBBCode.php:50
), but the middle frames differ:
- Profile-tab path: via
Code:
ActivityTab->getDisplayTab()
- Stream/component path (below): via
Code:
CBplug_cbactivity->getCBpluginComponent()
/
Code:
cbTabs->tabClassPluginTabs()
Full callstack (from the stream, which is the same one produced by clicking "More" on the profile):
Code:
Undefined constant "Kunena\Forum\Libraries\BBCode\KPATH_FRAMEWORK"
libraries/kunena/src/BBCode/KunenaBBCode.php:50
Call Stack
# Function Location
1 () JROOT/libraries/kunena/src/BBCode/KunenaBBCode.php:50
2 include() JROOT/libraries/vendor/composer/ClassLoader.php:576
3 {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}() JROOT/libraries/vendor/composer/ClassLoader.php:427
4 Composer\Autoload\ClassLoader->loadClass() JROOT/libraries/src/Autoload/ClassLoader.php:59
5 Joomla\CMS\Autoload\ClassLoader->loadClass() JROOT/libraries/kunena/src/Html/KunenaParser.php:280
6 Kunena\Forum\Libraries\Html\KunenaParser::stripBBCode() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/activity/core/kunena.php:69
7 require() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/activity/core/display.php:69
8 require() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/library/Helper/ActivityHelper.php:601
9 CB\Plugin\Activity\Helper\ActivityHelper::layoutData() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/activity/container.php:80
10 require() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/activity/rows.php:35
11 require() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/library/Controller/ActivityController.php:2640
12 CB\Plugin\Activity\Controller\ActivityController->show() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/component.cbactivity.php:396
13 CBplug_cbactivity->getCBpluginComponent() JROOT/libraries/CBLib/CB/Legacy/cbPluginHandler.php:879
14 cbPluginHandler->call() JROOT/libraries/CBLib/CB/Legacy/cbTabs.php:1611
15 cbTabs->_callTabPlugin() JROOT/libraries/CBLib/CB/Legacy/cbTabs.php:1725
16 cbTabs->tabClassPluginTabs() JROOT/components/com_comprofiler/comprofiler.php:732
17 tabClass() JROOT/components/com_comprofiler/comprofiler.php:284
18 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
19 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::{closure:...dispatch():70}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
20 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
21 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:218
22 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:272
23 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:320
24 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
25 require_once() JROOT/index.php:51
 It seems the
error originates inside Kunena's BBCode class, reached from CB Activity's Kunena activity template whenever a forum-activity row is rendered. CB-native rows (published articles/blogs) render fine — only the Kunena forum row triggers it.
Â