Forum


Replies: 2   Views: 3002
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

Hi,
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!");
$docx->createDocx("../word_documents/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 ?

Thanks