ColorlibHQ / illdy

Illdy is a free one page WordPress business theme with a minimal design
GNU General Public License v3.0
44 stars 38 forks source link

Not compatible to PHP 7.4 #315

Closed nodarik closed 3 years ago

nodarik commented 3 years ago

Deprecated : Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /home/yymes1skrffo/public_html/wp-content/themes/illdy/inc/components/entry-meta/class.mt-entry-meta.php on line 76

Deprecated : Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /home/yymes1skrffo/public_html/wp-content/themes/illdy/inc/components/entry-meta/class.mt-entry-meta.php on line 99

puikinsh commented 3 years ago

Isn't that for PHP8? Our demo sites run on PHP7.4 for overa a year without any issues.

anupzone commented 3 years ago

not for php8. I upgraded to php7.4 and got this error. for now i have commented those lines. but fix required in next release. also wordpress jquery version issue fix required. btw getting problem in $.browser.device

mahendrapratap4022 commented 3 years ago

Hi @anupzone I have tested it on PHP 7.4 and it is working totally fine could you please check again as we have released a major version 2.2.0 it might be resolved in that version.

anupzone commented 2 years ago

I can not see version 2.2.0. I updated theme and version was 2.1.9. And that problem is still there with php version 7.4.21. And there is major php version 8 released. So You should update code for php 8. And my wordpress version is 5.8.2.

Screenshot 2021-12-28 at 4 37 08 PM