Plugin Author
dan009
(@dan009)
Hi @njw1989
Would you have an error log available to view?
If the order has is pending/failed/on hold at checkout, the raffle tickets won’t be generated.
Could you turn on error log on your website, and let it run for some time, and send me the file?
If the tickets are not generated properly an error it will be displayed on that file.
Regards,
Dan.
Thanks for the reply Dan.
No, it goes through the normal stages. Ie processing then complete and the payment goes through however it doesn’t generate the ticket numbers. I have to manually click generate numbers and then it creates them.
I will try the error log and come back to you?
Plugin Author
dan009
(@dan009)
Hi @njww1989
Do you have any custom hooks on processing / completed order?
Do you use caching plugins?
If you could try the error log and see if any errors are generated, it would be something to start on.
Dan.
Please see response from my web guy.
Do you have any custom hooks on processing / completed order? Just facebook pixel code on thank you page
Do you use caching plugins? Yes
If you could try the error log and see if any errors are generated, it would be something to start on. Have done this
Thank you
I now have the error logs for the failed number generation. Do you have an email address I can send it over to please?
Thanks
-
This reply was modified 3 years ago by
njww1989.
Plugin Author
dan009
(@dan009)
I’ve emailed it over, thank you
Plugin Author
dan009
(@dan009)
Hi @njww1989
Thank you for sending the log file.
I’ve looked over it, and there are not issue from the raffle plugin.
Instead there are a few from other plugins that might cause the woocommerce order not trigger the hooks properly.
One in particular that has a few issues is paytriot. Also a few issues are coming from functions.php.
My final conclusion is that the raffle plugin is not throwing any errors. I suspect the hook where is generating the raffle tickets doesn’t get triggered occasionally.
You should get in touch with the plugins’ owners where PHP Notices are raised and fixed them.
This is my conclusion after inspecting the .log file. The raffle plugin has no errors or notices triggered.
Regards,
Dan.