• Resolved adriank90

    (@adriank90)


    Hello. I have purchased the VLD (vinylletteringdesigner) plugin and install it on stvgraphics.co.uk . On the product page it works fine, it adds to cart, but at the checkout page, after i place the order, i get the (Error processing checkout. Please try again.) and i know there is no problem with the WooCommerce plugin or settings because with other products it works fine.

    Can you please tell me what could be the issue? Thank you.

    2023-11-25T09:19:55+00:00 CRITICAL Uncaught ArgumentCountError: json_encode() expects at least 1 argument, 0 given in /home/hleledul/public_html/wp-content/plugins/vld-3/public/class-vld-public.php:278
    Stack trace: 0 /home/hleledul/public_html/wp-content/plugins/vld-3/public/class-vld-public.php(278): json_encode() 1 /home/hleledul/public_html/wp-includes/class-wp-hook.php(324): Vld_Public->add_order_item_meta() 2 /home/hleledul/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 3 /home/hleledul/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 4 /home/hleledul/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(549): do_action() 5 /home/hleledul/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(496): WC_Checkout->create_order_line_items() 6 /home/hleledul/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(439): WC_Checkout->set_data_from_cart() 7 /home/hleledul/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1261): WC_Checkout->create_order() 8 /home/hleledul/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(508): WC_Checkout->process_checkout() 9 /home/hleledul/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::checkout() 10 /home/hleledul/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 11 /home/hleledul/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 12 /home/hleledul/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() 13 /home/hleledul/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() 14 /home/hleledul/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 15 /home/hleledul/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 16 /home/hleledul/public_html/wp-includes/template-loader.php(13): do_action() 17 /home/hleledul/public_html/wp-blog-header.php(19): require_once(‘/home/hleledul/…’) 18 /home/hleledul/public_html/index.php(17): require(‘/home/hleledul/…’) 19 {main}

    thrown in /home/hleledul/public_html/wp-content/plugins/vld-3/public/class-vld-public.php on line 278

    • This topic was modified 1 year, 5 months ago by adriank90.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello There,

    Woocommere is working fine as you said. I think there might be issue with vinylletteringdesigner plugin, please talk to their support => https://www.vinylletteringonline.co.uk/contact They might be help you.

    Thread Starter adriank90

    (@adriank90)

    I wrote several messages to the support of vinylletteringdesigner and no answer, very unprofessional, and the vinylletteringonline website uses a different plugin, i dont see how they could help me. But thank you for the reply.

    Thread Starter adriank90

    (@adriank90)

    this is how to shows. I’m not good in coding, so can you tell me where should i modify? thanks a lot

    Simply remove this line:

    $url_data = json_encode();

    But: do never change code form plugins, themes or WordPress-Core. Let the developer fix this. Otherwhise you will have the same problem after every update again.

    Thread Starter adriank90

    (@adriank90)

    i removed $url_data = json_encode(); with $encoded_data = json_encode($your_data); and now it works.

    Thank you very much

    $encoded_data = json_encode($your_data);

    does nothing in this function. You can remove it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Woocommerce – Error processing checkout. Please try again.’ is closed to new replies.