Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

JLoader Strict Standard 07 Dec 2016 19:13 #14828

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Hi Admin,

If I set the Joomla!3.6.4 Error Reporting as 'Developpement', I get this message when i run my component :
Strict standards: Declaration of JbreedingClassLoader::registerAlias() should be compatible with JLoader::registerAlias($alias, $original, $version = false) in /var/www/html/joomla360/administrator/components/com_jbreeding/classes/loader.php on line 0
For the moment, it's not a php fatal error, but I am a Joomla!3.7-dev beta tester, and this error clearly failed as Fatal Error with this version.

I guess it comes from the missmatch parameters sent, 'not compatible' it says ;p
is it possible to have a look about that...

thx

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

Last edit: by liubov.

JLoader Strict Standard 07 Dec 2016 19:21 #14829

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Strange.
For me this is fixed since Joomla 3.6.4 has been released.
I remember that the declaration changed in the JLoader class.

check the file
classes/loader.php

For me, I have :
public static function registerAlias($alias, $original, $version = false)
Which seems to be correct.

And you ?
Coding is now a piece of cake
The following user(s) said Thank You: liubov

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

JLoader Strict Standard 07 Dec 2016 19:34 #14830

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
public static function registerAlias($alias, $original)

Ok, it's my fault, I didn't updated the classes/loader.php. Because I have now many many custom code, I have to follow the Jcook-sources and update files manualy ...

Very sorry !

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

Last edit: by liubov.

JLoader Strict Standard 07 Dec 2016 19:39 #14831

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
No php error with the good file :)
work fine now !

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

JLoader Strict Standard 07 Dec 2016 20:02 #14832

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fine.
Coding is now a piece of cake

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

  • Page:
  • 1
Time to create page: 0.064 seconds

Hi first of all I'd like to say that J-Cook is a great tool - the best component builder I tried so far...
Rymedia - Jonas 

Get Started