3

Since the last Wordpress update, I can't read new version notes when trying to update a plugin in my dashboard. enter image description here

The same thing happens when I try to read an plugin's details.

How can I fix that ?

Edit:

Here's what I get from my browser's console when trying to view a plugin's details:

enter image description here

2
  • No script errors or network errors in your browser's debug console? No errors from WordPress? Does right-click, open in new tab show the details correctly?
    – Rup
    May 19 '16 at 11:47
  • 1
    @Rup I looked at the debug console and I noticed that I have some errors (14). Most of them are net::ERR_BLOCKED_BY_CLIENT or websocket errors (403). Opening the link in a new tab works well.
    – Mehdi
    May 19 '16 at 13:36
4

Your error log does tell you the reason, it's the part about:

Refused to display ... in a frame because it set to 'X-Frame-Origin' to 'SAMEORIGIN,DENY'

And the reason for that is the one about "conflicting values" before it.

WordPress core only sends SAMEORIGIN value in admin screens, via send_frame_options_header(). So DENY is coming from elsewhere and is what messes things up.

Search your sources for DENY and inquire with hosting support if it's something web server might be configured to add.

2

Thanks for your answer @rarst. The issue came from my nginx configuration.

I just had to change add_header X-Frame-Options deny; to add_header X-Frame-Options "SAMEORIGIN" always;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.