Support » Plugin: Keyring » unexpected T_FUNCTION in keyring

  • Hi,

    We got this fatal error when activating plugin in our site.

    “Parse error: syntax error, unexpected T_FUNCTION in /home2/mewaasso/public_html/wp-content/plugins/keyring/keyring.php on line 50”.

    I have upgraded php in the site to 5.6 version but still getting this error.

    Need some quick assistance.

    please help.

Viewing 1 replies (of 1 total)
  • Plugin Author Beau Lebens


    That error is definitely coming from a PHP compatibility issue. Can you please double-check/confirm that you’ve activated PHP 5.6 properly on that site?

    Create a file called “test.php”, which contains the code below. Put it in the root of your WordPress install, and then access it via your browser ( It should output a bunch of information about your server, including the version of PHP being run. Make sure you delete it once you’ve confirmed the version number.


    You might need to restart your webserver to get the new version to kick in properly.

Viewing 1 replies (of 1 total)
  • The topic ‘unexpected T_FUNCTION in keyring’ is closed to new replies.