• Resolved Pappu Ann kristo

    (@prabasjalakai)


    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)
  • Thread Starter Pappu Ann kristo

    (@prabasjalakai)

    Is there anyone who can help me with this ??

    Hi @prabasjalakai,

    Sorry to hear about this problem with your custom plugin and our team will help as best we can. I have reached out to the developers directly for some more insight on this problem and hopefully they can provide me with some suggestions for you.

    Any additional information you can provide on this situation, such as error log information, will help us reach a solution quicker and I hope to have something for you soon.

    • This reply was modified 5 years, 2 months ago by Joseph W.
    Thread Starter Pappu Ann kristo

    (@prabasjalakai)

    Hi joe,

    Thanks for your reply …..

    We are not facing any error in error log. Everything is perfect but only with wp_die() use of this function flag sets manually as true in w3 total cache plugin as mentioned above. I have tried manually by creating a separate plugin and used only wp_die() resulted in 503 again.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @prabasjalakai,

    I am sorry about the late response but we were checking on this. We’ve opened an issue in our GitHub public repository and the temporary hotfix is provided there. Please apply the fix and notify us if this is working for you.

    Thread Starter Pappu Ann kristo

    (@prabasjalakai)

    Helllo @vmarko,

    Thanks for your reply ??
    There was no reply so i thought of going for another request to forum(Sorry guys).
    As per your statement we are waiting for a permanent fix in the module release(W3 total cache). Temporary fix will not be a solution for us because we don’t know how many our client uses W3 total cache plugin and we can’t inform everyone also. I hope you understand the scenario.

    We are waiting for a permanent solution ASAP.

    Thanks in advance ??

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @prabasjalakai,

    Yes, we understand of course. Thank you for your patience and thank you for bringing this to our attention. Can you please confirm that this temp solution is working for you?
    I can not specify the exact date but a new release is coming soon and this will be fixed.
    Once again thank you for your patience.
    We would really appreciate if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users. Thank you for your help!

    Thread Starter Pappu Ann kristo

    (@prabasjalakai)

    Hello @vmarko,

    This temporary solution works fine.
    Good to hear okay fine Thanks ??
    I Will review definitely, once the new release is made.

    Thanks in Advance ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Using wp_die sets to 503 status’ is closed to new replies.