Forum


Replies: 2   Views: 1608
Crash - undefined index: border_top_width
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 05-07-2020 - 12:11

Hello,

It's not returning a PHP error but a PHP notice that you can hide if needed (https://www.php.net/manual/es/function.error-reporting.php), or directly using:

@$docx->embedHTML(file_get_contents($htmlFile));

If you don't want to hide PHP notices, please set a border width value for the table you are adding when importing HTML. We have sent this topic to the dev team to check the PHP notice.

Regards.