Kunena 6.3.0 released

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

This section is for questions directly related to the procedure for installing Kunena for the first time or upgrading from an older version of Kunena.

Use this category:
  • to ask how to install or upgrade; or
  • if you encountered problems during the installation or upgrade procedure.

Use a different category to ask questions about problems that you may be having after you successfully installed or upgraded the currently supported version. If you are unsure what is the current supported version of Kunena, please go to the download page.

Question Upgrade to J4.1 / K6.0 breaks Cron

More
1 year 9 months ago #1 by pcstech
Upgrading from a J3.10 to J4.1.5 and update to K6.0 appears to go ok. Except that Cron Jobs/CLI no longer work. Tracked issue to Kunena and find if I disable (Plugin)  System - Kunena Forum then crons work as scheduled - but obviously disable the forum!

So it appears there needs to be a simple check:

if (!$this->app->isClient('site')) return;

this line in the plugin's event handlers would make it J4 compatible:

If this is correct can it be added asap.?
 

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

More
1 year 9 months ago #2 by pcstech
No ideas anyone? Where might i go about putting this ?
if (!$this->app->isClient('site')) return;

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

More
1 year 9 months ago - 1 year 9 months ago #3 by xillibit
Hello,

Try by using tihs :
Code:
if ($this->app->isCli()) return;

The method isCli() is deprecated and will removed in Joomla! 5.0 so it's a temporary solution but need to find an another way

I don't provide support by PM, because this can be useful for someone else.
Last edit: 1 year 9 months ago by xillibit.

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

More
1 year 9 months ago - 1 year 9 months ago #4 by pcstech
Hi,

Tried this in /plugins/system/kunena/kunena .php

And gives - An error has occurred.

0 Call to a member function isCli() on null

Last edit: 1 year 9 months ago by pcstech.

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

More
1 year 9 months ago #5 by xillibit

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

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

More
1 year 9 months ago - 1 year 9 months ago #6 by pcstech
OK - that line seems to be working. Just checking a couple of cron jobs now - will confirm shortly.

Have confirmed now  and can confirm that the line 43 allows cron jobs to run without error.
Excellent - thank you. :)
Last edit: 1 year 9 months ago by pcstech.
The following user(s) said Thank You: xillibit

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

More
1 year 9 months ago #7 by xillibit
Thanks for the feedback i have added this change for the next maintenance release of K6.0.x

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

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

Time to create page: 0.498 seconds