RoRo74
August 21, 2021, 8:25am
1
hey folks!
hope your all ok with covid.
Got this error at top of my website…looks like I need to out brackets somewhere…? cant find where tho? any tips?
cheers! ro
Deprecated : Unparenthesized a ? b : c ? d : e
is deprecated. Use either (a ? b : c) ? d : e
or a ? b : (c ? d : e)
in /home/wildincu/public_html/wp-content/themes/shapely/inc/extras.php on line 442
Hi
I don’t think its a brackets problem, what is the version of PHP on your server?
RoRo74
August 23, 2021, 9:46pm
3
Hello! cheers for reply!
I recently updated it to 7.4…and the error happened soon aftr!
mayb i revert back?
Hi there
I just filed a bug report on this problem: Deprecated message php 7.4 · Issue #325 · ColorlibHQ/shapely · GitHub
Since this is a deprecation notice you may keep that version, it will be fixed soon in the upcoming theme release
RoRo74
August 24, 2021, 9:44am
5
ah thanks. do i just carry on & update when next shapely release comes out? can i ask when that is?
RoRo74
August 25, 2021, 12:48am
7
ok…thanks!
i see this post is closed tho…
Do you have any help in regard to doing this? Im unsure how to clone etc. does it affect my site or it will take care of itself with upgrades?
cheers
ro
RoRo74
August 25, 2021, 10:05am
9
thanks!
ok - so ive downloaded it…is there more info on how to clone it?
thanks!
Just upload it in the Wordpress theme, just like you are installing Wordpress theme, this version contains many bug fixes
RoRo74
August 26, 2021, 10:40am
11
AH THANKS. You mean here?
Hi
Yep, that’s it,
Keep in mind creating the backup is always a nice thing
RoRo74
August 27, 2021, 11:54am
13
hello! thanks…
yes - i back up my websites often…with ‘all in one WP migration’ and through my host provider.
i downloaded the update…looks the same as the updated shapely already tho? oits just the same isnt it? see pic. thanks!
Hi
Replace with the current upload, it contains fixes for many problems
RoRo74
August 30, 2021, 9:55am
15
thanks!
Looks like the Unparenthesized error has gone!
thanks