- Posts: 26
COMMUNITY FORUM
Error message with PHP 7
- zamarza1
-
Topic Author
- Offline
- Junior Member
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
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- zamarza1
-
Topic Author
- Offline
- Junior Member
- Posts: 26
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
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Gerard Verheij
-
- Offline
- New Member
- Posts: 1
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
-
- Offline
- Platinum Member
- Posts: 15920
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.
- Carol Mattsson
-
- Offline
- New Member
- Posts: 7
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
-
- Offline
- Platinum Member
- Posts: 15920
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.
- Carol Mattsson
-
- Offline
- New Member
- Posts: 7
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
-
- Offline
- Platinum Member
- Posts: 15920
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.