error in

Discussion in 'Troubleshooting' started by cvac, Jun 6, 2012.

  1. cvac

    cvac New Member

    Mar 24, 2009
    We have recently moved out site to a new hosting provider. We integrate amember with
    Created new db and imported old db - all fine. Can access amember, users can log in to protected area but whenever a user tries to join or renew their membership we are getting this error:

    Fatal error: Call to undefined function ref_new() in /home/cvac/public_html/amember/ on line 474

    We were originally getting the deprecating error on this line so we made the recommended changes.

    Old line 474: $terms = & new PaymentTerms();

    New line 474: $terms = & ref_new(PaymentTerms());

    I am not a programmer - just a site owner and I really need help. We've been down for 2 weeks.


  2. alexander

    alexander Administrator Staff Member

    Jan 8, 2003
    ref_new is not a standart php function. Was this something that was created by you? If so make sure that you copied file where this function is defined as well.

Share This Page