503 error when trying to save changes

So I updated to the newest version of Pro on my staging site (full copy of the live site, with all plugins, and the same server, etc). Played around with the new layout builder. No issues at all.

But when I try to make changes on the live site, I get the error “Uh Oh! Failed to save” and a console error:
Failed to load resource: the server responded with a status of 403 () https://domain/wp-json/themeco/data/save?_locale=user

Any thoughts?

Update: I think the issue is only on the theme options page. The layouts page seems to have taken effect the next day.

I’ve fully reinstalled Pro as well as clearing all caches.

Update number 2
I had a custom JS on the Theme Options, that was working perfectly fine before. Not sure why it is causing a conflict now. Here is the code:

    (function($){
	var tabnav = location.href.split("#").slice(-1)[0];

	if ( tabnav == 'reviews' ) {    

		$( document ).ready ( function() {

			var navbar = $('.x-navbar').outerHeight();

			$('.x-tab-pane, .x-nav-tabs-item').removeClass('active');

			$('.reviews_tab, .reviews_pane').addClass('active');

			setTimeout ( function() {

				$('html, body').animate({
				scrollTop: $(".woocommerce-tabs").offset().top - navbar
				}, 1000);

			}, 750 );

		} );

	}

})(jQuery);

jQuery(".related.products h2").html("YOU MAY ALSO LIKE");

Hello @nward85,

Thanks for writing in! Just for future topics, self responding or bumping your post pushes it back in our Queue system so it takes longer to respond to.

I have logged in to your site. When I check your theme options, I was able to change and save the changes. Regarding the JS code, I am wondering where you have added the JS code since I cannot find it in the Pro > Theme Options > JS section. Please provide us the URL where we can find the JS code so that we can investigate as well.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.