Keyword

plgK2Userextendedfields has a deprecated constructor

  • Circolo fotografico Estate 1826
  • Circolo fotografico Estate 1826's Avatar Topic Author
  • Offline
  • New Member
More
7 years 3 months ago #162357 by Circolo fotografico Estate 1826
plgK2Userextendedfields has a deprecated constructor was created by Circolo fotografico Estate 1826
Dear all,

I can't find a solution for this message: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgK2Userextendedfields has a deprecated constructor in /web/htdocs/www.
.it/home/plugins/k2/userExtendedFields/userExtendedFields.php on line 16.

After upgrading to PHP7 this message apeared. I tried installing the lasted version 3.0 but it does not seem to change anything. I've also tried to change userExtendedFields.php but then I get the site not working anymore.

Could you help me out on what to replace in the code?

Best regards

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 months ago #162366 by Krikor Boghossian
Replied by Krikor Boghossian on topic plgK2Userextendedfields has a deprecated constructor
Hello,

Which version of K2 are you using?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Circolo fotografico Estate 1826
  • Circolo fotografico Estate 1826's Avatar Topic Author
  • Offline
  • New Member
More
7 years 3 months ago #162367 by Circolo fotografico Estate 1826
Replied by Circolo fotografico Estate 1826 on topic plgK2Userextendedfields has a deprecated constructor
I'm using the k2 version 2.8.0

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 months ago #162372 by Krikor Boghossian
Replied by Krikor Boghossian on topic plgK2Userextendedfields has a deprecated constructor
It has been fixed in the repository
github.com/getk2/user-extended-fields-for-k2

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Circolo fotografico Estate 1826
  • Circolo fotografico Estate 1826's Avatar Topic Author
  • Offline
  • New Member
More
7 years 3 months ago #162381 by Circolo fotografico Estate 1826
Replied by Circolo fotografico Estate 1826 on topic plgK2Userextendedfields has a deprecated constructor
That did the trick.

Thanks for your fast support!

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 months ago #162386 by Krikor Boghossian
Replied by Krikor Boghossian on topic plgK2Userextendedfields has a deprecated constructor
You 're welcome :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum