Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

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

Pixelmover
Member
From: Wiesbaden, Germany
Registered: 2017-02-14
Posts: 46
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


Pixelmover Rainer
Learn for a lifetime

Offline

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

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
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/3 test site

Offline

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

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

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


Pixelmover Rainer
Learn for a lifetime

Offline

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

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
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/3 test site

Offline

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

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

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

#7 2019-12-09 08:58:21

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

Re: New php version 7.3 causes error message

Hi Rod, hi Ben.
sorry for the delay in reply.

rod barbee wrote:

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

My mistake was that I had updated with the relaese 4.
The tip solved the problem.
Thank you and I wish you all a merry christmas.

Rainer


Pixelmover Rainer
Learn for a lifetime

Offline

#8 2020-06-06 05:37:42

gommit
Member
From: South Africa
Registered: 2015-06-29
Posts: 7
Website

Re: New php version 7.3 causes error message

Thanks to you guys for the solution to that topic. Worked for me as well.
I downloaded Backlight 1.2.4 which did the fix.

Offline

Board footer

Powered by FluxBB