Unable to save content on specific page (Home page) following update

Following the recent update of the pro builder I am no longer able to save changes to a specific page (the home page) with the message ‘Uh oh. Content failed to save!’ I’ve had a look at similar issues on the forum but can’t seem to fix the issue.

Any help with this would be much appreciated, thank you.

Hello Roy,

Thanks for writing in! I have inspected your homepage and I found out that there is a JS error. This might be the reason why the builder does not save. Please edit your page and remove this custom JS code:

//$(function() {
  $('a[href*=#]').on('click', function(e) {
    e.preventDefault();
    $('html, body').animate({ scrollTop: $($(this).attr('href')).offset().top}, 500, 'linear');
  });
});

Kindly let us know how it goes.

Hi,

So I have edited this section of the page, removing the JS. After doing this I hit save, with the same message saying that the content has failed to save. I then did the same thing again since it did not save and that time for whatever reason the content saved.

Following this I wanted to check to see if it was working okay, so I edited some content and hit save again now with the JS removed. However the unable to save message appeared again. I’m not really sure what the issue is but removing the JS seemed to allow me to save but after a go or two of trying and failing.

Hello Roy,

To better assist you with your issue, kindly provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Regards.

Hi,

I have attached a secure note providing the details as requested.

Regards

Hello Roy,

Thanks for providing the information. I have logged in and tested your site. I was able to edit your About Us page. I have successfully added a section (“Added by X Staff” which is hidden from the front end by the way). You can remove it after seeing it.

As soon as I move to edit the homepage, every time I save my changes, I am getting this error in the console:
..../wordpress/wp-admin/admin-ajax.php 500 (Internal Server Error)

This usually happens if you have exhausted your PHP memory limit. ​We recommend that you increase your memory allocated to PHP. To increase it, please edit your wp-config.php file and insert these lines:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You can add it before the line
/*That's all, stop editing! Happy Blogging. */

We would loved to know if this has work for you. Thank you.

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