Replies: 4   Views: 3229
"cell_color" option doesn't work for addtable()
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  · 11-04-2013 - 12:12


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:

--- (revisiĆ³n: 158)
+++ (copia de trabajo)
@@ -146,10 +146,10 @@
if ($cont instanceof CreateText) {
- if (!empty($cont->arrEmbeddedText[0]['cell_color'])) {
+ if (!empty($cont->_embeddedText[0]['cell_color'])) {
- $cont->arrEmbeddedText[0]['cell_color']
+ $cont->_embeddedText[0]['cell_color']
} else {