Hi Mark,
I removed the credentials you have provided, and make sure you changed them. Credentials should be posted only on your own thread for security reason.
I went ahead and fix the issues on your end, this weird because the same code is called on other pages but no warnings. And get_post_meta()
should return string since the 3rd option is set to TRUE
, but still some returns an array. And yes, it only happens when Revslider is active, but I can’t find if it’s modifying the get_post_meta()
parameter to FALSE
through hooks.
The bugfix for this should be available on next release, but you guys can also implement the bugfix manually by editing this file.
cornerstone\includes\classes\components\class-shortcode-finder.php
and add this code block
if ( is_array($post_data) ) {//An array of data is very rare, we don't want to incorporate maybe_serialize() everytime
$post_data = maybe_serialize ( $post_data );
}
just above this line
$post_data = str_replace( '\"', '"', apply_filters('cs_read_post_data', $post_data, $post_ID ) );
Hope this helps.