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
Solved Cannot use object of type stdClass as array
2 years 1 month ago - 2 years 1 month ago #231095
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Cannot use object of type stdClass as array
Hello,
I think there is a change in K6.2.5 which has made a regression. You can reinstall Kunena 6.2.4 or apply the following change in K6.2.5 in \libraries\kunena\src\Config\KunenaConfig.php at line 1720 just after : $this->check();
Add that part :
github.com/Kunena/Kunena-Forum/commit/d7...18796f0f2422aa2398ed
Which plugins do-you have enabled in your Joomla! installation which are not the default ones ?
I think there is a change in K6.2.5 which has made a regression. You can reinstall Kunena 6.2.4 or apply the following change in K6.2.5 in \libraries\kunena\src\Config\KunenaConfig.php at line 1720 just after : $this->check();
Add that part :
github.com/Kunena/Kunena-Forum/commit/d7...18796f0f2422aa2398ed
Which plugins do-you have enabled in your Joomla! installation which are not the default ones ?
I don't provide support by PM, because this can be useful for someone else.
Last edit: 2 years 1 month ago by xillibit.
Please Log in or Create an account to join the conversation.
2 years 1 month ago - 2 years 1 month ago #231096
by AlexRag
Replied by AlexRag on topic Cannot use object of type stdClass as array
Where can I get a hold of Kunena 6.24? The download page only seems to have 6.25.
[UPDATE: Ignore. I found the older versions in link at the bottom of the page)]
[UPDATE: Ignore. I found the older versions in link at the bottom of the page)]
Last edit: 2 years 1 month ago by AlexRag.
Please Log in or Create an account to join the conversation.
2 years 1 month ago #231100
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Cannot use object of type stdClass as array
Hello,
To test with Kunena 6.2.5, do-you have a test site like that i can make some test ?
To test with Kunena 6.2.5, do-you have a test site like that i can make some test ?
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
2 years 1 month ago #231102
by Gindi
Replied by Gindi on topic Cannot use object of type stdClass as array
If I compare this code with Kunena 6.2.4, two square brackets are missing at $plugins = [];
Add:
Code:
PluginHelper::importPlugin('kunena');$plugins = ;Factory::getApplication()->triggerEvent('onKunenaGetConfiguration', );$this->plugins = ; foreach ($plugins as $name => $registry) {if ($name == '38432UR24T5bBO6') {$this->bind($registry->toArray());} elseif ($name && $registry instanceof Registry) {$this->plugins[$name] = $registry;}}
gindi
Add:
Code:
PluginHelper::importPlugin('kunena');$plugins = ;Factory::getApplication()->triggerEvent('onKunenaGetConfiguration', );$this->plugins = ; foreach ($plugins as $name => $registry) {if ($name == '38432UR24T5bBO6') {$this->bind($registry->toArray());} elseif ($name && $registry instanceof Registry) {$this->plugins[$name] = $registry;}}
gindi
The following user(s) said Thank You: xillibit
Please Log in or Create an account to join the conversation.
2 years 1 month ago - 2 years 1 month ago #231104
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Cannot use object of type stdClass as array
Yes it has been removed by the code tag, the correct code to use is the part removed here :
github.com/Kunena/Kunena-Forum/commit/d7...18796f0f2422aa2398ed
I don't provide support by PM, because this can be useful for someone else.
Last edit: 2 years 1 month ago by xillibit.
Please Log in or Create an account to join the conversation.
2 years 1 month ago #231116
by AlexRag
Replied by AlexRag on topic Cannot use object of type stdClass as array
Will this fix appear in subsequent releases?
Please Log in or Create an account to join the conversation.
Time to create page: 0.393 seconds