Replies: 5   Views: 1795
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  · 02-03-2017 - 02:41

Hi. Error comes with this line:
$docx->embedHTML("<img src='' />");
No problem with:
Strange thing is. When I run on localhost I dont see any problem but when I run it on real server then I got his error: Only variables should be passed by reference.