Forum


Replies: 5   Views: 3488
Only variables should be passed by reference
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 repunge  · 01-03-2017 - 09:48

Hi. I bought today basic version phpdocx and I have this problem:

ErrorException in HTML2WordML.inc line 958: Only variables should be passed by reference

Here is a code which generete that exception:

$docx = new CreateDocx();
$docx->embedHTML("<img src='http://www.somkiat.cc/wp-content/uploads/2016/07/ErrorMessage.jpg' />");
$docx->createDocx(public_path() . '/output.docx');

I havent any problem with trial version. Any help please?