Keyword

PHP 7 warning: Calendar has a deprecated constructor

  • jozsefke
  • jozsefke's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago - 8 years 7 months ago #152392 by jozsefke
I have just updated K2 to v2.7.0 with Joomla 3.5.0 and changed my PHP version to 7. After these modifications, I get the following warning above my K2 Tools module:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;
Calendar has a deprecated constructor in /public_html/modules/mod_k2_tools/includes/calendarClass.php on line 32
What can possibly cause this issue?
Last edit: 8 years 7 months ago by jozsefke.

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

More
8 years 7 months ago #152625 by JoomlaWorks
I have posted it as a bug to resolve here: github.com/getk2/k2/issues/293

Let's continue over there.

Bugs in general should be posted in our GitHub repo for K2 :)

Fotis / 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