Cornerstone does not work, mrdplusd quick fix worked for couple hours

"I applied this quick fix this afternoon and it worked:

$items = json_decode( wp_remote_retrieve_body( $request ), true );

if ( ! is_array( $items ) ) {

$items = [];

}

$items = array_filter( $items, function( $item ) {

if ( ! is_array( $item ) ) return false;

if ( ! $this->validLegacyType($item) ) return false;

if ( empty( $item[‘status’] ) ) return false;

if ( $item[‘status’] !== ‘publish’ ) return false;

return true;

} );

However, it’s no longer working. On the advice of @charlie, I’m starting a new topic for this.

Hey @Rico,

Kindly check your site again. Our developers have fixed the issue in our demo.theme.co, which is the root cause of the issue.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.