• Hello i updated my wordpress from 3.9.1 to 4.0 and what happened is this
    on my website: bonyanya.ru/wp-admin

    Fatal error: Call to undefined function hash() in /home/gproyecto/bonyanya.ru/docs/wp-includes/session.php on line 64

    when i log in
    what do i do?

Viewing 3 replies - 16 through 18 (of 18 total)
  • Moderator James Huff

    (@macmanx)

    Everybody who just joined in, here are three things to try. If they don’t work, please open your own thread: https://www.ads-software.com/support/forum/how-to-and-troubleshooting#postform

    Try manually resetting your plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    If neither of those resolve the issue, try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Same error on Solaris 10; PHP 5.3.21

    In addition to
    extension=hash.so
    in
    /etc/opt/csw/php5/php.ini

    it turned out that “Solaris package CSWphp5-hash”
    is not installed by default and has to be installed.

    pkgutil -i php5_hash
    svcadm -v restart svc:/network/cswapache2

    This of course if you are using OpenCSW

    OpenCSW

    Regards

    Moderator James Huff

    (@macmanx)

    Thanks for letting us know!

    hash() is a requirement in the new /wp-includes/sessions.php file. It seems odd that some hosting providers would have this PHP’s Hash module disabled anyway, but I have added it to the known issues: https://www.ads-software.com/support/topic/wordpress-40-master-list?replies=5#post-5969227

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Updated and got Fatal error: Call to undefined function hash()’ is closed to new replies.