Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Strict standards issue #652

Closed
810 opened this Issue · 10 comments

5 participants

Jelle Kok Matias Griese Florian DAL FITTO Sami Rouven Weßling
Jelle Kok
Owner
810 commented

Strict standards: Declaration of JParameter::loadSetupFile() should be compatible with that of JRegistry::loadSetupFile() in C:\wamp\www\j254\libraries\joomla\html\parameter.php on line 512
Strict standards: Declaration of TableKunenaTopics::hit() should be compatible with that of JTable::hit() in C:\wamp\www\j254\administrator\components\com_kunena\libraries\tables\kunenatopics.php on line 117
Strict standards: Non-static method KunenaForum::display() should not be called statically, assuming $this from incompatible context in C:\wamp\www\j254\components\com_kunena\views\user\view.html.php on line 203
Strict standards: Non-static method KunenaForum::display() should not be called statically, assuming $this from incompatible context in C:\wamp\www\j254\components\com_kunena\views\user\view.html.php on line 264
Strict standards: Non-static method KunenaForum::display() should not be called statically, assuming $this from incompatible context in C:\wamp\www\j254\components\com_kunena\views\user\view.html.php on line 248
Strict standards: Non-static method KunenaForum::display() should not be called statically, assuming $this from incompatible context in C:\wamp\www\j254\components\com_kunena\views\user\view.html.php on line 218
Strict standards: Non-static method KunenaForum::display() should not be called statically, assuming $this from incompatible context in C:\wamp\www\j254\components\com_kunena\views\user\view.html.php on line 188
Strict standards: Declaration of KunenaModelSearch::getError() should be compatible with that of JObject::getError() in C:\wamp\www\j254\components\com_kunena\models\search.php on line 294

Florian DAL FITTO xillibit referenced this issue from a commit in xillibit/Kunena-forum
Florian DAL FITTO xillibit #652 Strict standards issue 71ba390
Matias Griese
Owner

These are still in there:

Strict standards: Declaration of TableKunenaTopics::hit() should be compatible with that of JTable::hit() in C:\wamp\www\j254\administrator\components\com_kunena\libraries\tables\kunenatopics.php on line 117
Strict standards: Declaration of KunenaModelSearch::getError() should be compatible with that of JObject::getError() in C:\wamp\www\j254\components\com_kunena\models\search.php on line 294

Florian DAL FITTO
Owner

Because in parent class, there a parameter in the method but in Kunena we don't have this parameter but i don't want to add a parameter to a method will be useless.

Matias Griese
Owner

I'll take a look on these.

Matias Griese mahagr referenced this issue from a commit in mahagr/Kunena-Forum
Matias Griese mahagr Fix remaining strict standards issues in #652 17110fb
Matias Griese mahagr closed this
Sami

I can see these in com_kunena_v2.0.0-BETA2-DEV_2012-05-05.zip package at first in backend:

Strict Standards: Declaration of KunenaController::getInstance() should be compatible with that of JController::getInstance() in /home/xxxxxxxxx/public_html/xxxxxxxxx/administrator/components/com_kunena/libraries/controller.php on line 20

Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with that of JRegistry::loadSetupFile() in /home/xxxxxxxxx/public_html/xxxxxxxxx/libraries/joomla/html/parameter.php on line 512

Are these already fixed...?

Matias Griese
Owner

Should be, except that we cannot fix the second message unless we drop J1.5 support.

Sami

Is this also those kind of:

Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /home/xxxxxxxxx/public_html/xxxxxxxxx/components/com_kunena/views/user/view.html.php on line 142

Same tester package... J! 2.5.4 in frontend profile...

Rouven Weßling

That a 5.2 only error but still nice to fix.

Florian DAL FITTO
Owner

It's weird is_a() is deprecated in php 5.x but not since 5.3.x

Rouven Weßling

Correct, it was "undeprecated" in 5.3. Personally I still prefer instanceof and it doesn't spit out warnings in 5.2.

Florian DAL FITTO
Owner

@mahagr : i have this one too when i do a preview : Strict standards: Creating default object from empty value in C:\wamp\www\joomla_2.5.4\components\com_kunena\views\topic\view.raw.php on line 21

I don't know what you wanted do with this line 21 ?

Florian DAL FITTO xillibit referenced this issue from a commit in xillibit/Kunena-forum
Florian DAL FITTO xillibit #652 Strict standards issue (replace is_a() with instanceof ) dc948b2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.