Replies: 5   Views: 1719
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

Edited by repunge · 02-03-2017 - 02:20

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

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

Here is a code which generete that exception:

$docx = new CreateDocx();
$docx->embedHTML("<img src='' />");
$docx->createDocx(public_path() . '/output.docx');

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