Jump to content

Fatal Error After Upgrade


Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated