Skip to Content Skip to Menu

CB Activity and Kunena KPATH_FRAMEWORK Error

  • Oishiku
  • Oishiku
  • ONLINE
  • Posts: 24
  • Thanks: 6
  • Karma: 2
58 minutes ago - 55 minutes ago #344331 by Oishiku
Hello,

I have isolated an error involving CB Activity and Kunena on a Joomla 6 site.

Environment
  • Joomla 6.1.2
  • PHP 8.4.23
  • Community Builder 2.11.0
  • CB Activity 7.1.0
  • Kunena 7.0.7
  • Kunena – Community Builder Integration 7.0.7, enabled
  • Content – Kunena Discuss 6.2.1
One account, called Team Writer, created the opening Kunena discussions connected with an article.  

When another logged-in member views Team Writer’s profile, the profile opens normally. That same member can also open the site-wide CB Activity Stream normally.

However, when Team Writer is logged in, two areas fail:
  1. Team Writer’s own profile when the CB Activity profile tab is published.
  2. The site-wide CB Activity Stream, linked from the site as “What’s New” 
Both produce:
Code:
Undefined constant "Kunena\Forum\Libraries\BBCode\KPATH_FRAMEWORK"
I  performed these isolation tests:
  • Changed Team Writer from Administrator to Registered — error remained.
  • Unpublished the CB Forum profile tab — error remained.
  • Unpublished the CB Activity profile tab — Team Writer could open his own profile.
  • Republished the CB Activity tab — the profile error returned.
  • Disabled Content – Kunena Discuss — the “Discuss this article” links disappeared, but the CB Activity errors remained.
  • Logged in as another member — both Team Writer’s profile and the site-wide Activity Stream worked normally.
This problem does not appear to be limited to the profile layout or the Kunena Discuss content plugin. It appears to occur whenever CB Activity is rendered while Team Writer is the logged-in viewer.

Could CB Activity be loading or parsing one of this user’s Kunena activity entries using the  
Code:
KPATH_FRAMEWORK
constant? Is there a user-specific activity record, permission state or Kunena integration cache that should be inspected?

Please let me know which specific redacted log or stack-trace section would be most useful. I do not want to disable CB Activity because it is central to the community interaction.

Thank you. 
Last edit: 55 minutes ago by Oishiku.

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

Moderators: beatnantkrileon
Powered by Kunena Forum