• Resolved Stormkyleis

    (@storm-kyleis)


    Hello,

    we encountered this issue in two of our articles: when we try to edit them, we always get the message “Updating Failed”, the edit doesn’t go through, and we get logged out. Any other article seemingly works fine.

    • We have WordPress 5.2.0, phpBB 3.2.5, WP w3all phpBB 1.9.8, and PHP 7.2.
    • We have the new default editor (Gutenberg); the issue does not occur with the classic editor.
    • Both articles have a gallery in them. This may or may not matter, it’s the only thing in common that I can think of.
    • We used the “Health Check & Troubleshooting” plugin, and the issue would only occur while this plugin was activated. The theme and the other plugins did not make any difference.
    • Disabling Activate integration without linking users between WordPress and phpBB fixed the problem (this isn’t a satisfactory solution, of course, we do want the integration).

    This is what we had in the Console tab in Inspect element:

    /wp-json/wp/v2/media/792?context=edit&_locale=user:1 Failed to load resource: the server responded with a status of 403 ()
    /wp-json/wp/v2/users/?who=authors&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 403 ()
    /wp-json/wp/v2/taxonomies?per_page=100&context=edit&_locale=user:1 Failed to load resource: the server responded with a status of 403 ()
    2redux-routine.min.js?ver=3.0.4:1 Uncaught (in promise) Error: [object Response]
        at redux-routine.min.js?ver=3.0.4:1
        at redux-routine.min.js?ver=3.0.4:1
    2redux-routine.min.js?ver=3.0.4:1 Uncaught (in promise) Error: [object Object]
        at redux-routine.min.js?ver=3.0.4:1
        at redux-routine.min.js?ver=3.0.4:1
    /wp-json/wp/v2/types/wp_block?_locale=user:1 Failed to load resource: the server responded with a status of 403 ()
    editor.min.js?ver=9.0.11:12 Uncaught (in promise) Object
    7redux-routine.min.js?ver=3.0.4:1 Uncaught (in promise) Error: [object Object]
        at redux-routine.min.js?ver=3.0.4:1
        at redux-routine.min.js?ver=3.0.4:1
    /wp-json/wp/v2/posts/74?_locale=user:1 Failed to load resource: the server responded with a status of 403 ()

    However, sometimes the console was empty and we still got the error. Not sure if this is related or not.

    Any idea of what the problem could be?

    • This topic was modified 5 years, 6 months ago by Stormkyleis.
    • This topic was modified 5 years, 6 months ago by Stormkyleis.
Viewing 16 replies (of 16 total)
  • Thread Starter Stormkyleis

    (@storm-kyleis)

    So… no, fixing the cookies did not fix the problem.

    Our host also couldn’t identify the problem. However, we activated WP_DEBUG and noticed that every time we open the editor of said articles, this error shows up in our debug.log:

    [15-May-2019 15:49:54 UTC] PHP Warning: mysqli_real_connect(): (HY000/1226): User '***' has exceeded the 'max_user_connections' resource (current value: 30) in ***/wp/wp-includes/wp-db.php on line 1612

    • This reply was modified 5 years, 6 months ago by Stormkyleis.
Viewing 16 replies (of 16 total)
  • The topic ‘Editing an article while this plugin is on results in “Updating Failed” + logout’ is closed to new replies.