Roots Discourse

Updating failed. REST API forbidden

I’ve installed a new WordPress installation and I’m trying to test the soil plugin and used this code below per documentation.

add_theme_support('soil', [
    'clean-up',
    'disable-rest-api',
    'disable-asset-versioning',
    'disable-trackbacks',
    'google-analytics' => 'UA-XXXXX-Y',
    'js-to-footer',
    'nav-walker',
    'nice-search',
    'relative-urls'
]);

I created a page and set a page template in it, it gives me an error Updating failed. REST API forbidden. https://share.getcloudapp.com/6quxgN5N

Obviously I need to comment the ‘disabled-rest-api’ so I was just wondering if this is how it really works? That I’m not able to create a page having those feature enabled. Or do I need to purchase the plugin first? Could someone enlighten me please as I am new to this?

Thank you very much!

This topic was automatically closed after 42 days. New replies are no longer allowed.