Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: A few PHP errors

Status Resolved
Add-on / Version Reel
Severity Trivial
EE Version

Lee Green

May 22, 2012

Using Wyvern video outside a wysiwyg and hitting a few php errors

preprocess function needs to needs to be changed to decode json rather than unserlialise & base64decode
$data = json_decode($data);

And the replace functions need to change the from [‘whatever’] to ->whatever

ie from
      return isset($data[‘url’]) ? $data[‘url’] : ‘’;
to
      return isset($data->url) ? $data->url : ‘’;


methods now function correctly..

Cheers

#1

BoldMinded (Brian)

Ah, thats a pretty bad oversight. Just fixed it it 0.9.1. Thanks for reporting it.

Login to reply