Last versio of Pro generate fatal error "brizy/admin/cloud/client.php on line 267"
Hello, the Trow statement is commented out on my website because in hang's up our website. Used Pro with the latest version.
Google for this error gives another hit ;-)
Why should the front-end of a website got troubles with PHP code for back-end usage?
$value = get_transient( 'brizy_cloud_editor_versions' );
if ( $value && ! $ignoreCache ) {
return $value;
}
$url = Brizy_Config::CLOUD_ENDPOINT . Brizy_Config::CLOUD_EDITOR_VERSIONS;
$response = $this->http->get( $url );
$code = wp_remote_retrieve_response_code( $response );
if ( $code == 200 ) {
$value = (array) json_decode( $response['body'] );
set_transient( 'brizy_cloud_editor_versions', $value, 3600 );
} else {
throw new Exception( wp_remote_retrieve_response_message( $response ) );
}
return $value;
}
-
Hi,
can you please confirm you have this issue with the latest Brizy version - Free 2.0.12 and PRO 2.0.6? Also, do you have the same problem if you disable all your external plugins?
0 -
Hi Alex,
Yes we have the latest versions. We do not have time for putting others plugin's off while the throw statement fails in Brizy after some updates.
For me the quick fix solution is fine. You can close this request.0 -
Hi,
We cannot proceed to the next step of inspecting the issue without confirming that the issue has no third-party cause. I'm sure you understand that. The temporary fix is ok, but I assume we will return to this discussion after the next update)
0
Please sign in to leave a comment.
Comments
3 comments