Syntax error while using this code , An example from paymentwall
    $widget = new Paymentwall_Widget(
        ''. $_SESSION['PLR_ACCOUNT']['PLR_ID'] .'', 
        'p10_1', 
        array(
            new Paymentwall_Product(
                'product2',                        
                9.99,                                   
                'USD',                                  
                'Elite 3 months',                      
                Paymentwall_Product::TYPE_SUBSCRIPTION, 
                1,                                      
                Paymentwall_Product::PERIOD_TYPE_MONTH,
                true                                  
            ),
            array(
                'email' => 'user@hostname.com', 
                'history[registration_date]' => 'registered_date_of_user',
                'ps' => 'all'
            )
            echo $widget->getUrl();
        )
}
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ')' in C:\Users\Arlindi\Desktop\X-Portal - V2.6.8 - FINAL\test-server\root\pages\premium_info.php on line 301
Line 301 is
echo $widget->getUrl();
How to solve it ?
 
     
    