Home Forums Theme support Yooco Theme PHP version Reply To: Yooco Theme PHP version

Thanks for the quick responses – sorry for my late reply, I’ve been trying to do some testing

According to PHP Compatibility all of my plugins are compatible with php7.0. The errors and warnings given for Yooco

Are as follows:

FILE: /homepages/3/d638946344/htdocs/wp-content/themes/yooco/7league/ajax.php
————————————————————————————————————-
FOUND 2 ERRORS AFFECTING 1 LINE
————————————————————————————————————-
15 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
15 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
————————————————————————————————————-

FILE: /homepages/3/d638946344/htdocs/wp-content/themes/yooco/7league/posttype-portfolio.php
———————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————-
832 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
———————————————————————————————-

FILE: /homepages/3/d638946344/htdocs/wp-content/themes/yooco/7league/widgets.php
———————————————————————————————–
FOUND 0 ERRORS AND 18 WARNINGS AFFECTING 18 LINES
———————————————————————————————–
17 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
126 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
208 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
268 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
347 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
411 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
470 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
526 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
580 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
632 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
676 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
720 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
767 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
855 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
944 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
1030 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
1078 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
1128 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
———————————————————————————————–

FILE: /homepages/3/d638946344/htdocs/wp-content/themes/yooco/page-contact.php
————————————————————————————————————-
FOUND 2 ERRORS AFFECTING 1 LINE
————————————————————————————————————-
21 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
21 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
————————————————————————————————————-

According to theme check there are way more errors but I just want to decide on the best way to move forward?

Thanks again for your help