Blank white screen after changing paper_lantern to x3 theme in cPanel

michelle camacho

Registered
Apr 19, 2018
1
0
1
chile
cPanel Access Level
Website Owner

Attachments

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
Hello @michelle camacho,

As a website owner, you won't be able to fix this problem on your own. Please report this to your web hosting provider so they can update the theme assigned to your account to Paper Lantern.

Thank you.
 

Newton Job

Registered
Apr 6, 2022
1
0
0
Nigeria
cPanel Access Level
Root Administrator
This may help someone...

I had the same issue when I tried to switch from paper_lantern to jupiter theme, the blank screen appeared and I couldn't do anything further.
Reaching my hosting providers wasn't an option at that moment as I needed to fix something very urgently.

As a workaround, I noticed that, when you try to switch theme, cPanel actually makes a POST request to /execute/Themes/update while passing the new theme in the body of the request.

For example;
POST https://yourdomain.com:2083/cpsess4879788084/execute/Themes/update
{"theme": "paper_lantern"}

You may imitate this request using any HTTP client like Postman.
You also need to copy the cookies from your browser and add them to the Cookie header of your HTTP request so that the request is authenticated.

I was able to do this and revert back to paper_lantern without reaching out to my hosting providers.

Hope this helps someone.