Fatal error in Proposal module setup

Hi,

Dolibarr version 3.2.3
Then I open Proposal setup, I don’t see all configuration options and error line appears:
Fatal error: Cannot redeclare pdf_getinstance() (previously declared in /home/…/public_html/erp/core/lib/pdf.lib.php:76) in /home/…/public_html/erp/lib/pdf.lib.php on line 77

It worked before.

I need to change “Default commercial proposal validity duration”.

How can I fix this error, or is there other ways to change this setting?

David

Hi,

Does this error just appeared like that from one day to another without you making any prior modifications ?

For the validity time, just go to Setup / other setup then add :

PROPALE_VALIDITY_DURATION

with value field = required number of days

Rgds.

Hello,

I did have a similar issue a few days ago, when I enter the propale module configuration, only half of options did appeared.

In my case, I went to directory

/public_html/dolibarr/core/modules/propale/doc/

And comparing with the original Dolibarr files, be sure you don´t have some other file wich may cause this problem.

Eldy helped me in this post with something related

www.dolibarr.org/t/no-more-propal-templat-after-update-3-2-2-to-3-2-3/9303/1