• Hallohallo,
    I had a running 1.02 installation. For the 1.2 upgrade I uploaded all files and ran upgrade-php – but got the error message:
    Fatal error: Call to undefined function: sanitize_title() in /var/www/html/wp-admin/upgrade-functions.php on line 560
    and this is line 560:
    $newtitle = sanitize_title($post->post_title);
    Is there any help?? or do I have to play all the stuff back to the original state…
    thanx!
    Gertrud

Viewing 3 replies - 1 through 3 (of 3 total)
  • That sounds like when you uploaded the new files, an existing file has not been overwritten.
    I would delete the content of /wp-admin and /wp-include and reupload those files.
    Ideally, to prevent this, all previous wordpress files should be deleted before upgrading.
    https://faq.wordpress.net/view.php?p=30

    Thread Starter wishbone

    (@wishbone)

    you got it – it’s running!!!
    thanx out there…
    really great!

    i hv the same problem but i cannot solve it
    when i delete all the files and upload again it appears:
    Warning: main(): Unable to access /home/iblacksn/public_html/blog/b2-include/wp-db.php in /home/iblacksn/public_html/blog/wp-config.php on line 49
    Warning: main(/home/iblacksn/public_html/blog/b2-include/wp-db.php): failed to open stream: Permission denied in /home/iblacksn/public_html/blog/wp-config.php on line 49
    Fatal error: main(): Failed opening required ‘/home/iblacksn/public_html/blog/b2-include/wp-db.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/iblacksn/public_html/blog/wp-config.php on line 49

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘upgrade from 1.02-error:Call to undefined function’ is closed to new replies.