Search Results (Searched for: message)

07 Nov 2026 10:33
Hi xillibit,

Thanks! I tested PR #10314 on a copy of the production site (Joomla 6.2, Kunena 7.1.0, PHP 8.5, Kunena template setting still "crypsis"), running the task via `php cli/joomla.php scheduler:run`. Before the patch I could reproduce the fatal error; after applying it the queued notification is sent and marked as sent, so issue 1 is fixed for me.

Issue 2 is still present: the links in the emails are ` joomla.invalid/set/by/console/applicatio...&limitstart=12#10613 `, and the header image in the email (`/media/kunena/email/hero-wide.png`) also gets that host, so it is broken too. The correct permalink is already stored in `#__kunena_notifications_mailsqueue.url` and passed to the layout as `$this->messageUrl`, but `email/subscription/default.php` and `moderator.php` rebuild it from `Uri::getInstance()`. Could you take a look at that one as well?

Best regards,
Jose
07 Nov 2026 09:36 - 07 Nov 2026 09:39
Danke für die DB-Screenshots, damit war die Ursache schnell gefunden.Beim Moderieren eines Themas werden die Zeiten aller Beiträge „eindeutig“ gemacht. Dafür braucht die Abfrage ein
Code:
ORDER BY time ASC, id ASC
 

Das ist bei einer Umstellung auf den Query Builder (#10130) verloren gegangen. Seitdem bestimmt die Datenbank selbst die Reihenfolge. Bei dir (MariaDB 10.11.14) werden die Beiträge von neu nach alt verarbeitet und die Zeiten dabei rückwärts hochgezählt (980, 981 … 984), genau wie in deinem Screenshot. Bei mir zufällig von alt nach neu, deshalb konnte ich es nicht nachstellen.

Fix ist als Pull Request eingereicht: #10317

Bereits betroffene Themen werden dadurch nicht repariert, die Zeiten musst du dort manuell in #__kunena_messages korrigieren.
05 Nov 2026 17:14
After updating to Kunena 6.4.16, I received a PHP exception from the System - Kunena Forum plugin during a DOCman PDF upload.Environment:
  • Kunena 6.4.16, dated October 23, 2026
  • Joomla 5.4.10
  • PHP 8.3
Error:
Code:
Exception Type: Error File: /plugins/system/kunena/kunena.php Line: 122 Message: Call to a member function isClient() on null #0 /libraries/src/Plugin/CMSPlugin.php(320): PlgSystemKunena->onAfterInitialise() #1 /libraries/vendor/joomla/event/src/Dispatcher.php(454): Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() #2 /libraries/vendor/joomla/application/src/AbstractApplication.php(99): Joomla\Event\Dispatcher->dispatch() #3 /libraries/src/Application/CMSApplication.php(813): Joomla\Application\AbstractApplication->dispatchEvent()
The request was:
Code:
POST /add-notice?format=json Content-Type: multipart/form-data
This was a DOCman notice submission, not a forum request. The document is present in DOCman with the expected filename and file size and is marked published. We have received no complaint about a failed upload, so I cannot tell whether the exception affected a separate request or whether a retry succeeded.The forum is restricted to registered members. The System - Kunena Forum plugin remains enabled, as its description warns against disabling or uninstalling it.Is this a known issue with the system plugin’s application initialization? What is the recommended fix without modifying extension files that would be overwritten by an upgrade?I can provide additional sanitized diagnostic information if needed.
05 Nov 2026 09:41
Ich kann es nicht reproduzieren (Nightly vom 4.11., zwischen 3.11. und 4.11. gibt es keine Codeänderungen). Thema mit sechs Beiträgen angelegt, dreimal “Thema moderieren → Fortfahren” ohne Änderung und einmal mit geändertem Titel: Zeiten und Reihenfolge bleiben korrekt.Auffällig bei dir: nach dem Moderieren zeigen alle Beiträge 09:45. Welche Datenbank (MySQL/MariaDB und Version) und welches Template verwendest du? Und ändern sich die Werte in
Code:
#__kunena_messages.time
tatsächlich?
05 Nov 2026 08:45 - 05 Nov 2026 08:51
Replied by Pinkeltje on topic 7.0.10 Deprecated issue
After clicking Kunena → Tools → Setup socials, which message do you get? And please run this in phpMyAdmin and post the result: 
Code:
SHOW COLUMNS FROM xxx_kunena_users LIKE 'icq';
If icq is still listed, please drop it manually (after a backup):
Code:
ALTER TABLE xxx_kunena_users DROP icq;
Then save a user in CB again and run the SHOW COLUMNS query once more. If icq is back, something else recreates it.
04 Nov 2026 08:33
Hello Kunena team,

After upgrading to Kunena 7.1.0, the scheduled task "Kunena - Send the mail notifications queued" fails when it runs from the Joomla CLI (php cli/joomla.php scheduler:run, triggered by cron). The task log shows:

ERROR    Task> Queued notification #1 could not be sent: Call to undefined method Joomla\CMS\Application\ConsoleApplication::getTemplate()
WARNING  Task> One or more queued notifications could not be sent and will be retried.

Environment: Kunena 7.1.0, Joomla 6.2, PHP 8.5, task executed via CLI cron.

ISSUE 1 – Fatal error in KunenaTemplate::getInstance() under CLI

Stack trace:

libraries/kunena/src/Template/KunenaTemplate.php:483  KunenaTemplate::getInstance()
libraries/kunena/src/Factory/KunenaFactory.php:76      KunenaFactory::getTemplate()
libraries/kunena/src/Layout/KunenaBase.php:709         KunenaBase::factory()
libraries/kunena/src/Forum/Message/KunenaMessage.php:1963  KunenaMessage->attachEmailBody()

It happens when the configured Kunena template no longer exists. In our case the site was upgraded from older versions and the configuration still had template = "crypsis". The code then takes the fallback branch:

// If template xml doesn't exist, raise warning and use aurelia instead
$file = JPATH_THEMES . "/{$app->getTemplate()}/html/com_kunena/template.php";

$app is Factory::getApplication(), which is a ConsoleApplication under CLI and has no getTemplate() method. The $file value assigned here is never used: it is overwritten inside the following isClient('site') block, or ignored otherwise. Removing the line, or guarding it with $app->isClient('site'), fixes the issue. Setting Aurelia as the default template also works around it.

It might also be worth making the upgrade process reset an obsolete template value (such as crypsis) to aurelia.

ISSUE 2 – Wrong message links in emails sent from CLI

Once issue 1 is worked around, the emails are sent, but the message links are wrong:

- With live_site empty: joomla.invalid/set/by/console/applicatio...=2447&Itemid=0#10614
- With live_site set: www.example.comcli/index.php?option=com_...c&...&Itemid=0#10614 (no slash, cli/ path, non-SEF, Itemid=0)

The email layouts rebuild the link from the current request instead of using the URL that was stored in the queue:

- components/com_kunena/template/aurelia/layouts/email/subscription/default.php lines 25 and 204
- components/com_kunena/template/aurelia/layouts/email/subscription/moderator.php line 25

$this->messageLink = Uri::getInstance()->toString(array('scheme', 'host', 'port')) . $this->message->getUrl(null, false);

KunenaMessage::processNotification() already computes the correct permalink during the web request and stores it in #__kunena_notifications_mailsqueue.url. That value is passed to the layout as $this->messageUrl by attachEmailBody(), but the layouts never use it. A possible fix:

$this->messageLink = $this->messageUrl?: Uri::getInstance()->toString(array('scheme', 'host', 'port')) . $this->message->getUrl(null, false);

Line 204 of default.php should also use $this->messageLink instead of recomputing the URL. I'd also suggest escaping the link when it is output in the HTML (htmlspecialchars($this->messageLink, ENT_QUOTES, 'UTF-8')).

Best regards,
Jose
02 Nov 2026 08:25
Replied by Leen on topic issue with emoticons
I have read that article, but it remains strange that—even though the emoticons actually exist in the 'emoticons' folder—a message still appears stating:
image missing /media/kunena/emoticons/
I am also receiving similar reports from members on my Joomla forum,
so I am not the only one experiencing this issue.
Is there a simple solution to this problem?
31 Oct 2026 16:02
Oops—it was probably a mistake to use a copy of an old forum as the foundation for a new website. 
I’ll try to manage your way, but I lack the necessary background knowledge: after entering the first two lines, I immediately got an error message stating that I hadn’t opened a database. So, I need to look up what the correct command should be.
Okay, thanks—but I think this might be beyond me. Still, it’s worth a try. 
Is there another way?
Is it possible to export the current Kunena tables, install a "fresh" version, and then import the tables? That’s something I could probably handle.
Thank you so much for your help!
30 Oct 2026 14:39
After creating test pages locally with emoticons for the various 7.1.0 versions and attempting to delete the post via ‘Moderate/Delete’, the following message appears:
 The requested page could not be found. If you encounter any problems, please contact the administrator of this website.

0 Joomla\CMS\Event\Model\ModelEvent::onSetContext(): Argument #1 ($value) must be of type string, array given, called in /srv/www/htdocs/BFBk71B1/libraries/src/Event/AbstractEvent.php on line 227

If I then go back using (Alt+Left Arrow), the post is displayed in grey and can be deleted using ‘Moderate/Permanently delete’.
30 Oct 2026 13:07
Hi all,

Anyone wishing to use my modified KunenaMessage.php file will find it attached, along with a brief guide.
Path in your Joomla installation:
/libraries/kunena/src/Forum/Message/KunenaMessage.php

This version of “KunenaMessage.php” allows attachments to be sent with every email notification, including attachments to replies, and supports the “Reply to sender” function in email notifications.

Important Note: 
You’ll need to overwrite the file after every Kunena update if you want to use this feature again. 

Or, of course, it would be better if Kunena were to include this feature in the configuration settings as a selectable option.

b/r
Chris
29 Oct 2026 08:39 - 29 Oct 2026 08:40
I can’t reproduce this. On Joomla 6.2.0 with Kunena 7.0.11 the Smart Search Kunena plugin indexes fine for me, and forum posts show up in the search results.So let’s find out what goes wrong on your site:
  1. In Smart Search → Options, make sure logging is enabled.
  2. Run the indexer again.
  3. Open administrator/logs/indexer.php and look for lines starting with “Finder Kunena plugin:” with priority ERROR. They tell you which exception stops the indexer, in which file and line, and for indexing errors also the message ID.
  4. If the log stops right after
    Code:
    FinderIndexerAdapter::getItems(...)
    without “Batch completed”, please mention that too.
Also try Smart Search → Index → Debug with the Kunena plugin and the ID of an existing message, not a topic. You can find the message ID after the
Code:
#
in a post URL. A non-existing ID gives a TypeError in
Code:
stripBBCode()
but that is a separate bug and not the cause of your problem.Please post the relevant log lines here.
29 Oct 2026 08:16 - 29 Oct 2026 08:16
The collation check in the configuration report reads the column collations directly through Joomla’s own database connection. If phpMyAdmin shows utf8mb4_unicode_ci for the same columns, you’re most likely looking at a different database than the one Joomla uses. Could you check the following?
1. Collation / database
  • In Joomla, go to System → Global Configuration → Server tab → Database section. Note the Host, Database Name and Database Tables Prefix.
  • In phpMyAdmin, check the breadcrumb at the top (Server » Database). Is it exactly the same database name?
  • If you have more than one database with the same prefix (vc5o7_), for example an old copy or a test site, make sure you’re checking the right one.
  • To be sure, post a test message in the forum and check whether it appears in vc5o7_kunena_messages in the database you have open in phpMyAdmin.
2. “Forbidden” when saving
  • Open your browser’s developer tools (F12) → Network tab, and then try to save the message that fails.
  • Click the failing request (status 403) and check:
    • the request URL (which task?)
    • the response: is it a Joomla/Kunena error page, or a plain server page like “Forbidden – You don’t have permission to access this resource”?
    • the Server response header (Apache, LiteSpeed, nginx, Cloudflare, …)
  • If it’s a plain server page, it’s most likely a web application firewall (mod_security) at your host blocking the content. Remove parts of the text until the error disappears, so you know which line triggers it. Then ask your host which mod_security rule ID was triggered at that time, and whether they can whitelist it for your site.
27 Oct 2026 18:28
FYI this replacement of kunena.php  didnt work too www.kunena.org/forum/k-3-0-general-templ...unena-forum-p#235481 still have this problem indexing doesnt work...
27 Oct 2026 05:39 - 27 Oct 2026 05:55
Replied by Pinkeltje on topic 7.0.10 Deprecated issue
@David Li, please revert that change to KunenaUser.php.
Code:
#[\AllowDynamicProperties]
doesn’t fix anything, it only hides the notice. Since it’s a core file, it will be overwritten by the next update anyway.

And a deprecation notice doesn’t break Joomla; it’s only shown because error reporting is enabled.The fix is already in 7.0.11: go to Kunena → Tools → Setup socials and click it once. That removes the leftover icq column from your #__kunena_users table, which is the real cause of the notice.

If you still see notices after that, please post the exact message (property name) here.
18 Oct 2026 15:01
yes seems to fix this problem... thks!
Displaying 16 - 30 out of 297 results.
Time to create page: 0.155 seconds