X
230593

Initial Ticket Email: Not Sent

Hi.
After i purchased an ticket the initial email is not sent!
Manually Re-send Ticket(s) Email works fine.

Before i have included your code of https://docs.myeventon.com/documentations/auto-complete-ticket-order/ in my functions.php.
The debug.log says there is an error in that function on line 46 – And also something went wrong with class-integration-woocommerce.php & class-pdfer.php.
Please help me out!:

debug.log of my last purchase:
——————————————
[30-Mar-2021 17:47:07 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /www/htdocs/w011c1cb/herz-der-dinge.de/wordpress/wp-content/themes/samadhi-child/functions.php on line 46

[30-Mar-2021 17:47:07 UTC] PHP Fatal error: Uncaught Error: Call to undefined function media_handle_sideload() in /www/htdocs/w011c1cb/herz-der-dinge.de/wordpress/wp-content/plugins/eventon-pdfer/includes/class-pdfer.php:65
Stack trace:
#0 /www/htdocs/w011c1cb/herz-der-dinge.de/wordpress/wp-content/plugins/eventon-pdfer/eventon-pdfer.php(187): EVO_PDF_generator->generate_pdf(Array)
#1 /www/htdocs/w011c1cb/herz-der-dinge.de/wordpress/wp-content/plugins/eventon-pdfer/eventon-pdfer.php(137): evo_pdf->gen_pdf_file(‘ticket’, 3917)
#2 /www/htdocs/w011c1cb/herz-der-dinge.de/wordpress/wp-includes/class-wp-hook.php(292): evo_pdf->evotx_email(Array, 3917)
#3 /www/htdocs/w011c1cb/herz-der-dinge.de/wordpress/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
#4 /www/htdocs/w011c1cb/herz-der-dinge.de/wordpress/wp-content/plugins/eventon-tickets/includes/class-email.php(129): apply_filters(‘evotx_beforesen…’, Array, 3917)
#5 /www/htdocs/w011c1cb/herz-der-dinge.de/wordpress/wp-content/plugins/eventon-tickets/includes/class-integration-woocommerce.php in /www/htdocs/w011c1cb/herz-der-dinge.de/wordpress/wp-content/plugins/eventon-pdfer/includes/class-pdfer.php on line 65
——————————————

BY: Mirko von Gizycki - Mar 30,2021 AT 11:25AM - 3 years ago
    • infotainerdave Mar 30,2021 AT 12:58PM - Posted 4 years ago - #230629

      so when an order is placed 2 emails get sent- one to the admin and one to the customer

      the customer is not getting their email- are you getting the new order email?

      I would recommend a smtp plugin to help send your emails

      I use https://en-au.wordpress.org/plugins/easy-wp-smtp/ – and have for the last 5 years – 

    • Artem Mar 30,2021 AT 1:01PM - Posted 4 years ago - #230632

      Hey Mirko

      Can you please enable a plugin that you can check if your crons work or not?

    • Mirko von Gizycki Mar 31,2021 AT 6:55AM - Posted 4 years ago - #230865

      Without your function (https://docs.myeventon.com/documentations/auto-complete-ticket-order/) in functions.php emails are send correctly.

      With your function the error below is thrown.
      The error says something about the side_load_media function.
      The PDF files are generated but we find them in the WordPress root directory. Maybe that directory is used as a temporary directory and the side load function should move them to the proper place.
      After the Fatale Error the admin mails are not sent anymore.

      Generating and sending the PDF tickets works fine by pressing the button in the WooCommerce order page.
      Also the tickets are generated and send when the order ist manually set to “completed”.

      We don’t understand why the script of you does not work and it would help a lot to have the orders autocompleted and the PDF tickets sent to the people.

    • Artem Apr 1,2021 AT 3:47AM - Posted 4 years ago - #231065

      Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer! Also please disable any IP blocking on your site if there are any.

    • Mirko von Gizycki Apr 1,2021 AT 10:48AM - Posted 4 years ago - #231101

      ok. i do not have any IP-blocking.

    • Artem Apr 14,2021 AT 1:06PM - Posted 4 years ago - #233258

      Thank u for sharing.

      We have asked our CEO to review, he will do and come back to you.

    • Mirko von Gizycki Apr 19,2021 AT 6:06AM - Posted 4 years ago - #234053

      Hi, i’d like to ask if  there is a solution available soon?

    • Artem Apr 25,2021 AT 11:52AM - Posted 4 years ago - #235086

      Hey Mirko,

      Yes, we have asked to check again with priority.

    • Ashan Perera Apr 28,2021 AT 4:08PM - Posted 4 years ago - #235783

      Are you running an old version of WP? because the media handle sideload is a standard function that should be in there https://developer.wordpress.org/reference/functions/media_handle_sideload/

      I suppose an alternative code mod will be this.

    • Mirko von Gizycki Jun 30,2021 AT 5:25AM - Posted 3 years ago - #243593

      No

    • Mirko von Gizycki Jun 30,2021 AT 5:34AM - Posted 3 years ago - #243594

      Please include solution asap in next Update. Thank you!

    • Artem Jul 2,2021 AT 2:38AM - Posted 3 years ago - #243676

      We will include it in the next update. Could you tell us have you applied Ashan’s fix in your current code: https://helpdeskx.s3.amazonaws.com/wp-content/uploads/2021/04/28160826/Screen-Shot-2021-04-28-at-4.08.02-PM.png?

    • Mirko von Gizycki Jul 5,2021 AT 3:42AM - Posted 3 years ago - #243873

      Yes i did.

    • infotainerdave Jul 5,2021 AT 6:36AM - Posted 3 years ago - #243894

      and everything is working or not?

    • agaks Jul 9,2021 AT 4:10AM - Posted 3 years ago - #244474

      with fix code ticket email sent, but no pdf attachment

    • agaks Jul 9,2021 AT 4:14AM - Posted 3 years ago - #244475

      if re-send in woocommerce order page, it’s ok…

    • Artem Jul 10,2021 AT 1:45PM - Posted 3 years ago - #244626

      Hey,

      This is because we do not have a way to update the order page automatically when order is done.

      If you need this, it is a customization that can happen yes

    • agaks Jul 13,2021 AT 3:04AM - Posted 3 years ago - #244907

      I’m using plugin that automatically converts woocommerce payments to “completed”. woocommerce order page appears to be completed.

      also should i use your code on that page: “https://docs.myeventon.com/documentations/auto-complete-ticket-order”?

    • Artem Jul 13,2021 AT 12:31PM - Posted 3 years ago - #244965

      Hi,

      have not used this code lately but you can give it a try

    • Mirko von Gizycki Jul 29,2021 AT 2:53AM - Posted 3 years ago - #246722

      I still have the unsolved problem.

      Please send me a solution.

      We don’t understand why the script of you does not work and it would help a lot to have the orders autocompleted and the PDF tickets sent to the people.

    • Artem Jul 30,2021 AT 11:05PM - Posted 3 years ago - #246919

      Hi,

      Autocomplete requires customization, it does not exist by default.

      You can submit a customization request to me by email at basiliskan@gmail.com or to 3rd party developers via Customize EventON Page.

      If anything else we can do for you, let us know.

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON