Fatal error: Cannot redeclare class Am_Lite

Discussion in 'Troubleshooting' started by hilary, Nov 30, 2013.

  1. hilary

    hilary aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    102
    Has anyone had this problem with the most recent Amember upgrade?

    First line of my Wordpress template is the same as the first line of every other page of the site -
    Code:
    <?php include('/path/to/amember/library/Am/Lite.php'); ?>
    But post-upgrade, all Wordpress posts and pages turned into
    Fatal error: Cannot redeclare class Am_Lite in /path/to/amember/library/Am/Lite.php on line 14

    Of course I always find these things out at weekends when the support desk is shut. Has anyone had this problem before and found a fix?

Share This Page