Replies: 6   Views: 3997
I get an error "accessing static property html2wordml::$strictwordstyles"
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 davidfirst  · 03-01-2014 - 20:23

While creating doc/pdf documents we get tons of error such as:

Accessing static property HTML2WordML::$strictWordStyles as non static in /phpdocx_corporate/classes/ on line 469

with different line numbers (1496, 896, 1533, 1483).

Note that, it is not a notice or warning, it is a PHP Error. 

How can I get rid of it? I can change the $strictWordStyles variable to not be static. not sure how the software will behave though..