• Resolved andregouveia

    (@andregouveia)


    Hello,

    I’m using your plugin and when I finalise the order it sends me to the login page. The order is processed but it’s supposed to show the order details straight afterwards. When debugging I saw this error:

    TRANSLATED:

    [07-Feb-2024 10:23:44 UTC] PHP Notice: The wp_enqueue_script function was called incorrectly. Scripts and styles should not be registered or added to the queue until the hooks wp_enqueue_scripts,admin_enqueue_scripts orulogin_enqueue_scripts. This warning was triggered by the handle add-class-on-url-parameter. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/albisoli/public_html/wp-includes/functions.php on line 6031

    ORIGINAL:

    [07-Feb-2024 10:23:44 UTC] PHP Notice: A fun??o wp_enqueue_script foi chamada incorrectamente. Scripts e estilos n?o devem ser registados ou adicionados à fila até aos hooks wp_enqueue_scripts,admin_enqueue_scripts oulogin_enqueue_scripts. Este aviso foi desencadeado pelo handle add-class-on-url-parameter. Por favor veja Depura??o no WordPress para mais informa??es. (Esta mensagem foi adicionada na vers?o 3.3.0.) in /home/albisoli/public_html/wp-includes/functions.php on line 6031

    Can you help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter andregouveia

    (@andregouveia)

    I have this error too

    payment_method was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, Wallet_Credit_Payment_Gateway->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.

    Plugin Author WP Swings

    (@wpswings)

    Hello ,

    Thank you for sharing your issue with us,

    Could you please share the scenario in which you are facing this issue so that we can replicate the same on our end in order to debug the issue.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when finalising the order’ is closed to new replies.