- Posts: 803
- Thank you received: 128
Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.
Solved Deprecated messages with Joomla 5.0.0
3 years 1 month ago #229751
by Gindi
Deprecated messages with Joomla 5.0.0 was created by Gindi
When I enable the call stack to test Joomla 5.0.0, I get the following on the user page in the forum for categories:
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$url is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$target is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$internal is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
For Current Topics, this is what is displayed for each topic:
Deprecated: Creation of dynamic property Kunena\Forum\Site\Layout\Widget\WidgetLabel::$ktemplate is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Under Current Topics, is displayed about members:
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$usersUrl is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$membersOnline is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$onlineList is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$hiddenList is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
In der KunenaBase.php geht es um folgenden Bereich:
* Modifies a property of the object, creating it if it does not already exist.
*
* @param string $key The name of the property.
* @param mixed $value The value of the property to set.
*
* @return \Kunena\Forum\Libraries\Layout\KunenaBase
*
* @since Kunena 6.0
*/
public function set($key, $value)
{
$isFactory = \is_object($value) && method_exists($value, '__invoke');
if ($isFactory) {
$this->closures[$key] = $value;
} else {
$this->{$key} = $value;
}
return $this;
}
Zeile 570 ist fett markiert.
Gindi
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$url is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$target is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$internal is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
For Current Topics, this is what is displayed for each topic:
Deprecated: Creation of dynamic property Kunena\Forum\Site\Layout\Widget\WidgetLabel::$ktemplate is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Under Current Topics, is displayed about members:
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$usersUrl is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$membersOnline is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$onlineList is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Layout\KunenaLayout::$hiddenList is deprecated in /srv/www/htdocs/BFB500/libraries/kunena/src/Layout/KunenaBase.php on line 570
In der KunenaBase.php geht es um folgenden Bereich:
* Modifies a property of the object, creating it if it does not already exist.
*
* @param string $key The name of the property.
* @param mixed $value The value of the property to set.
*
* @return \Kunena\Forum\Libraries\Layout\KunenaBase
*
* @since Kunena 6.0
*/
public function set($key, $value)
{
$isFactory = \is_object($value) && method_exists($value, '__invoke');
if ($isFactory) {
$this->closures[$key] = $value;
} else {
$this->{$key} = $value;
}
return $this;
}
Zeile 570 ist fett markiert.
Gindi
The following user(s) said Thank You: rich
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12299
- Thank you received: 2545
3 years 4 weeks ago #229752
by rich
Important! Always create a backup before you make any changes to your website!
Replied by rich on topic Deprecated messages with Joomla 5.0.0
Thanks for reporting. This bug occurs with PHP 8.2 and is already fixed in Kunena 6.2.1-DEV
github.com/Kunena/Kunena-Forum/pull/9570
github.com/Kunena/Kunena-Forum/pull/9570
Important! Always create a backup before you make any changes to your website!
The following user(s) said Thank You: Gindi
Please Log in or Create an account to join the conversation.
3 years 4 weeks ago #229753
by Gindi
Replied by Gindi on topic Deprecated messages with Joomla 5.0.0
I installed the modified KunenaLayout.php from "Fix: deprecated layout variables messages (#9570)" on my test server and there are no more deprecated messages.
Thanks to xillibit.
Gindi
Thanks to xillibit.
Gindi
Please Log in or Create an account to join the conversation.
Time to create page: 0.111 seconds