Using wp_die sets to 503 status
-
Hello All,
We can’t use wp_die() function in our custom plugin because of w3 total cache. if so we face 503 issue for synchronise process. This is ridiculous. Go through below for detailed information.
There is a change in W3 total cache version 0.10.0 from previous version 0.9.7.5. But you have mentioned in your WordPress forum version 0.10.1 changed as:
Fixed error during upgrade, “Call to undefined method W3TC\Util_Content::is_database_error”0.10.0
======
if ( $this->is_wp_die ) {
status_header( 503 );
}
0.9.7.5
=======
if ( Util_Content::is_database_error( $buffer ) ) {
status_header( 503 );
}Respond us ASAP
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Using wp_die sets to 503 status’ is closed to new replies.