Problem Template Export Docx

Post Reply
fermic
Posts: 7
Joined: 13 Oct 2022, 16:42
Name: Fernando Freitas
Location: Brazil
Company Name: FMF

Problem Template Export Docx

Post by fermic »

Hello!

When trying to export a docx template I get the following error:


Fatal error: Uncaught Error: Undefined class constant 'WIDTH_PERCENT' in /www/wwwroot/gestao.fmf.tec.br/plugins/ext/classes/templates/export_selected_docx.php:107 Stack trace: #0 /www/wwwroot/gestao.fmf.tec.br/plugins/ext/classes/templates/export_selected_docx.php(135): export_selected_docx->prepare_table_settings() #1 /www/wwwroot/gestao.fmf.tec.br/plugins/ext/classes/templates/export_selected_docx.php(81): export_selected_docx->prepare_template_table_blocks() #2 /www/wwwroot/gestao.fmf.tec.br/plugins/ext/classes/templates/export_selected_docx.php(27): export_selected_docx->prepare_template_blocks() #3 /www/wwwroot/gestao.fmf.tec.br/plugins/ext/modules/with_selected/actions/export.php(23): export_selected_docx->prepare_template_file() #4 /www/wwwroot/gestao.fmf.tec.br/index.php(20): require('/www/wwwroot/ge...') #5 {main} thrown in /www/wwwroot/gestao.fmf.tec.br/plugins/ext/classes/templates/export_selected_docx.php on line 107

Any idea how to resolve?

PHP 7.4
fermic
Posts: 7
Joined: 13 Oct 2022, 16:42
Name: Fernando Freitas
Location: Brazil
Company Name: FMF

Re: Problem Template Export Docx

Post by fermic »

This error is giving in a clean install.
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Problem Template Export Docx

Post by support »

Found it. Will be fixed in 3.4.2 soon.
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Problem Template Export Docx

Post by support »

3.4.2 is release. Please update and let me know if it's fixed.
https://www.facebook.com/RukovoditelPro ... pUaQL983Nl
Post Reply