Call to undefined method

Discussion in 'Troubleshooting' started by regis, Mar 18, 2013.

  1. regis

    regis aMember Pro Customer

    Joined:
    Aug 29, 2006
    Messages:
    40
    I've just manually upgraded to 4.2.15 - except now our free account signup is not working, customers signup and returns a blank page with the account set to "Pending" when looking at the new account in amember admin - there are now errors reported in Amember error logs but this is in our Nginx error log (my domain is changed to provide privacy):

    2013/03/18 09:14:24 [error] 1561#0: *830398 FastCGI sent in stderr: "PHP Fatal error: Call to undefined method Am_Paysystem_Transaction_Free::getRecurringType() in
    /var/www/vhosts/mydomain.com/httpdocs/member/application/default/models/InvoiceItem.php on line 146" while reading response header from upstream, client: 174.127.9.82, server:
    www.mydomain.com, request: "POST /member/signup HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com", referrer:
    "http://www.mydomain.com/member/signup" 2013/03/18 09:14:24 [error] 1561#0: *830398 FastCGI sent in stderr: "PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message
    'The service definition "definitions" does not exist.' in /var/www/vhosts/mydomain.com/httpdocs/member/library/sf/sfServiceContainerBuilder.php:221
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,274
    You get this error because you have some files from old aMember version.
    For example you have old /amember/library/Am/Paysystem/Transaction/Abstract.php
    Try to reupload all files from upgrade package again.
  3. regis

    regis aMember Pro Customer

    Joined:
    Aug 29, 2006
    Messages:
    40
    Thanks Alex, and thanks for getting to this quickly.

    I downloaded a new sftp program (was using netbeans.. but I think netbeans doesn't do well with transferring large amounts of files though sftp) Now I'm using Win SCP and all upgrade files were uploaded successfully.

Share This Page