Title: Settings Screen Not Loading
Last modified: November 15, 2022

---

# Settings Screen Not Loading

 *  Resolved [vontweb](https://wordpress.org/support/users/vontweb/)
 * (@vontweb)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/settings-screen-not-loading-2/)
 * I am getting the “Something went wrong when trying to load the Block Visibility
   settings. Try refreshing the page. If the error persists, please contact support.”
   error.
 * Wordpress is updated to 6.1. I switched themes to Twenty Twenty Two and disabled
   all plugins except Block Visibility but the problem persists.
 * Note: the site is PW protected because it isn’t live. It is hosted at Flywheel,
   but this is the only site having issues with the Settings screen.
 * There is a 404 error in the console:
    [https://www.growingwildfilm.com/index.php?rest_route=/block-visibility/v1/variables?type=simplified](https://www.growingwildfilm.com/index.php?rest_route=/block-visibility/v1/variables?type=simplified)`{
   code: “rest_no_route”, message: “No route was found matching the URL and request
   method.”,…}

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * (@ndiego)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/settings-screen-not-loading-2/#post-16201076)
 * Hi [@vontweb](https://wordpress.org/support/users/vontweb/),
 * I am wondering if the PW protection is blocking access to the REST API, which
   in turn is causing the failure. What are you using to enable PW protection? I
   can try replicating on my end.
 * Thanks!
 * Nick
 *  Thread Starter [vontweb](https://wordpress.org/support/users/vontweb/)
 * (@vontweb)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/settings-screen-not-loading-2/#post-16201125)
 * I had tried that but it didn’t help (and I just tried again to make sure). The
   PW protection is provided by Flywheel via their dashboard and acts like an old
   htaccess popup login. I have other sites in development that use your plugin 
   and have password protection enabled but this is the only one having issues. 
   I submitted a ticket to Flywheel to see if they can see anything on their end
   because this could very well be a hosting issue. I’m going at it from both sides…
 *  Thread Starter [vontweb](https://wordpress.org/support/users/vontweb/)
 * (@vontweb)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/settings-screen-not-loading-2/#post-16201694)
 * Flywheel reported no issues. I checked the logs and see that the rest of the 
   plugin REST routes work, but this one doesn’t.
 * Works:
    [https://www.growingwildfilm.com/index.php?rest_route=/block-visibility/v1/settings](https://www.growingwildfilm.com/index.php?rest_route=/block-visibility/v1/settings)
 * 404:
    [https://www.growingwildfilm.com/index.php?rest_route=/block-visibility/v1/variables?type=simplified](https://www.growingwildfilm.com/index.php?rest_route=/block-visibility/v1/variables?type=simplified)
 * results in No route was found matching the URL and request method
 * but removing the type=simplified works parameter
    [https://www.growingwildfilm.com/index.php?rest_route=/block-visibility/v1/variables](https://www.growingwildfilm.com/index.php?rest_route=/block-visibility/v1/variables)
 *  Plugin Author [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * (@ndiego)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/settings-screen-not-loading-2/#post-16201936)
 * Thank you for this additional information. I believe I can see the issue now.
   The URL contains two `?` due to the way the routes are setup.
 * Typically REST API endpoints are located at [https://www.examplesite.com/](https://www.examplesite.com/)**
   wp-json**/block-visibility/v1/variables?type=simplified, not [https://www.examplesite.com/](https://www.examplesite.com/)**
   index.php?rest_route=**/block-visibility/v1/variables?type=simplified.
 * Are you able to share a bit more about the site setup? This will likely require
   a quick fix in the plugin itself to account for such a REST route configuration
   but is definitely feasible.
 * Thanks!
 * Nick
 *  Thread Starter [vontweb](https://wordpress.org/support/users/vontweb/)
 * (@vontweb)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/settings-screen-not-loading-2/#post-16201974)
 * All set! Nick, your post made me check permalink settings and they were set to“
   simple.” This is a one page site and I hadn’t set permalinks to “post name.” 
   So now I know that front-end site permalink settings can affect back-end processing.
   Thanks for the quick help!
 *  Plugin Author [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * (@ndiego)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/settings-screen-not-loading-2/#post-16201978)
 * Oh wow, fascinating. I’m sorry you had to go through that, but I learned something
   as well!
 * Please don’t hesitate to reach out if I can be of further assistance.
 * Best,
    Nick

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Settings Screen Not Loading’ is closed to new replies.

 * ![](https://ps.w.org/block-visibility/assets/icon-256x256.png?rev=3122657)
 * [Block Visibility — Conditional Visibility Control for the Block Editor](https://wordpress.org/plugins/block-visibility/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-visibility/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-visibility/)
 * [Active Topics](https://wordpress.org/support/plugin/block-visibility/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-visibility/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-visibility/reviews/)

## Tags

 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 6 replies
 * 2 participants
 * Last reply from: [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/settings-screen-not-loading-2/#post-16201978)
 * Status: resolved