WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Problem with upgrading to 3.5.1 (20 posts)

  1. thestealthyfox
    Member
    Posted 1 year ago #

    I've just tried to upgrade to the latest wordpress and have been presented with the following error.

    Fatal error: Call to undefined function get_taxonomies_for_attachments() in /websites/123reg/LinuxPackage22/re/ds/ho/redshoesnoknickers.com/public_html/wp-admin/menu.php on line 67

    Does anybody know what I need to do now? I'm afraid that if I manually update WordPress through the FTP that it will wipe my entire site.

    Any help welcomed!

    Thanks.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Try:
    - switching to the default theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    - running the upgrade manually via wp-admin/upgrade.php

  3. thestealthyfox
    Member
    Posted 1 year ago #

    Thanks Esmi.

    Should I copy any of the files to my mac from the FTP just in case?
    There's a lot of content on there and I don't want anything to happen to that.
    Would that be the wp-content folder?

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    99% of your site's content is stored in your database - not in any files. The remaining 1% will be uploaded media stored inside the wp-content folder. As long as you stay away from this folder, you should be fine.

  5. thestealthyfox
    Member
    Posted 1 year ago #

    I followed all of the above, however now I am getting the following:

    Fatal error: Call to a member function register_handler() on a non-object in /websites/123reg/LinuxPackage22/re/ds/ho/redshoesnoknickers.com/public_html/wp-includes/media.php on line 953

    I am unsure how to upgrade manually via wp-admin/upgrade.php - are there any notes on it anywhere?

  6. esmi
    Forum Moderator
    Posted 1 year ago #

  7. thestealthyfox
    Member
    Posted 1 year ago #

    Thanks - I ended up reinstalling the old wordpress and I'm going to skip this upgrade for an easier life!

  8. hannahbanana11
    Member
    Posted 1 year ago #

    Hi.

    I am a complete novice and am having the same error as you stealthyfox. The front end of the website looks as normal (after a tense 15 minutes where it just said it was in maintenance mode). However, I can't login to the back end.

    I just get this:

    Fatal error: Call to undefined function get_taxonomies_for_attachments() in /websites/123reg/LinuxPackage22/al/ph/aa/alphaagency.co.uk/public_html/home/wp-admin/menu.php on line 67

    I'm really beginning to panic as I have nothing backed up as didn't realise it wasn't done by the hoster. I know this sounds ridiculous.

  9. thestealthyfox
    Member
    Posted 1 year ago #

    Not ridiculous at all - I always forget to back up which I know is awful!

    I just uploaded the previous version of wordpress again via the FTP.
    Which hosting company are you with? I ended up changing to TSO host who I've never had any problems with when updating to the latest wordpress.

  10. thestealthyfox
    Member
    Posted 1 year ago #

    Oh, I've just seen it's 123reg - that's who this site was hosted by before. They're not too great when it comes to installing the latest updates.

    My advice would be to switch if you can!

  11. hannahbanana11
    Member
    Posted 1 year ago #

    Oh no, this doesn't sound very good.

    I have just contacted 123reg and explained what has happened. So there may be a way for them to fix this from their end?

    It's all so confusing.

  12. thestealthyfox
    Member
    Posted 1 year ago #

    I didn't find them too helpful and it took about 2 days for them to come back to me. Sorry to scare you!

    The best thing for you to do is a manual install of the previous wordpress and that way you'll get all your info back...

  13. thestealthyfox
    Member
    Posted 1 year ago #

    Just had a peek at your site, you have some strange permalinks!
    At least your site is still up though, mine went down completely.

    Do you know how to do a manual install through the FTP?

  14. hannahbanana11
    Member
    Posted 1 year ago #

    Do I? Well I guess that will be the first thing to fix if I ever get back into it haha.

    Well it wasn't coming up at all initially so I am grateful now at least it looks normal.

    I have no idea how to do that I'm afraid. Oh dear this is turning into a bad Tuesday.

  15. thestealthyfox
    Member
    Posted 1 year ago #

    Do you have access to your FTP server?

    I would suggest making a back up of your wordpress files on there first, then it's basically a case of downloading the old version of wordpress and uploading the old wp-admin and wp-includes files to overwrite the new ones, but don't overwrite wp-content.

    That's really important or you'll lose your theme and pictures!

    You can download the old version from here in the WP archive:

    http://wordpress.org/wordpress-3.5.zip

    I've been there, don't worry! I stressed for hours thinking I'd lost everything, but it all came back up :)

  16. hannahbanana11
    Member
    Posted 1 year ago #

    Thank you for being so helpful.

    Your reassurance has prevented me from a stroke even if I haven't solved it yet.

    By FTP server do you mean the section on 123reg called 'Web Hosting Control Panel'?

    It has a list of all the folders and files on the site, starting with logfiles and public_html?

  17. thestealthyfox
    Member
    Posted 1 year ago #

    Haha - you can do it through that way, but it'll take a lot longer.

    When you signed up with 123 reg did they not send you details of your FTP?

    If you're going to do it that way, then you go into public_html, then you'll find your wordpress files. Download a copy of all of these first, just in case. Quicker to zip them in the file manager and download that way if you can.

    So remember, don't touch wp-content - it's just wp-admin and wp-includes that you're taking from the old version and uploading over your files in there.

    I'd have done it for you if you had FTP settings, it'd take a few minutes through something like FileZilla.

  18. hannahbanana11
    Member
    Posted 1 year ago #

    Well whilst bumbling around reading forums today I did read something about this so I downloaded FileZilla and I have copied the whole shabang across. I was quite chuffed with myself for getting that far!

    I have all of my FTP details and I'm petrified I'll do something wrong but if you could instruct me I could try and do it? Or feel free to have a go for me? I feel like I need to send you some kind of present! You've saved me from the depths of despair and that's no fun with a teething 7 month old and whilst packing up the house to move on Thursday.

    I also had a look at your website (what a fab service) and you would be impressed with the wardrobe detox I have undertaken whilst packing.

  19. thestealthyfox
    Member
    Posted 1 year ago #

    I know exactly how you feel - people in these forums have always helped me out and it's nice to be able to finally pay it forward!

    If you have the login details for FileZilla, which are essentially FTP login details, mail them over to me and I'll do it for you - sounds like you have your hands full!

    The wardrobe detox website is actually my friends, I just did the website, but my wardrobe is in dire need of her services!

    You can mail me at hayley (at) minkidesign.com

  20. yincrash
    Member
    Posted 1 year ago #

    For any future visitors, I had this issue when trying to upgrade by copying the three folders (wp-admin, wp-includes, and wp-admin). To fix it, I also replaced the root wordpress folder files (wordpress/*). There must have been changes in those files needed for the upgrade from the version I was upgrading from (3.2.1).

Topic Closed

This topic has been closed to new replies.

About this Topic