Saints
asked 10 years ago

Hey there,
I am getting the following error on my website when updating from 1.0.7 to .1.0.8:
Warning: stat() [function.stat]: stat failed for … in /home/../public_html/wp-includes/class-wp-image-editor-gd.php on line 398
strangely enough, the problem should lay at the 1.0.8 style and not class-wp-image-editor-gd.php. Everything is fine when i downgrade back to 1.0.7.

4 Answers
DominicStaff
answered 10 years ago

Firstly, to update the theme, you should overwrite the theme folder via FTP. If you don’t want to lost all changes that you customized, before updating the latest version, please mark and copy all files that you edited, then implement to update the version 1.0.8.
After finishing, you add all codes that you customized in the old files to your theme.
Note:  you can find here for the document guide on how to upgrade the theme: http://premium.wpmudev.org/blog/how-to-upgrade-a-wordpress-theme-even-if-its-customized/
If you still face there issue, you can send me username & password of your site. (via private answer) for further checking.

Saints
replied 10 years ago

Hey Dominic,

I have been updating the style since 1.0.1 so im pretty sure that is not the problem.

Your account on my site is still active and changed the role back to administrator for you, so you can do what you need to do.

Style 1.0.7 is the current active style but 1.0.8 is already uploaded to the server.

Dominic Staff
replied 10 years ago

I can not find the username & password which you have send me anywhere. Please send me again.

DominicStaff
answered 10 years ago

I have checked your site and DW Focus version 1.0.8 still work fine. I have activated the version 1.0.8. Right now you can check your site. If you still face there issue, you can send me a screenshot for further checking.

Wilfred
answered 10 years ago

Hi Saints,
We resolved your issue, please check your site.

Saints
replied 10 years ago

Hey Wilfred,

Thx for the fix, i’m curious to find out what the actual problem was.

Can i expect this issue to re-occur in further updates?

Wilfred
answered 10 years ago

The issue is because the functions in simple-avatar.php file is not compatible with the new WordPress version.
To resolve this issue we removed code bellow in functions.php file – line 88.

require_once DW_TEMPLATE_PATH . 'inc/simple-avatar.php';

Of course,  this issue won’t be reoccurred in the next version.

Powered by DW Question & Answer Pro