• Resolved dreamstone

    (@dreamstone)


    Tried to update Virtue theme (up to 2.5.4.) and it seemes update was succesfull. But when I navigating to site to any page from main I get an error /wp-content/themes/virtue/functions.php on line 10

    Fatal error: require_once(): Failed opening required ” (include_path=’.:/usr/local/php55/lib/php’)

    Line 10 in functions.php is

    require_once locate_template(‘/themeoptions/framework.php’); // Options framework

    How can it be fixed?

Viewing 15 replies - 16 through 30 (of 35 total)
  • Thanks… with my limited skills, I found that the problem likely rests with files / folders missing from the “themeoptions” directory. I was able to simply copy the “themeoptions” folder to my installation and get back online. Didn’t lose my custom CSS, etc. either.

    Maybe this will help someone a little ??

    CORRECTION: I may have spoken too soon… it does appear that simply uploading the themeoptions folder left some things undone… I guess I had better replace the whole virtue theme directory and move on. (grumble grumble)

    www.ads-software.com has 2.5.4
    The Kadence website has 2.5.2

    I downloaded both and extracted to my harddrive

    I named the folders virtue-2.5.2 and virtue-2.5.4 respectively.

    I uploaded both to my wordpress install.

    Renamed virtue-2.5.2 to virtue – everything worked and I had the notice to update the theme to 2.5.4. I didn’t do the auto-update.

    I then renamed the virtue folder (w/2.5.2 back to virtue-2.5.2) and changed the folder virtue-2.5.4 to virtue. Everything worked and the update message is gone.

    I am unsure what would have happened if I simply uploaded 2.5.4 and avoided the extra step.

    All customizations are in place and working. Hope that helps someone.

    My theme updated on it’s own this morning on it’s own. Leaving me with the same issue as everyone else. I deleted Virtue from my hosting account and was able to log into my site. I then attempted to reinstall virtue and had the problem again. It seems that the functions.php file in the new updated version is corrupted in some way.

    Reinstalled the previous version of Virtue from a backup and all is well again.

    @k2kla, I think the problem is that the functions file is calling for other files that are missing in the update package. Glad you were able to restore your site via a backup.

    Hopefully, our friends at Kadence will fix the issue soon. In my past dealings with them, they are good to work with.

    CAn someone help me out. I read all the comment and found that everyone resolve their problem.

    so for I have deleted the virtue theme however I’m not too sure how to upload the older version, I download from the link lwsrbrts shared.

    Thanks in advance guys

    Thread Starter dreamstone

    (@dreamstone)

    I think the best way for non skilled users is restore last backup and wait for developer’s answer.

    Figured it out!!!! “sign”

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    One of the servers here on www.ads-software.com had a bad copy of the 2.5.4 version of this theme. If you updated to that version and happened to get the bad ZIP from that server, you will have gotten this error.

    This server has been corrected and all servers have been double checked. The theme is now correct and complete on all of them.

    You can fix your site by downloading this theme directly and uploading it to your server.

    Our apologies for the server error.

    Hey Everyone,
    As otto said this www.ads-software.com file issue should be fixed now. And if anyone needs help removing and reinstalling the theme let us know.

    Usually you can login to your cpanel on your hosts site and find the “web file manager”

    From there you can navigate to the wp-content/themes folder and remove the “virtue” folder that would get your site back up and running. Next login to your wordpress site and navigate to themes. There you can click add new and reinstall virtue.

    Since the theme options and customizations are saved in your database those will all still be there.

    Hope that helps,

    Kadence Themes

    Thread Starter dreamstone

    (@dreamstone)

    It worked for me as wrote Kadence Themes and it working now with my other sites as wrote Samuel Wood (Otto). Thank you to Everyone who was helping here!

    I’ve just had this same issue again (see post 5 in this thread) trying to update from 2.5.6 to 2.5.7. Is there another issue with www.ads-software.com’s version of the update files?

    I just tested and didn’t get this issue. Could be that your getting a different file.

    @otto42 – Could you check for a bad zip? Thanks

    Could also be an issue on your site. When you click on media > add new. What is your max upload size? in the bottom left.

    Do you know your max memory setting in your php?

    Kadence Themes

    My max upload size is 2MB and memory_limit is 128MB.

    I just tried to update again. This was the error message in WP:

    Enabling Maintenance mode…
    Updating Theme Virtue (1/1)
    Downloading update from https://downloads.www.ads-software.com/theme/virtue.2.5.7.zip…
    Unpacking the update…
    Installing the latest version…
    Removing the old version of the theme…
    Theme update failed.
    <p>An error occurred while updating Virtue: Could not remove the old theme.
    Disabling Maintenance mode…

    I have done the update on another server with the same memory limits without any problems.

    PS – this is on a local testing server using WAMPserver if that makes any difference. All other themes I’m testing update without any problems.

    ok,
    max upload size of 2mb is really really small.

    But are you using a child theme? “Could not remove the old theme” can be a permissions thing if you have a child theme installed. What you would need to do is activate the parent theme then update then activate the child theme.

    Kadence Themes

    I’m not using a child theme.

    I’ve increased the max upload size to 64MB.

    Just tried updating again and I still get the same error.

Viewing 15 replies - 16 through 30 (of 35 total)
  • The topic ‘Update Issue’ is closed to new replies.