Keyword

PHP 7.2?

  • Alan Quirt
  • Alan Quirt's Avatar Topic Author
  • Offline
  • New Member
More
4 months 3 weeks ago #170455 by Alan Quirt
Alan Quirt created the topic: PHP 7.2?
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.

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
4 months 2 weeks ago #170472 by Fotis
Fotis replied the topic: PHP 7.2?
Short answer: yes.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Δημήτρης Αθηναίος
  • Δημήτρης Αθηναίος's Avatar
  • Offline
  • New Member
More
2 months 1 day ago #171309 by Δημήτρης Αθηναίος
Δημήτρης Αθηναίος replied the 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.

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
2 months 1 day ago #171310 by Fotis
Fotis replied the topic: PHP 7.2?
Which line and file exactly?


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Δημήτρης Αθηναίος
  • Δημήτρης Αθηναίος's Avatar
  • Offline
  • New Member
More
2 months 1 day ago - 2 months 1 day ago #171314 by Δημήτρης Αθηναίος
Δημήτρης Αθηναίος replied the 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: 2 months 1 day ago by Δημήτρης Αθηναίος.

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

  • Δημήτρης Αθηναίος
  • Δημήτρης Αθηναίος's Avatar
  • Offline
  • New Member
More
2 months 1 day ago #171316 by Δημήτρης Αθηναίος
Δημήτρης Αθηναίος replied the 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.

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
2 months 21 hours ago #171318 by Fotis
Fotis replied the 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.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum