Keyword

Error message with PHP 7

  • zamarza1
  • zamarza1's Avatar Topic Author
  • Offline
  • Junior Member
More
7 years 7 months ago #157344 by zamarza1
Error message with PHP 7 was created by zamarza1
Hello,

Our website is running with Joomla 3.6.2 and All_video 4.7.0.
We have an error message when running the website under PHP 7.

"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 /home/clients/54b8632e1b11a63f77e1a4c4b4836fb6/web/cms/plugins/content/jw_allvideos/jw_allvideos.php on line 18"

We have set display error to none in Joomla configuration but the message is still displayed.

Do you have a solution for the problem?
Thanks in advance for your help

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 7 months ago #157353 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error message with PHP 7
Hello,
Can you try the latest DEV version?
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.

  • zamarza1
  • zamarza1's Avatar Topic Author
  • Offline
  • Junior Member
More
7 years 7 months ago #157356 by zamarza1
Replied by zamarza1 on topic Error message with PHP 7
It works perfectly. No more error.

Even it is not the final version, I keep it.

Thanks a lot

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 7 months ago #157387 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error message with PHP 7
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.

More
7 years 6 months ago #158021 by Gerard Verheij
Replied by Gerard Verheij on topic Error message with PHP 7
HI, I would like to upgrade my sites to PHP 7.0 but it seems that the JoomlaWorks plugins Allvideos and Simple Image Gallery cause "deprecated" errors when I try to do that.

When I upgrade to Allvideo's v4.8.0 (the dev-release from github), it is solved.
But Simple Image Gallery (v3.0.1) keeps causing the deprecated errors:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJw_sig has a deprecated constructor in <domain-name>/plugins/content/jw_sig/jw_sig.php on line 18

When do you plan to fix this PHP 7 deprecated errors in Simple Image Gallery?

Thanks for your respons, Gerard Verheij

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #158063 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error message with PHP 7
Hello Gerard,
WE are looking into the issue.

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 #159710 by Carol Mattsson
Replied by Carol Mattsson on topic Error message with PHP 7
Hi Krikor,

I have this same issue, with Joomla 3.6.4: Deprecated warning messages if I set the PHP version to 7.0. I have AllVideos 4.7.0. I'd like to try that "latest DEV version" but I tried to download it from github via the link given but the download just hangs. I'm new to github, can you help me to figure out what I'm doing wrong?

On this page: github.com/joomlaworks/allvideos, I'm on the master branch, "code" tab. There's a green button "clone or download" I click that to see two choices: Open in Desktop (which I don't have) and "Download ZIP." I tried that download a few times but it hangs each time. Is this the zip I'd present to Joomla's install by upload? Any suggestions?

Thanks in Advance,
Carol Mattsson

Krikor wrote:
Can you try the latest DEV version?
github.com/joomlaworks/allvideos/

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 #159715 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error message with PHP 7
Hello,

I just tested the zip file, it is working fine. It must have been a temp hiccup.

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 3 months ago #159952 by Carol Mattsson
Replied by Carol Mattsson on topic Error message with PHP 7
Hi Krikor,

Thanks a bunch for your quick reply. Indeed the next morning I could download the zip file OK as you said.

However I also learned that the PHP errors aren't repeated for subsequent views of the same page. I don't understand why, but this seems to be pattern after I update a Joomla site to PHP 7: I see the warnings about use of deprecated constructors on whatever page of the website I next view, but then never again, not even on another computer.

So I decided not to update AllVideos until I see an officially packaged update at JoomlaWorks.net.

Thanks again for your help Krikor.

--Carol

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 #159967 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error message with PHP 7
You 're welcome Carol,

I see the warnings about use of deprecated constructors on whatever page of the website I next view, but then never again, not even on another computer.


This could be a caching issue. Unrelated to PHP 7.
Finally I would suggest that you use the DEV version until 4.8 Stable is released.

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