Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2019-12-04 04:21:37

Pixelmover
Member
From: Wiesbaden, Germany
Registered: 2017-02-14
Posts: 41
Website

New php version 7.3 causes error message

My provider only supports PHP version 7.1 until mid January 2020.
It is recommended to switch to PHP version 7.3 or 7.4.
I tested both versions with my website.

When using PHP version 7.3, I get an error message when calling the different galleries:
Something went wrong
count(): Parameter must be an array or an object that implements Countable in SimpleHTMLTag.php on line 44

When using PHP version 7.4, I already get the error message when calling the website:
Something went wrong
join(): Passing glue string after array is deprecated. Swap the parameters in URLHelper.php on line 110

Currently I am using PHP version 7.3. and Backlight Version v1.2.3

What do I have to do to fix the problem?
It would be nice if someone could help me.
Thank you in advance
Rainer

https://rainerhassmann.de

Offline

#2 2019-12-04 04:53:13

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 16,968
Website

Re: New php version 7.3 causes error message

see: http://community.theturninggate.net/vie … 871#p60871

I think you need to download the last available version of Backlight 1.2.3 and upload the file Ben indicates.

I wouldn't recommend upgrading to php 7.4 yet

more here: http://community.theturninggate.net/vie … 574#p62574


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2 test site, Pangolin test site

Offline

#3 2019-12-04 06:32:10

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,133

Re: New php version 7.3 causes error message

The second error is something I will need to fix for both BL1 and BL2 before they will work properly on PHP 7.4

Offline

#4 2019-12-04 08:11:27

Pixelmover
Member
From: Wiesbaden, Germany
Registered: 2017-02-14
Posts: 41
Website

Re: New php version 7.3 causes error message

Hi Rod, hi Ben.
Thank you for your answer.
As recommended I did the upgrade BL1.2.3 rel 4 and also exchanged the file Backlight/Framework/Helpers/SimpleHTMLTag.php.
Unfortunately this did not fix the problem. I also tried to copy the complete Helpers folder from BL1.2.3 rel 4. No success.
Would it be possible for Ben or Rod to solve the problem via ftp access?
I would send the access data by mail.
Thank you
Rainer

Offline

#5 2019-12-04 08:47:03

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 16,968
Website

Re: New php version 7.3 causes error message

did you go to your TTG account and download the last available version? I believe release 7 was the last one available.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2 test site, Pangolin test site

Offline

#6 2019-12-04 09:08:24

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,133

Re: New php version 7.3 causes error message

Hi Rainer, I'm not sure why that fix hasn't come through.  Can you send me FTP access so that I can look into it?

Offline

Board footer

Powered by FluxBB