Problem upgrading to 4.4.4

Discussion in 'Troubleshooting' started by benfitts, Sep 30, 2014.

  1. benfitts

    benfitts aMember Pro Customer

    Joined:
    Apr 10, 2008
    Messages:
    111
    Upgrading from 4.4.2 to 4.4.4

    Getting an error message:
    mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_FUNCTION in /httpdocs/amember4/application/default/plugins/protect/wordpress/api.php on line 232
  2. benfitts

    benfitts aMember Pro Customer

    Joined:
    Apr 10, 2008
    Messages:
    111
    Alex, here are the steps I've tried:

    Downloaded the 4.4.2 to 4.4.4 patch. Extract files. Upload via ftp. Overwrite all files. Couldn't even get to /amamber/admin-upgrade because of the error I received in api.php

    Tried upgrading through the web interface and got the dreaded 2012 error "Key must be a string".

    Downloaded the full 4.4.4 package to overwrite all files. Uploaded all files. Again got the error with api.php.

    Overwrote just the old api.php with the version from 4.4.2. Then I was back to the "Key must be a string" error.
  3. benfitts

    benfitts aMember Pro Customer

    Joined:
    Apr 10, 2008
    Messages:
    111
    Now I have to roll back my WordPress upgrade because of this error :(
  4. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,642
    You need to upgrade PHP to 5.3 or above on your server. It will fix this issue.
  5. benfitts

    benfitts aMember Pro Customer

    Joined:
    Apr 10, 2008
    Messages:
    111
    Thanks for the reply. Is it 4.4.3 or 4.4.4 that requires PHP 5.3.x?
  6. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,642
    Both require 5.3 or above.

Share This Page