• Hello,

    I was using an old version of wordpress (i think it was 3.0.2 but i am not sure). I wished to update to the 3.5.1 version automatically. I did and I got this message in wordpress
    “Could not copy file.: /web/wp-includes/SimplePie/Restriction.php
    Installation Failed”
    and now i get this message when i try to connect to wordpress
    “Fatal error: Call to undefined function wp_get_update_data() in /home/www/4b7523c67a6c794b8605cdf88d8208e3/web/wp-admin/menu.php on line 34”

    I am completly lost, tried to read the forums. it might be because my usernames are not the same on my host and my wordpress but i am not sure.
    Could someone help please?
    Thanks very much in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • It is because your wordpress installation is failed leaving it in unstable state.
    Have you taken backup of your old wordpress?
    if yes then try to restore it and reupdate wordpress by giving write permissions to files and folders.

    Thread Starter marionh92

    (@marionh92)

    hello, thank you very much for your quick answer.
    the website is properly working, dont i take a risk to worsen the situation if i restore the backup?
    could you please tell me what is the right code to give permission? now i have sometimes 0644 and sometimes 2755.
    thanks again for your help.

    If the website is properly working, then when are you getting this error message “Fatal error: Call to undefined function wp_get_update_data() in /home/www/4b7523c67a6c794b8605cdf88d8208e3/web/wp-admin/menu.php on line 34”.

    Apply 755 permission to your whole wordpress installation and allow your wp-content/ folder 775 permission(so that you can edit files from the WordPress backend without having to upload files via FTP).

    Thread Starter marionh92

    (@marionh92)

    thanks again for your support.

    i get this message
    Fatal error: Call to undefined function wp_get_update_data() in /home/www/4b7523c67a6c794b8605cdf88d8208e3/web/wp-admin/menu.php on line 34

    exactly as you are saying.

    i did not completly understood what you suggested to do. i applied 0755 permission to the whole wp-admin folder (sub folders and files included) and same to the whole wp-includes folder.

    then i applied 0775 permission to the wp-content folder (and sub folders and files)

    the website is still working but i can still not access the wordpress dashboard.

    what should i still do? I never did that…

    i am sorry to bother you, i really thank you for helping.

    wp_get_update_data() collects and returns number of updates available for plugins, themes and WordPress core. It’s used in Admin Bar and admin update menus.

    As your wordpress upgradation is failed you should restore you r old wordpress if you have backup of files and database and then apply the above permissions to wordpress and reupdate it to latest version.

    Thread Starter marionh92

    (@marionh92)

    thank you very much for your help. i will try to contact my hosting do help doing the reinstallation, i am very scarred to destroy everything… i never done that…

    just one additionnal question, should i leave those permissions after updating?

    thank you very much again
    Marion

    Yes you can leave those permissions after updating.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error updating wordpress 3.5.1’ is closed to new replies.