verticalcomputers Posted July 28, 2016 Share Posted July 28, 2016 Hello, we just updated to the most recent WHMCS. I thought I copied all our customization over, which is very little, but noticed that our cron job is failing due to something that's customized on our server. Please see what I posted on the WHMCS ticket below: ===================================== Hi, this is the debug output: Fatal error: Cannot redeclare getPackageDescription() (previously declared in /home/vertical/public_html/manage/templates/six/invoicepdf.tpl:203) in /home/vertical/public_html/manage/templates/six/invoicepdf.tpl on line 243 Now, we had some customization done. This was the instructions: ++ Updated , upload the attached invoicepdf.tpl to your /six directory ++ upload "CD_InvoiceItemProductDescription.php" inside /includes/hooks/ directory, then open /templates/your-template-name/viewinvoice.tpl file for editing, in line #175~ change it from: {$item.description}{if $item.taxed eq "true"} *{/if} to: {$item.description}{if $item.taxed eq "true"} *{/if} {$item.productdescription} Maybe some of this got messed up when we updated recently? ========================== Hoping someone can help us fix this. We will pay. 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted July 28, 2016 Share Posted July 28, 2016 It sounds like your custom package is using the same function name (getPackageDescription()) . You'll want to contact the developer and make sure that is compatible with v6. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.