Replies: 2   Views: 3024
Clearblocks throws fatal error
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 _pierrick_  · 07-12-2012 - 10:46

When I call clearBlocks() on CreateDocx object I get :

Strict standards: Non-static method CreateTemplate::deleteAllBlocks() should not be called statically, assuming $this from incompatible context in PHPDocX/classes/ on line 4222.

PHPDocX Version : 2.6
Php version : 5.3

Edit: The error wasn't fatal.