-
AuthorPosts
-
December 13, 2021 at 5:45 pm #1332623
Hi, we are having issues with editing, creating or really doing anything in the advanced layout builder or not.
This is the error message:
Connection lost. Saving has been disabled until you’re reconnected. We’re backing up this post in your browser, just in case.At times it gets so bad there was a 503 error.
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.
So last week the hosting was upgraded and the issue has not resolved leading me to believe there is a theme issue. We have not made any customizations to the theme so no idea what is wrong here. Thanks for your help!
December 14, 2021 at 4:24 am #1332684Hey nahmialm,
Thank you for the inquiry.
Did you enable the Performance > File Compressions settings? Please try to turn it off first, then add this filter in the functions.php file to temporarily disable the post css manager and prevent the theme from creating meta entries in the database.
/** * Filter to skip css file generation. * You can add logic to skip for certain pages/posts only. * * @since 4.8.6.1 * @param boolean $create * @return boolean true | false or anything else to skip generation of css file */ function custom_avf_post_css_create_file( $create ) { return false; } add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );
You should also update PHP to the latest version (8.0 or later) and create a staging or development version of the site so that you can test it while the plugins are disabled.
Best regards,
IsmaelDecember 14, 2021 at 4:29 pm #1332814Hi there, thanks for the reply, I have taken the steps as you outlined and unfortunately that has not solved the issue. We don’t have the ability to setup a staging account. However, all unnecessary plugins have been deactivated and there is no change in the issue.
December 15, 2021 at 8:58 am #1332900Hi,
Thank you for the update.
We may need to set the installation to debug mode. Again, we would recommend creating a clone of the site on a subdomain for testing. To enable the debug mode and the error logs, please check this documentation.
// https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log
You have to add this code in the wp-config.php file to enable debugging.
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 1 ); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define( 'SCRIPT_DEBUG', true );
We tried to login using the account above but the info are invalid. Please check the account details or provide another admin account so that we can check the dashboard.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.