Open 810 opened 8 years ago
This setError()
method seems to come from JObject, then the JObject class is deprecated too
There is no class to replace it. JObject is a historic class which isn't really needed anymore with current PHP versions.
The error handling should instead be done using exceptions.
I had understood that, the JObject class will be removed in Joomla! 4.0 and some Kunena classes extend JObject so i'am afraid that it will will cause some issues into Kunena. For now we will have a bit of time before Joomla! 4.0 will be released
i have changed the milestone to 5.1.
there are 5 files that is using the object now
I will start by removing setError()
calls then i will look to remove usage of JObect
This one isn't finished, i had done a part but no all.
Currently status: 391 deprecations
Inspection report: https://www.kunena.org/logs/deprecated/index.html
Currently status: 436 deprecations
Currently status: 408 deprecations on J3.8 B1
Currently status: 129 deprecations on J3.8 rc2
255 deprecations on J3.8.1
j4 690 weak warnings
Currently status: 679 deprecations on Kunena 6.0.0-BETA3-DEV-GIT
Currently status: 382 deprecations on Kunena 6.0.0-BETA4-DEV-GIT
Currently status: 385 deprecations on Kunena 6.0.0-BETA4-DEV-GIT
Currently status: 405 deprecations on Kunena 6.0.0-RC1-DEV-GIT
Steps to reproduce the issue
$this->setError(.. libraries\kunena\forum\message\message.php
Expected result
Actual result
System information (as much as possible)
Joomla version: Kunena version: Php version: Database version:
Additional comments