Forum


Replies: 5   Views: 3295
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='http://www.somkiat.cc/wp-content/uploads/2016/07/ErrorMessage.jpg' />");
No problem with:
$docx->embedHTML("<p>dsadsa</p>);
-------------------------
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.