Quote:
Originally Posted by dkny
I get error:
Fatal error: Call to a member function on a non-object in /home/jb/public_html/forum/includes/functions_subscriptions.php on line 332
doesn't agree with this command:
$paypalextra = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX . "subscription AS subscription WHERE subscriptionid=$subscriptionid");
btw I ran ALTER TABLE `subscription` ADD `reoccur` VARCHAR( 10 ) DEFAULT '0' NOT NULL ;
Any suggestions?
|
Yes I am sorry about that (will update the txt, had it in there but right before saved power went out)
To fix find in includes/functions_subscriptions.php
Code:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userid)
{
global $vboptions;
Replace With
Code:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userid)
{
global $vboptions,$DB_site;