Home › Forums › Theme support › Yooco Theme PHP version
Tagged: php version, yooco
This topic contains 36 replies, has 2 voices, and was last updated by 7Theme Support 7 years, 8 months ago.
-
AuthorPosts
-
Hi all – my hosting company is discontinuing support for php 5.5 and under.
Recently and without telling me they upgraded my php to V7 which broke my site completely. I got them to return it to 5.5 but they say that as of next month they will charge to support this.
I’ve run a test and my purchased theme Yooco does not support any modern php version. I’ve spent ages trying to get the site the way I want it and dont really want to have to go out and buy another theme then start all over.
Is Yooco being updated to support the current version of php?
Thanks
Colin
Hi Colin,
are you sure there is a problem with the theme, and not with plugins? Because we know that many of our clients use this theme already with PHP7. Do you know what exactly was the problem? Error message?
Hi and thanks for the quick reply.
I can’t remember the error, it was a while back now.
However today I have installed and run Theme check and a php check and they both state yooco is incompatible with php 7, listing lots of errors and warnings
Theme check plugin criticize all and everything, you can try it with every premium theme, there are always hundrets of warnings.
We checked the theme right now and there are “warnings” because the theme offers things like post types, shortcodes and other features, but that’s never a problem with the PHP version or PHP functions.
We tested the theme again on a server with PHP7 and on our end it was running without any problem.
Have you installed plugins? Trust me, over 90% of all problems are caused by plugins, the first thing I would check are always the plugins…
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
How do I upload a screenshot to here which shows the menu errors when I change to php 7.0?
Seems to be an error in line 192 of functions.php in the yooco theme
It also seems to break the mouseover situation I gothelp with beforehand and now I cannot open sub-menus
the site is at http://www.colincook.co.uk
I have to head out to a meeting so will leave php7.0 running whilst I am out so you can see what I mean, then I’ll change it back later till we have some solution to try.
Also I get a menu error for a plug in though that plug in works perfectly with other themes on php 7.0 just not with yooco. I’ve disabled that plugin for now
That theme is Posts Viewed Recently
Thanks again
Colin
Apologies for yet another post – I noticed that the error above also shows up in my WP-Admin panel so I am able to copy/paste it from there rather than use a screenshot.
Warning: Declaration of Menu_With_Description::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /homepages/3/d638946344/htdocs/wp-content/themes/yooco/functions.php on line 192
Warning: Declaration of Menu_With_Description::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /homepages/3/d638946344/htdocs/wp-content/themes/yooco/functions.php on line 192
Warning: Cannot modify header information – headers already sent by (output started at /homepages/3/d638946344/htdocs/wp-content/themes/yooco/functions.php:192) in /homepages/3/d638946344/htdocs/wp-admin/post.php on line 197
Warning: Cannot modify header information – headers already sent by (output started at /homepages/3/d638946344/htdocs/wp-content/themes/yooco/functions.php:192) in /homepages/3/d638946344/htdocs/wp-includes/pluggable.php on line 1179
Hi,
thank you for the error message, now we can start to search for the problems. Most of them are warnings, means it is not really a problem, normally such kind of information / warnings are disabled by server settings, especially on working websites, because those error messages can cause other problems. For example this one:
“Warning: Cannot modify header information – headers already sent by …”
This message is only because of the first error message, would the server don’t output the warning above, it would working without any problem. That’s why on our server it’s working and we don’t see the error messages.
Give us some hours to fix all warnings, then we can upload the update.
You guys are awesome – thank you!
Update is available, new version is 1.08
Brilliant, thanks – how do I update?
My wordpress control panel isnt showing any update available
Thanks again
You can upload the updated theme with FTP client and overwrite all existing files.
Yes but where can I get the updated theme from?
It is no longer in my downloads here – it says that it is removed. I bought it as part of the megapack with updates etc though I have never received any updates and am still on Version 1.05
With other themes they update from within the WP-admin control panel
When I try to download the Yooco theme from my downloads I get redirected to Dropbox with the error:
That file isn’t here anymore
Someone might’ve deleted the file or disabled the link. -
AuthorPosts
You must be logged in to reply to this topic.