Keyword

Deprecated in php7

  • George
  • George's Avatar Topic Author
  • Offline
  • New Member
More
8 years 3 weeks ago #152722 by George
Deprecated in php7 was created by George
Hi, I recently updates my php to 7 and I have an error message:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJw_allvideos has a deprecated constructor in ...\plugins\content\jw_allvideos\jw_allvideos.php on line 18

Is there any quick fix for that, or will I have to wait for the next update?
Thanks in advance.

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

More
8 years 3 weeks ago #152760 by Lefteris
Replied by Lefteris on topic Deprecated in php7
Hi,

You can set error reporting to none under global configuration to hide the error until the update is out.

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

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

More
8 years 1 week ago #153216 by baijianpeng
Replied by baijianpeng on topic Deprecated in php7
I met the same problem on Joomla 3.5 + PHP7 .

Please update this plugin.

Thank you.

www.joomlagate.com

Chinese Joomla! Users Portal

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 4 days ago #153503 by Krikor Boghossian
Replied by Krikor Boghossian on topic Deprecated in php7
All these issues will be resolved in the upcoming version of AllVideos.
Since this is a warning and it will not affect the extension's functionality, you can deactivate error reporting for the time being.

Furthermore you can check the dev version of AllVideos here: github.com/joomlaworks/allvideos

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

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

More
7 years 4 months ago - 7 years 4 months ago #159495 by Roman Lipatov
Replied by Roman Lipatov on topic Deprecated in php7

Krikor wrote: All these issues will be resolved in the upcoming version of AllVideos.
Since this is a warning and it will not affect the extension's functionality, you can deactivate error reporting for the time being.

Furthermore you can check the dev version of AllVideos here: github.com/joomlaworks/allvideos


I have already disabled error reporting, but it still displays...

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJw_allvideos has a deprecated constructor in /var/www/user/data/www/site.com/plugins/content/jw_allvideos/jw_allvideos.php on line 18
Last edit: 7 years 4 months ago by Roman Lipatov.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 4 months ago #159503 by Krikor Boghossian
Replied by Krikor Boghossian on topic Deprecated in php7
Hello,

Did you install the DEV version?

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