Keyword

PHP 7.2?

  • Alan Quirt
  • Alan Quirt's Avatar Topic Author
  • Offline
  • New Member
More
5 years 3 months ago #170455 by Alan Quirt
PHP 7.2? was created by Alan Quirt
Do Allvideos and the other extensions work with PHP 7.2? We currently have 7.0 but plan to upgrade soon.

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

More
5 years 3 months ago #170472 by JoomlaWorks
Replied by JoomlaWorks on topic PHP 7.2?
Short answer: yes.

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

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

  • Δημήτρης Αθηναίος
  • Δημήτρης Αθηναίος's Avatar
  • Offline
  • New Member
More
5 years 1 month ago #171309 by Δημήτρης Αθηναίος
Replied by Δημήτρης Αθηναίος on topic PHP 7.2?
No it is not working (latest plugin)
"Error: Call to undefined method Error::get(): Using $this when not in object context"

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

More
5 years 1 month ago #171310 by JoomlaWorks
Replied by JoomlaWorks on topic PHP 7.2?
Which line and file exactly?

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

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

  • Δημήτρης Αθηναίος
  • Δημήτρης Αθηναίος's Avatar
  • Offline
  • New Member
More
5 years 1 month ago - 5 years 1 month ago #171314 by Δημήτρης Αθηναίος
Replied by Δημήτρης Αθηναίος on topic PHP 7.2?
That is the message i get in a blank page in my browser (which goes away and shows my article with no errors if i switch back to php 5.6)

The error showed on this page (php 5.6). Blank page if i use php 7.2, while pages that are not rendering your pluging works ok.

www.authorway.com/enathinais/athina/241-ti-ine-to-lavrio
Last edit: 5 years 1 month ago by Δημήτρης Αθηναίος.

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

  • Δημήτρης Αθηναίος
  • Δημήτρης Αθηναίος's Avatar
  • Offline
  • New Member
More
5 years 1 month ago #171316 by Δημήτρης Αθηναίος
Replied by Δημήτρης Αθηναίος on topic PHP 7.2?
Here i found a solution for my theme, that doesnt seem to work for allvideos

www.smartaddons.com/tags/errors-solutions-when-upgrading-sj-templates-to-use-php-7x


6. JW All Videos
Error:

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
Solution:

Go to: /plugins/content/jw_allvideos/jw_allvideos.php

Find: function plgContentJw_allvideos

Replace by: function __construct

Please follow our tips to fix the issues while updating SmartAddons Joomla Templates with PHP 7.x. We will update our products with PHP 7.x and inform you when the work done.

Thanks for reading!

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

More
5 years 1 month ago #171318 by JoomlaWorks
Replied by JoomlaWorks on topic PHP 7.2?
So the version in your template doesn't work with PHP because it's very old. That article dates back in 2017. We're now in 2019 and we've updated AllVideos ages ago.

github.com/joomlaworks/allvideos/blob/master/plugin/jw_allvideos.php

Just grab the latest release and don't use what came with your template.

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