Kunena 6.3.5 released

The Kunena team has announce the arrival of Kunena 6.3.5 [K 6.3.5] 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 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

Question Warnings and Notics after upgrading to 1.0.10

More
15 years 4 months ago #1 by Dahoon
Hi,

I got some warnings and notices after upgrading to Version 1.0.10

PHP Version = 5.1.6 / MySQL Version 5.0.70

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /xxx/xxx/xxx/xxxxxx.de/httpdocs/components/com_kunena/kunena.php on line 247

Notice: Object of class jbCategory could not be converted to int in /xxx/xxx/xxx/xxxxxx.de/httpdocs/components/com_kunena/lib/kunena.permissions.php on line 73

Maybe someone has the same warnings and notices or someone has a quick solution.

Kind regards
Dahoon

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

More
15 years 4 months ago #2 by xillibit
Hello,

I have seen the same errors, but i haven't solutions. I report to the DEVs, thanks for you report.

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.

More
15 years 4 months ago #3 by lcascant
Hello,

I have more or less the same problem on line 247 and 946.

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /xxx/xxx/xxxx/xxxxx/httpdocs/components/com_kunena/kunena.php on line 247

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /xxx/xxx/xxxx/xxxxx/httpdocs/components/com_kunena/kunena.php on line 946

Thank you for your help!
Lorena

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

More
15 years 4 months ago #4 by RichRawlings
Warning: Call-time pass-by-reference has been deprecated in /xxxxx/xxxxx/xxx/xxx/xxx/xxxx/xxxx/il/components/com_kunena/kunena.php on line 247

Warning: Call-time pass-by-reference has been deprecated in /xxxxx/xxxxx/xxx/xxx/xxx/xxxx/xxxx/il/components/com_kunena/kunena.php on line 946

il.usmjparty.org
PHP : 5.2.8
MySQL : 5.0.67.d7-ourdelta-log

Thanks for any help with this!

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

More
15 years 4 months ago #5 by xillibit
Hello,

I have a way to fix it, in the file components/com_kunena/kunena.php at line 247 replace, but i think this solution work only on Php 5 :
Code:
$kunenaProfile->trigger('onStart', &$params);

by
Code:
$kunenaProfile->trigger('onStart', $params);

and line 1021 :
Code:
$kunenaProfile->trigger('onEnd', &$params);

by
Code:
$kunenaProfile->trigger('onEnd', $params);

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.

More
15 years 4 months ago #6 by rawkey
Fixed it for me !

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

More
15 years 4 months ago #7 by beat
xillibit wrote:

Hello,

I have a way to fix it, in the file components/com_kunena/kunena.php at line 247 replace, but i think this solution work only on Php 5 :

Code:
$kunenaProfile->trigger('onStart', &$params);

by
Code:
$kunenaProfile->trigger('onStart', $params);

and line 1021 :
Code:
$kunenaProfile->trigger('onEnd', &$params);

by
Code:
$kunenaProfile->trigger('onEnd', $params);



Yup, strange that we didn't see that notice...
That works for php4 and php5 too, as long as the called function has the & .

Beat B)
CB Team

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

More
15 years 4 months ago #8 by riswan13
i got this warning too

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

More
15 years 4 months ago #9 by alexdgreat
Hi,

I have the following problem with my Kunena installation.

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /www/xxxxxxxxx/www/root/components/com_kunena/kunena.php on line 247

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /www/xxxxxxxx/www/root/components/com_kunena/kunena.php on line 946

What should I do to solve this? Thank you in advance for your help.

xxxxx - is the name of my site.

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

More
15 years 4 months ago #10 by xillibit
There is a fix above

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.

Time to create page: 0.435 seconds