Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 Error when i try to set feature image for any post. #376

Closed
malsubrata opened this issue Jan 30, 2018 · 6 comments · Fixed by #392
Closed

403 Error when i try to set feature image for any post. #376

malsubrata opened this issue Jan 30, 2018 · 6 comments · Fixed by #392
Labels
priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue is a confirmed bug.

Comments

@malsubrata
Copy link

If I call WC()->payment_gateways()->payment_gateways in admin_init hook then there is a 403 error in when i triad to set feature image for any post or post type.

Please help.

Thanks in advance!

@malsubrata
Copy link
Author

I have found the error!
I believe that we can't call wp_enqueue_media() function directly to WC_Gateway_PPEC class constructor.
That's why it show 403 error when ever I want to set feature image for any post

@malsubrata
Copy link
Author

Any update for me? I need to fix this please help me. You can refer to Function Reference/wp enqueue media for more details.
Thank you.

@malsubrata
Copy link
Author

@mikejolley Please have a look at this issue because it causes conflict with other plugins. Looking forward to your co-operation regarding this.
Thank you.

@malsubrata
Copy link
Author

@mikejolley it's been 25 day's I have created this thread but there is nobody to look into this issue really upsets!

@mikejolley
Copy link
Member

cc @laurendavissmith

@imankiyanoosh
Copy link

Hello everyone I have the same problem but when I try to select an image as you can see in the attachment there is a file selected which does not have name or link. I try to upload different images but none of them are working
Screenshot (398)

@roykho roykho removed their assignment Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue is a confirmed bug.
Projects
None yet
5 participants