• Resolved ianheft

    (@ianheft)


    Hi Beau,

    Thank you for your work on here and for providing timely and helpful support. I did review similar threads and updated to PHP 5.4 but I haven’t had any luck.

    I waited for the upgrade to take effect then afterward I was able to activate Keyring because I want to integrate Eventbrite with a site I’m making for someone at https://www.goldenjourney.ca

    Now, I often get the Parse error: syntax error, unexpected T_FUNCTION in /home/content/31/7631031/html/goldenjourney/wp-content/plugins/keyring/keyring.php on line 50 message, in all aspects of the administration of the website. Sometimes if I keep refreshing it’ll load the site but soon I’m having it again. I’ve tried to deactivate keyring and the eventbrite integration and haven’t had any luck. As it is I can’t log into https://www.iancredible.me/goldenjourney/wp-admin at all because of this error.

    I would gladly send you login details over email or private message if possible. I can’t seem to deactivate the plugin at all.

    Thank you
    Ian

    https://www.ads-software.com/plugins/keyring/

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

    (@beaulebens)

    Hrm, definitely line 50 is where you first hit something that requires a more recent version of PHP, so that would point to it being a version problem. The fact that you’re getting the error only some of the time makes it sound like you have multiple servers responding for your site, and different servers are running different versions perhaps? Is that possible?

    Can you put a <?php phpinfo(); ?> in a test page to verify that your server is using v5.4?

    If you’re getting a fatal error like that, the best way to force-disable the plugin is to either rename or just delete it via FTP, and then WP will notice that it’s not there any more and auto-deactivate it.

Viewing 1 replies (of 1 total)
  • The topic ‘T_Function Error Line 50 after PHP upgrade’ is closed to new replies.