We have checked this error and found a bug that we'll be solved in the next version of phpdocx.
Apply the following path to solve the error in the current version of phpdocx:
Index: CreateTable.inc
===================================================================
--- CreateTable.inc (revisiĆ³n: 158)
+++ CreateTable.inc (copia de trabajo)
@@ -146,10 +146,10 @@
$this->generateTCW($args[1]['size_col']);
}
if ($cont instanceof CreateText) {
- if (!empty($cont->arrEmbeddedText[0]['cell_color'])) {
+ if (!empty($cont->_embeddedText[0]['cell_color'])) {
$this->generateSHD(
'solid',
- $cont->arrEmbeddedText[0]['cell_color']
+ $cont->_embeddedText[0]['cell_color']
);
}
} else {
Regards.