Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • I found this :

    Error Return Values
    If the Ajax request fails in wp-admin/admin-ajax.php, the response will be -1 or 0, depending on the reason for the failure. Additionally, if the request succeeds, but the Ajax action does not match a WordPress hook defined with add_action(‘wp_ajax_(action)’, …) or add_action(‘wp_ajax_nopriv_(action)’, …), then admin-ajax.php will respond 0.

    So do you know how to resolve this?

    Thank you

    Thread Starter Remi Briere

    (@remi-briere)

    I found this :

    Error Return Values
    If the Ajax request fails in wp-admin/admin-ajax.php, the response will be -1 or 0, depending on the reason for the failure. Additionally, if the request succeeds, but the Ajax action does not match a WordPress hook defined with add_action(‘wp_ajax_(action)’, …) or add_action(‘wp_ajax_nopriv_(action)’, …), then admin-ajax.php will respond 0.

    So do you know how to resolve this?

    Thank you

    Hello,

    Since the latest updates of WooCommerce, invoice, delivery note or receipt are no longer displayed and it is no longer possible to print them.

    For example when I click on “preview”, the invoice is displayed half a second and then a blank page with a “0” appears.

    If I look at the URL, during the second half I can see:
    “…/wp-admin/admin-ajax.php?print-order=8401&print-order-type=invoice&action=print_order”
    and then it continues to load and it becomes: “…/wp-admin/admin-ajax.php?dasya=true” and the page turns blank and displays only a “0”.

    When I try to print invoices the same thing happens.

    All my plugins have been updated, I do not encounter another error.
    I tried to disable all plugins, but it does not change anything.

    What can I do?

    Thank you

    Thread Starter Remi Briere

    (@remi-briere)

    Hi,

    Thank you very much for your answer, it’s perfect!

    I have another question regarding the logarithms: I would use natural logarithm (ln), not common logarithm (log), is it possible?

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)