Forum


Replies: 2   Views: 2750
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/CreateDocx.inc on line 4222.

PHPDocX Version : 2.6
Php version : 5.3

Edit: The error wasn't fatal.

Posted by _pierrick_  · 11-04-2013 - 12:13

In version 3.0, error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE) has been added.

So the point has not been corrected...