ok, it was my action only for offer a solution for others maybe in the same case, and surely not for criticize ;-)
WP rocket works well, maybe my configuration causes this errors...
What do you think about:
wp-rocket/inc/classes/admin/settings/class-page.php on line 199
Don't you find better ? :
Private function get_customer_data() {
$customer_key = defined( 'WP_ROCKET_KEY' ) ? WP_ROCKET_KEY : get_rocket_option( 'consumer_key', '' );
$customer_email = defined( 'WP_ROCKET_EMAIL' ) ? WP_ROCKET_EMAIL : get_rocket_option( 'consumer_email', '' );
$response =200;
//# $response = wp_safe_remote_post(
//# WP_ROCKET_WEB_MAIN . 'stat/1.0/wp-rocket/user.php',
//# [
//# 'body' => 'user_id=' . rawurlencode( $customer_email ) . '&consumer_key=' . $customer_key,
//# ]
//# );
//# Because after you have :
if ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
return (object) [
'licence_account' => __( 'Unavailable', 'rocket' ),
'licence_expiration' => __( 'Unavailable', 'rocket' ),
'class' => 'wpr-isInvalid',
];
}
Ok. In finality, all works fine without the corrective for you, with this corrective for me, so no problem !