Kunena 7.0.4 Released

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

Question Kunena Help (menu item for users) in my J5 website: error 'deprecated $body'

More
2 years 5 months ago #229791 by sthop
Hello,
I have installed Kunena 6.2.0 extension in my Joomla 5.0.0 website (in development environment: J4 updated to J5).
When I login in my site, as a user who has the right to read/write Kunena Forum Topics, I get an orange/yellow error after clicking on the by-Kunena-generated menu item 'Help':

Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$body is deprecated in ....\joomla4\libraries\kunena\src\Layout\KunenaBase.php on line 570
Call Stack
#    Time    Memory    Function    Location
1    0.0000    362752    {main}( )    ...\index.php:0
2 etc.

How can I get rid of this ugly error on the user Help-page (of Kunena Forum J5-extension on my site)?

Regards,
sthop
Windows11, Apache 2.4.54 (Win64), MariaDB 10.10.2, PHP 8.2.0, mod_fcgid 2.3.10-dev 

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

More
2 years 5 months ago #229793 by Leen
Is your error reporting in Joomla set to maxium and debug turned on?
and or also in Kunena debug?
I can't recreate this on my own jm5 sites

With kind regards
Leen
The following user(s) said Thank You: sthop

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

More
2 years 5 months ago #229801 by rich
This error is displayed when the error reporting is set to maximum. These error messages are information for developers. Reset the error reporting to System Default and the error message will be hidden.

Important! Always create a backup before you make any changes to your website!
The following user(s) said Thank You: sthop

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

More
2 years 5 months ago #229804 by sthop
Hello rich and Leen,
Switching off either Kunena Debug Mode and/or Joomla Debug Mode, did not make the error-text on the Help-page go away. 
But I found another location with Debug-function: php.ini.
In my Wampserver I use PHP v.8.2.0. with the zend_extension Xdebug implemented.
Here, I changed xdebug.mode=develop to xdebug.mode=off.
This did the trick: no nasty large orange/yellow warning in the Kunena Help webpage anymore.

Now, with Xdebug set to off, I do not know if I will miss out on future bugs.

Thanks for looking into my problem.
Regards, sthop

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

More
2 years 5 months ago #229805 by Leen
Yes, I have had that turned off on my wamp for a while now, so that may be correct glad you found it

With kind regards
Leen

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

More
2 years 5 months ago #229806 by sthop
Hello again,
I do not get the colourful, long warning generated by Xdebug, but I do still get the first 2 sentences in the Forum Help-webpage:
"Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$body is deprecated in ...\joomla4\libraries\kunena\src\Layout\KunenaBase.php on line 570"

Even with Kunena Debug Mode = No and with Joomla System Debug = No
I switched off both the Debug functions at:
Joomla 5 at:
Admin dashboard | Global Configuration | System-tab: System Debug = No .
Kunena extension in Joomla 5 at:
Admin dashboard | Components | Kunena Forum | Configuration: Enable Debug Mode = No .

Is there any other place in the dashboard, where I can switch off debugging, or any other background service?
Regards, sthop

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

Time to create page: 0.240 seconds