Replies: 2   Views: 3035
Illegal characters then runtime notice
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 xiii29  · 15-03-2013 - 15:02

I've just download and setup on my web site the Free PHPDOCX. Then i created a script and copy the first example :

$docx = new \CreateDocx();
$docx->addText("Hello world!");

During first execution
Warning: Illegal string offset 'b'
and no doc generated.

I've pass all parameters :
Runtime Notice: Declaration of CreateStyle::generateB() should be compatible ...

Any idea what's config missing ?


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


You're getting notices but not errors so everythin seems working fine. Please check your filesystem, there must be generating DOCX files.