# Call to undefined function pdfWriteBlockedLogSignature()

**URL:** <https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324>\
**Category:** HR modules\
**Tags:** Help, Issue\
**Created:** [September 15, 2026, 6:57am UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324 "2026-09-15T06:57:49Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin54](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/martin54/32/8884_2.png) [@martin54](https://www.dolibarr.org/forum/u/martin54)\
**Post date:** [September 15, 2026, 6:57am UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324/1 "2026-09-15T06:57:49Z")

</div>

Hi,

I upgrade to V24.0.1 and after upgrade i am getting this error when i try to set some invoice to paid.

Any solution?

---

<div class="post-metadata">

**Author:** ![martin54](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/martin54/32/8884_2.png) [@martin54](https://www.dolibarr.org/forum/u/martin54)\
**Post date:** [September 15, 2026, 7:07am UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324/2 "2026-09-15T07:07:32Z")

</div>

Problem was in module template for the invoice…

---

<div class="post-metadata">

**Author:** ![saikatkoley](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/saikatkoley/32/8716_2.png) [@saikatkoley](https://www.dolibarr.org/forum/u/saikatkoley)\
**Post date:** [September 15, 2026, 5:01pm UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324/3 "2026-09-15T17:01:36Z")

</div>

Hi @martin54

Have you checked the Dolibarr log and your PHP log, please? What does it say?

Regards  
**Saikat Koley**  
**Software Developer**  
**Call/WhatsApp : +919903256573**

[https://www.linkedin.com/in/saikatkoley/](https://www.linkedin.com/in/saikatkoley/)

---

<div class="post-metadata">

**Author:** ![martin54](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/martin54/32/8884_2.png) [@martin54](https://www.dolibarr.org/forum/u/martin54)\
**Post date:** [September 16, 2026, 10:35am UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324/4 "2026-09-16T10:35:12Z")

</div>

Hi,

The error was because i use the old template from sponge with my changes.  
Many lines are removed in V24 and because of that i get the error.

Now i see that i get constantly error in log file, did you maybe know why is that?

Like something is missing in translation, but i can’t understand what?

```auto
436238 1006 --- Access to GET /index.php - action= - actionlogin= - showing the login form and exit
436238 1006 sql=SELECT transkey, transvalue FROM llxv3_overwrite_trans where (lang='mk_MK' OR lang IS NULL) AND entity IN (0, 0,1) ORDER BY lang DESC
436238 1006 --- End access to /index.php

```

---

<div class="post-metadata">

**Author:** ![saikatkoley](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/saikatkoley/32/8716_2.png) [@saikatkoley](https://www.dolibarr.org/forum/u/saikatkoley)\
**Post date:** [September 17, 2026, 4:23am UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324/5 "2026-09-17T04:23:35Z")

</div>

@martin54 This is just a log of an SQL query. I am not seeing any error here. Check your Dolibarr log as well as your PHP error log.

---

<div class="post-metadata">

**Author:** ![MuhammadAli.Dev](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/m/3d9bf3/32.png) [@MuhammadAli.Dev](https://www.dolibarr.org/forum/u/MuhammadAli.Dev)\
**Post date:** [September 21, 2026, 3:23pm UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324/6 "2026-09-21T15:23:46Z")

</div>

Nothing is broken there — those lines are ordinary debug output, not errors. The overwrite\_trans query is Dolibarr loading your custom translation overrides; it runs on every page when “Enable usage of overwritten translation” is switched on under Home \> Setup \> Translation, so yours is on. The only reason you’re seeing it in the file is the log level.

Drop it from Debug to Warnings or Errors in the Logs module setup (Home \> Setup \> Modules, cog icon on Logs) and the file will keep only what’s worth acting on. Real problems show up as a line starting with ERROR or an SQL error code, so that’s what to grep for rather than reading the whole thing.

— Ali, Silicon Blaze · [siliconblaze.com](http://siliconblaze.com)

---

<div class="post-metadata">

**Author:** ![martin54](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/martin54/32/8884_2.png) [@martin54](https://www.dolibarr.org/forum/u/martin54)\
**Post date:** [September 21, 2026, 9:23pm UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324/7 "2026-09-21T21:23:12Z")

</div>

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![martin54](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/martin54/32/8884_2.png) [@martin54](https://www.dolibarr.org/forum/u/martin54)\
**Post date:** [September 23, 2026, 2:23pm UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324/8 "2026-09-23T14:23:35Z")

</div>

Hi MuhammedAli.Dev,

Did you have fix and fir this error?

\*\*Payment in same currency than company but this-\>amount != this-\>multicurrency\_amount  
\*\*  
I get this when i try to add payment for some invoice and not for every third party. I not use multicurency and curently for this third party i never use multicurency.

---

<div class="post-metadata">

**Author:** ![martin54](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/martin54/32/8884_2.png) [@martin54](https://www.dolibarr.org/forum/u/martin54)\
**Post date:** [September 23, 2026, 2:30pm UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324/9 "2026-09-23T14:30:45Z")

</div>

I fixed via mysql directly for that invoice, in multicurency have some other total price which was different from the original one…

---

<div class="post-metadata">

**Author:** ![MuhammadAli.Dev](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/m/3d9bf3/32.png) [@MuhammadAli.Dev](https://www.dolibarr.org/forum/u/MuhammadAli.Dev)\
**Post date:** [September 26, 2026, 3:08pm UTC](https://www.dolibarr.org/forum/t/call-to-undefined-function-pdfwriteblockedlogsignature/31324/10 "2026-09-26T15:08:20Z")

</div>

Hi Martin,

Good that you found the cause.

That check fails when an invoice is in your company currency but its multicurrency totals do not match the normal totals, so Dolibarr cannot make the payment amounts agree on both sides.

It does not matter that you do not actively use multicurrency, because those fields are still populated on invoices.

If one invoice ended up like this, there may be others as well. You can list them with:

```sql
SELECT rowid, ref, total_ttc, multicurrency_total_ttc
FROM llxv3_facture
WHERE multicurrency_code = 'MKD'
AND total_ttc <> multicurrency_total_ttc;

```

Replace MKD with your company currency code if different.

If you find several affected invoices and want to correct them together instead of one by one, back up the database first, then run:

```sql
UPDATE llxv3_facture
SET multicurrency_tx = 1,
    multicurrency_total_ht = total_ht,
    multicurrency_total_tva = total_tva,
    multicurrency_total_ttc = total_ttc
WHERE multicurrency_code = 'MKD'
AND total_ttc <> multicurrency_total_ttc;

```

It would also be useful to know how those invoices were originally created — for example through an import, API, cloning, or older migrated data. That may explain why the multicurrency values became inconsistent and whether the same issue could occur again.

As a side note, if you need better visibility into receivables, aging, cash position, profitability, and financial health directly from Dolibarr accounting data, I also maintain Financial Intelligence for Dolibarr:

> **[Financial Intelligence](https://www.dolistore.com/product.php?id=3159&l=en)**
>
> Financial analysis for Dolibarr — monitor profitability, cash flow, receivables, payables, financial health, and business performance through clear dashboards, alerts, forecasts, and transparent calculations.

— Muhammad Ali  
Dolibarr Customization Expert  
SiliconBlaze
