Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.76k stars 886 forks source link

New update got my WP-admin totally stuck #2183

Closed 99coins closed 9 years ago

99coins commented 9 years ago

Hey guys, I've just updated to the latest version of Yoast SEO and since then the plugin continuously redirects me to the intro page without allowing me to do ANYTHING on my WP admin. Please look into this as soon as you can. Thanks.

CarolineGeven commented 9 years ago

Thanks for reporting this issue. Unfortunately we do not have enough information to reproduce this problem. Please answer the following questions so we can try to figure out what is going on and help us reproduce it.

Thanks in advance for providing the above information.

99coins commented 9 years ago

http://99bitcoins.com wp4.1.1 I'm hosted on WP engine Single website I'm trying to disable the plugin from the DB as we speak to see if this resolves it, but it happened the second after updating so I'm pretty sure that's the issue. Here is all of my .htaccess file since I'm not sure which parts you need:

BEGIN W3TC Browser Cache

AddType text/css .css AddType text/x-component .htc AddType application/x-javascript .js AddType application/javascript .js2 AddType text/javascript .js3 AddType text/x-js .js4 AddType text/html .html .htm AddType text/richtext .rtf .rtx AddType image/svg+xml .svg .svgz AddType text/plain .txt AddType text/xsd .xsd AddType text/xsl .xsl AddType text/xml .xml AddType video/asf .asf .asx .wax .wmv .wmx AddType video/avi .avi AddType image/bmp .bmp AddType application/java .class AddType video/divx .divx AddType application/msword .doc .docx AddType application/vnd.ms-fontobject .eot AddType application/x-msdownload .exe AddType image/gif .gif AddType application/x-gzip .gz .gzip AddType image/x-icon .ico AddType image/jpeg .jpg .jpeg .jpe AddType application/json .json AddType application/vnd.ms-access .mdb AddType audio/midi .mid .midi AddType video/quicktime .mov .qt AddType audio/mpeg .mp3 .m4a AddType video/mp4 .mp4 .m4v AddType video/mpeg .mpeg .mpg .mpe AddType application/vnd.ms-project .mpp AddType application/x-font-otf .otf AddType application/vnd.oasis.opendocument.database .odb AddType application/vnd.oasis.opendocument.chart .odc AddType application/vnd.oasis.opendocument.formula .odf AddType application/vnd.oasis.opendocument.graphics .odg AddType application/vnd.oasis.opendocument.presentation .odp AddType application/vnd.oasis.opendocument.spreadsheet .ods AddType application/vnd.oasis.opendocument.text .odt AddType audio/ogg .ogg AddType application/pdf .pdf AddType image/png .png AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx AddType audio/x-realaudio .ra .ram AddType application/x-shockwave-flash .swf AddType application/x-tar .tar AddType image/tiff .tif .tiff AddType application/x-font-ttf .ttf .ttc AddType audio/wav .wav AddType audio/wma .wma AddType application/vnd.ms-write .wri AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw AddType application/zip .zip ExpiresActive On ExpiresByType text/css A31536000 ExpiresByType text/x-component A31536000 ExpiresByType application/x-javascript A31536000 ExpiresByType application/javascript A31536000 ExpiresByType text/javascript A31536000 ExpiresByType text/x-js A31536000 ExpiresByType text/html A3600 ExpiresByType text/richtext A3600 ExpiresByType image/svg+xml A3600 ExpiresByType text/plain A3600 ExpiresByType text/xsd A3600 ExpiresByType text/xsl A3600 ExpiresByType text/xml A3600 ExpiresByType video/asf A31536000 ExpiresByType video/avi A31536000 ExpiresByType image/bmp A31536000 ExpiresByType application/java A31536000 ExpiresByType video/divx A31536000 ExpiresByType application/msword A31536000 ExpiresByType application/vnd.ms-fontobject A31536000 ExpiresByType application/x-msdownload A31536000 ExpiresByType image/gif A31536000 ExpiresByType application/x-gzip A31536000 ExpiresByType image/x-icon A31536000 ExpiresByType image/jpeg A31536000 ExpiresByType application/json A31536000 ExpiresByType application/vnd.ms-access A31536000 ExpiresByType audio/midi A31536000 ExpiresByType video/quicktime A31536000 ExpiresByType audio/mpeg A31536000 ExpiresByType video/mp4 A31536000 ExpiresByType video/mpeg A31536000 ExpiresByType application/vnd.ms-project A31536000 ExpiresByType application/x-font-otf A31536000 ExpiresByType application/vnd.oasis.opendocument.database A31536000 ExpiresByType application/vnd.oasis.opendocument.chart A31536000 ExpiresByType application/vnd.oasis.opendocument.formula A31536000 ExpiresByType application/vnd.oasis.opendocument.graphics A31536000 ExpiresByType application/vnd.oasis.opendocument.presentation A31536000 ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000 ExpiresByType application/vnd.oasis.opendocument.text A31536000 ExpiresByType audio/ogg A31536000 ExpiresByType application/pdf A31536000 ExpiresByType image/png A31536000 ExpiresByType application/vnd.ms-powerpoint A31536000 ExpiresByType audio/x-realaudio A31536000 ExpiresByType image/svg+xml A31536000 ExpiresByType application/x-shockwave-flash A31536000 ExpiresByType application/x-tar A31536000 ExpiresByType image/tiff A31536000 ExpiresByType application/x-font-ttf A31536000 ExpiresByType audio/wav A31536000 ExpiresByType audio/wma A31536000 ExpiresByType application/vnd.ms-write A31536000 ExpiresByType application/vnd.ms-excel A31536000 ExpiresByType application/zip A31536000 Header append Vary User-Agent env=!dont-vary AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json # DEFLATE by extension AddOutputFilter DEFLATE js css htm html xml

<FilesMatch ".(css|htc|js|js2|js3|js4|CSS|HTC|JS|JS2|JS3|JS4)$"> FileETag MTime Size

Header set Pragma "public" Header append Cache-Control "public"

<FilesMatch ".(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$"> FileETag MTime Size

Header set Pragma "public" Header append Cache-Control "public"

<FilesMatch ".(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$"> FileETag MTime Size

Header set Pragma "public" Header append Cache-Control "public"

END W3TC Browser Cache

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

END WordPress

RLimitMEM max

CarolineGeven commented 9 years ago

Could you please let us know which plugins are currently active on your website?

99coins commented 9 years ago

I've currently disabled the plugin from DB and everything is back to normal. I will wait to find out what's the issue before re-enabling. Here is my plugin list

Akismet Autoptimize Bitcoin Ticker Widget
Bunyad Page Builder Bunyad Shortcodes
Bunyad Widgets
Compress JPEG & PNG images
Contact Form 7
CSS3 Responsive Web Pricing Tables Grids
Custom Sidebars External Links
Flyzoo - Live Support & Group Chat
Insert HTML Snippet KingSumo Giveaways
Ninja Pages, Categories, and Tags
Ofir's Fast Redirect
Page Excerpt
Really Simple CAPTCHA
Regenerate Thumbnails
Revolution Slider
Thrive Leads
Ultimate Social Deux
Video SEO for WordPress SEO by Yoast
WordPress Editorial Calendar
WordPress SEO
WP-Optimize

CarolineGeven commented 9 years ago

Could you create a staging environment for us? As you're with WP-engine, you're able to create a staging area (http://wpengine.com/support/staging/) When you've done this, please give us access by creating a new admin user and then send the username and password to support@yoast.com.

99coins commented 9 years ago

Done: http://bitcoins.staging.wpengine.com/ I've emailed you the details You'll notice that the staging was created before the update so you can see everything will work well and when you update it will get stuck.

bkduper commented 9 years ago

EXACT Same issue - this is horrible...

tacoverdo commented 9 years ago

@bkduper That information really isn't helpful at all. Please provide all the information @CarolineGeven requested above.

CarolineGeven commented 9 years ago

With the help of @99coins we were able to reproduce this issue and are going to work on a fix.

GeekITGirl commented 9 years ago

On which website does this occur?
lostdogcafe.com

What version of WordPress are you running?
4.1.1

What kind of webserver are you running (Apache, Nginx,IIS)? Apache

Can you copy paste the relevant part of your .htaccess file? This means: everything regarding redirects and rewrite rules.

RewriteEngine On RewriteCond %{QUERY_STRING} ^(%2d|-)[^=]+$ [NC] RewriteRule ^(.*) $1? [L]

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

END WordPress

If you remove the plugin folder from /wp-content/plugins, does this solve the issue? Yes

Are you running a multisite or a single site website? Single site

99coins commented 9 years ago

Has this been fixed yet ?

chillybin commented 9 years ago

Got the same issue, rolling back to 1.7.4

simonhampel commented 9 years ago

I have this issue too - running WP 3.9.3

Demitjev commented 9 years ago

Same here too. I know tacoverdo really doesn't like this comments at all, but when one know this is the same issue, I think it is alright to say so :/

tacoverdo commented 9 years ago

@chillybin, @simonhampel & @Demitjev: Can you please answer the questions @CarolineGeven asked above (except for the .htaccess-part)? We'll have to find the one thing you have in common, as we're still unable to reproduce the problem on local development machines.

@GeekITGirl: THANKS! We've been able to rule out .htaccess-settings as a possible cause for the problem.

@ all, could you please paste a list of the active plugins and theme on your website? If you don't want that information out in the open, please feel free to email it to support@yoast.com with a reference to this issue. Thank you all very much for your cooperation :)

chillybin commented 9 years ago

@tacoverdo @CarolineGeven

On which website does this occur? sassymamahk.com What version of WordPress are you running? 4.1.1 latest What kind of webserver are you running (Apache, Nginx,IIS)? apache? wpengine If you remove the plugin folder from /wp-content/plugins, does this solve the issue? yes Are you running a multisite or a single site website? single

Upgrade worked to 2.0 Admin Columns - ACF add-on Admin Columns Pro AdRotate Professional Advanced Custom Fields Pro Akismet BE Stats Disqus Comment System Genesis Simple Sidebars Google Analytics by Yoast Jetpack by WordPress.com Relevanssi Soliloquy UberMenu 3 - The Ultimate WordPress Mega Menu WordPress SEO WP Remote

Upgrade did not work to 2.0, stuck in endless loop. >> are unique plugins to this site Admin Columns - ACF add-on Admin Columns Pro AdRotate Professional Advanced Custom Fields Pro Akismet BE Stats Disqus Comment System Genesis Simple Sidebars Google Analytics by Yoast Gravity Forms Jetpack by WordPress.com Regenerate Thumbnails Relevanssi Search & Replace Soliloquy UberMenu 3 - The Ultimate WordPress Mega Menu WordPress SEO WP Remote

stephendanielkarpik commented 9 years ago

same issue for me installed latest update and update welcome page keeps refreshing and won't let me get anywhere else in admin area

On which website does this occur? elanaspantry.com What version of WordPress are you running? 4.1.1 What kind of webserver are you running (Apache, Nginx,IIS)? Apache Can you copy paste the relevant part of your .htaccess file? This means: everything regarding redirects and rewrite rules.

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

END WordPress

If you remove the plugin folder from /wp-content/plugins, does this solve the issue? yes Are you running a multisite or a single site website? no

ghost commented 9 years ago

Temporary solution to deactivate the plugin: http://[yourwebsite.com]l/wp-admin/plugins.php?action=deactivate&plugin=wordpress-seo%2Fwp-seo.php&plugin_status=all&paged=1&s&_wpnonce=304ec9b069 (This is just the 'copy link address' of the deactivate-link on the plugins-page. Hope this works, but I'm thinking that the last number might be site specific?

What I did: View source of plugin page: (copy paste in browser address bar) ---> view-source:http://[yourwebsite.com]/wp-admin/plugins.php Ctrl-F: Wordpress SEO --> then look for the first < span class='deactivate'> after that --> click first link that comes after.

Good luck with the fix guys!

joshleecreates commented 9 years ago

I am getting this same error on WP Engine — If this helps, I did NOT get this error when I activated the plugin on my local development, but after I pushed the updates using WPE's git push to deploy feature, when I loaded the admin area on the production site I am now stuck in this endless redirect loop.

Is there logic in the activation hook that is necessary to prevent the endless loop, and that logic is getting skipped when the plugin is updated via the file system directly?

tacoverdo commented 9 years ago

We've created a beta that should fix this problem.

@joshleecreates (and others), can you please overwrite the WordPress SEO folder with this one, after the problem occurs on your website after an upgrade. Does that solve it?

Download the WPSEO beta here

99coins commented 9 years ago

This update works for me, thanks!

tacoverdo commented 9 years ago

@99coins Thanks a million for your feedback!

I really hope @Quizious, @joshleecreates, @stephendanielkarpik, @GeekITGirl and others will also confirm this solves the problem.

bkduper commented 9 years ago

So just upload JUST this new plugin folder and not the old one right?

tacoverdo commented 9 years ago

In fact, we've just released WordPress SEO 2.0.1, so all you should have to do is update to the latest version!

tacoverdo commented 9 years ago

Since we've received no further reports about this being broken, I'll close this issue. Thanks @99coins for your great help here. We really appreciate it!

lezardrouge commented 9 years ago

I just updated from 1.7.4 to 2.0.1 (official release) and I have troubles with plugin settings. Do I post them here or do you prefer a new issue ?

GeekITGirl commented 9 years ago

@tacoverdo Can now update the plugin, but when activating I get the white screen Admin page. Help please!

joshleecreates commented 9 years ago

@tacoverdo this is fixed for me with the 2.0.1 update, many thanks!