Purchase credit -> 404
When i use the Purchase credit form, and i choose my way of payment, this redirect me on 404 page.
I see this error : Notice: Trying to get property of non-object in /var/www/mycraftmakers/wp
-content/themes/hirebee/includes/payments/order-templates.php on line 148
At the line 148, we have :
$post = get_queried_object();
$order_id = $post->ID;
I've Var_dumped theses, and I see $post = NULL
If I write : $order_id = 250 (I put this because on my test, my order id was 250), it not appear error, but it's always the 404 page.
does this error may be of a plugin?
(Sorry for my bad english, I hope I was understandably ^^' )
thank you in advance Dimitri, or someone else