<h4>A PHP Error was encountered</h4>
<p>Severity: Warning</p>
<p>Message: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument</p>
<p>Filename: controllers/share.php</p>
<p>Line Number: 130</p>
It used to work before, version php 5 [which i believe is the latest major PHP version].
json_encode
only allowsUTF-8
characters to be encoding. Looks like the data you are trying to encode may have nonUTF-8
characters.So, you should first convert the string/data into UTF-8 and then do the encoding.