Jump to content

J-B

Member
  • Posts

    144
  • Joined

  • Last visited

  • Days Won

    1

J-B last won the day on June 26 2023

J-B had the most liked content!

About J-B

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

J-B's Achievements

Senior Member

Senior Member (3/3)

7

Reputation

  1. Find the error. $pdf->Image(ROOTDIR . '/assets/img/' . $logoFilename, 35,10, 65,0,'','','T',false,'',$align); This was my mistake.
  2. Hello, i updated from WHMCS 8.4.1 to WHMCS 8.7.3. Now I cant download or create invoices. I get this error: [WHMCS Application] ERROR: TypeError: Unsupported operand types: string * float in /html/whmcs/vendor/tecnickcom/tcpdf/tcpdf.php:6995 Stack trace: #0 /html/whmcs/templates/templv87/invoicepdfheader.tpl(12): TCPDF->Image() #1 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/PDF.php(0): unknown() #2 /html/whmcs/vendor/tecnickcom/tcpdf/tcpdf.php(3560): WHMCS\PDF->Header() #3 /html/whmcs/vendor/tecnickcom/tcpdf/tcpdf.php(3227): TCPDF->setHeader() #4 /html/whmcs/vendor/tecnickcom/tcpdf/tcpdf.php(3139): TCPDF->startPage() #5 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Invoice.php(0): TCPDF->AddPage() #6 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Invoice.php(0): WHMCS\Invoice->pdfAddPage() #7 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Mail/Entity/Invoice.php(0): WHMCS\Invoice->pdfInvoicePage() #8 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php(0): WHMCS\Mail\Entity\Invoice->getEntitySpecificMergeData() #9 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php(0): WHMCS\Mail\Emailer->prepare() #10 /html/whmcs/includes/functions.php(0): WHMCS\Mail\Emailer->send() #11 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Cron/Task/InvoiceReminders.php(0): sendMessage() #12 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Cron/Task/InvoiceReminders.php(0): WHMCS\Cron\Task\InvoiceReminders->sendOverdueInvoiceReminders() #13 [internal function]: WHMCS\Cron\Task\InvoiceReminders->__invoke() #14 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): call_user_func_array() #15 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Scheduling\Task\AbstractTask->execute() #16 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Scheduling\Task\AbstractTask->run() #17 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Cron\Console\Command\AbstractCronCommand->executeCollection() #18 /html/whmcs/vendor/symfony/console/Command/Command.php(298): WHMCS\Cron\Console\Command\AbstractCronCommand->execute() #19 /html/whmcs/vendor/symfony/console/Application.php(1028): Symfony\Component\Console\Command\Command->run() #20 /html/whmcs/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand() #21 /html/whmcs/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun() #22 /html/whmcs/crons/cron.php(0): Symfony\Component\Console\Application->run() #23 {main} {"exception":"[object] (TypeError(code: 0): Unsupported operand types: string * float at /html/whmcs/vendor/tecnickcom/tcpdf/tcpdf.php:6995)"} [] TypeError: Unsupported operand types: string * float in /html/whmcs/vendor/tecnickcom/tcpdf/tcpdf.php:6995 #0 /html/whmcs/templates/templv87/invoicepdfheader.tpl(12): TCPDF->Image() #1 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/PDF.php(0): unknown() #2 /html/whmcs/vendor/tecnickcom/tcpdf/tcpdf.php(3560): WHMCS\PDF->Header() #3 /html/whmcs/vendor/tecnickcom/tcpdf/tcpdf.php(3227): TCPDF->setHeader() #4 /html/whmcs/vendor/tecnickcom/tcpdf/tcpdf.php(3139): TCPDF->startPage() #5 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Invoice.php(0): TCPDF->AddPage() #6 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Invoice.php(0): WHMCS\Invoice->pdfAddPage() #7 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Mail/Entity/Invoice.php(0): WHMCS\Invoice->pdfInvoicePage() #8 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php(0): WHMCS\Mail\Entity\Invoice->getEntitySpecificMergeData() #9 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php(0): WHMCS\Mail\Emailer->prepare() #10 /html/whmcs/includes/functions.php(0): WHMCS\Mail\Emailer->send() #11 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Cron/Task/InvoiceReminders.php(0): sendMessage() #12 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Cron/Task/InvoiceReminders.php(0): WHMCS\Cron\Task\InvoiceReminders->sendOverdueInvoiceReminders() #13 [internal function]: WHMCS\Cron\Task\InvoiceReminders->__invoke() #14 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): call_user_func_array() #15 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Scheduling\Task\AbstractTask->execute() #16 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Scheduling\Task\AbstractTask->run() #17 /html/whmcs/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Cron\Console\Command\AbstractCronCommand->executeCollection() #18 /html/whmcs/vendor/symfony/console/Command/Command.php(298): WHMCS\Cron\Console\Command\AbstractCronCommand->execute() #19 /html/whmcs/vendor/symfony/console/Application.php(1028): Symfony\Component\Console\Command\Command->run() #20 /html/whmcs/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand() #21 /html/whmcs/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun() #22 /html/whmcs/crons/cron.php(0): Symfony\Component\Console\Application->run() #23 {main} Is it a Bug?
  3. Hello, i need the variable to get the countrycode in ClientAreaPageCart. Does anyone know how to get the country in the shopping cart via a hook script? function ($vars) { if ($vars['templatefile']=='viewcart'){ ... if ($vars['viewcart']['country'] === 'Deutschland') { ... } } } add_hook("ClientAreaPageCart", 1,);
  4. @DennisHermannsen many thanks from you! It works.
  5. Bad! This was the most helpful member on the community.
  6. @brian! do you have a idea or solution?
  7. Hello, i want to get the countrycode of the user in the viewinvoice. If the user is from "DE" then do something. <?php function viewinvoice_loggedin_status_hook($vars) { $countrycode = $params['clientsdetails']['country']; if ($countrycode == 'DE') { .... } add_hook("ClientAreaPageViewInvoice", 1, "viewinvoice_loggedin_status_hook"); Anyone an idea what's wrong?
  8. Done. Found someone to code it for me.
  9. Hello @all, I am looking for a solution to separate EU and non-EU invoices. Is it possible to use/create a hook to rename invoices (created by cron) that are created with "Tax Level 1 Rules" with an abbreviation EU- in front of them? Like EU-Invoice-111111.pdf or Non-EU-Invoice-2222222.pdf. Anyone an idea?
  10. Why are you making life so difficult for us? Do it as it was! We want all mails. We don't even use a spam filter so that we really don't lose any email. Email is our Business! Or please offer a option to disable this feature (or bug) and allow all emails.
  11. Thx WHMCS for nothing. You get more money, but do nothing for it! Again, this is a urgent Bug! Why don't you understand?
  12. Has anyone try WHMCS 8.2 and can tell me if this bug is fixed?
  13. Is it fix in WHMCS 8.2? I've said it before and I like to repeat myself, this bug is bad for all our business! The case insensitive issue is really 🤬 and the manually function"Ignore Error & Import" is not working too! We have no chance to import the blocked Mails!
  14. Hello, I now had to find out that with the payment method STRIPE (directly from WHMCS) no payment confirmation is sent by email. With bank transfer and PayPal it works without any problems. At first I thought it would only be the case with Stripe SEPA, but no, it can also happen when paying by credit card too. Could anyone confirm this? Is it a bug? WHMCS 8.1.3 with all hotfixes
  15. What? Isn't that a joke? You release 3 - 4 versions in a year and do not get a "feature" implemented immediately? Roll it back, it isnt a Banking Software! Everyone can write us an email! We live from it! @brian! You are the last hero here! Is is possible to write a hook so that all emails are imported again? WHMCS seems to want to harm its customers instead of letting them succeed!
×
×
  • 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