Fix invalid Jetpack token on WordPress

Hi, recently I got a problem with my Jetpack installation on my WordPress. I don’t know when it began not working and the dumb part is I didn’t know which WordPress account attached on my Jetpack. 😀

Every time I reinstalled the Jetpack plugin, It was already connected to WordPress and I was unable to disconnect through wp-admin, I got no idea, I just got a blank page when I clicked the disconnect link.

I also got error notification, it told me that I have invalid Jetpack token.

So, finally I have to remove the token manually through mysql and reconnect the Jetpack. Here is what I did.

Open terminal and remote my VPS, then I login to mysql and execute the following command.

See your mysql user and password in your wp-config.php file.

mysql -u username -p

delete from wp_options where option_name = 'jetpack_options';

Now the Jetpack will ask to connect to WordPress.

That’s it.

Iklan

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s