• ryan11035

    (@ryan11035)


    When saving content, it always shows: An error occurred while updating. How can I solve it?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator threadi

    (@threadi)

    Apparently the server does not report a success message when saving, but something else. There may be various reasons for this.

    E.g. a plugin which puts additional code into the return. To find out, I would recommend deactivating all plugins.

    Or a server-side error. You would be able to see this in the error log. This in turn can be found in your hosting area. Talk to your hoster’s support team about this.

    Hi @ryan11035

    I hope you are doing well.

    That response is too generic so we need to run some troubleshooting first.

    For example, create a Staging https://ww.wp.xz.cn/plugins/wp-staging/ then disable all plugins and try to save the content, if the problem is gone, enable one by one and try to save the content on each time you enable one plugin until the issue returns.

    Another approach is trying to use the debug mode https://wpmudev.com/blog/debugging-wordpress-how-to-use-wp_debug/ and see if any log is generated.

    Best Regards
    Patrick Freitas

    durdesh

    (@durdesh)

    Incorrect file permissions can prevent WordPress from saving or updating.Connect via FTP or use your hosting file manager.Ensure that:wp-content and its subfolders are 755.Files are 644.Check if .htaccess is writable (especially for permalinks).

    Low PHP memory can cause update failures.

    Add this to wp-config.php before /* That’s all, stop editing! */:

    define(‘WP_MEMORY_LIMIT’, ‘256M’);

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

The topic ‘Error saving content’ is closed to new replies.