• Can not update theme, just goes into a hanging state, using mutli site,

    Followed these steps and didnt help

    When you’re experiencing hangs while customizing a theme in a multisite environment, several factors could be at play. Here are some troubleshooting steps to help identify and resolve the issue:

    1. Check for Plugin Conflicts:
      Temporarily disable plugins on the site (or network-wide if needed) to see if a plugin conflict is causing the hang.
    2. Increase PHP Memory Limit:
      In multisite environments, resource demands can be higher. Try increasing your PHP memory limit by adding or updating the following line in your wp-config.php file:phpCopydefine('WP_MEMORY_LIMIT', '256M'); You might need to increase it further if your hosting environment allows.
    3. Review File Permissions and Server Logs:
      Make sure your theme files have the correct permissions (usually 644 for files and 755 for directories). Check your server error logs for any clues that might indicate permission issues or other errors.
    4. Clear Caches:
      Clear any caching at both the server and browser level. Multisite setups often use object caching or page caching that might interfere with theme customization.
    5. Check for JavaScript Errors:
      Open your browser’s developer console to see if there are any JavaScript errors on the Customizer page. Errors here can sometimes cause the interface to hang.
    6. Review Multisite-Specific Configurations:
      Ensure that your multisite network is properly configured. Sometimes network-wide settings, domain mapping, or misconfigured settings in wp-config.php (e.g., SUBDOMAIN_INSTALL or DOMAIN_CURRENT_SITE) can affect theme behavior.
    7. Switch to a Default Theme Temporarily:
      Try switching to a default theme (like Twenty Twenty-Four) on one of the sites and see if the Customizer works. This can help determine if the issue is specific to your custom theme.
    8. Debug Mode:
      Enable WordPress debugging by adding these lines to your wp-config.php file:phpCopydefine('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false); Then check the debug log (wp-content/debug.log) for any errors during the customization process.

    Issue persisted so asking for help here ..

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    It could be your PHP has timed out trying to update the theme. In wp-config.php, add this line:
    @ini_set('max_execution_time', 120 ); //default 30
    When you’re done updating, comment out this line by placing // at the head of the line. Too long of a time allowance can cause more server is busy responses.

    If that does not help any, I recommend manually updating the theme. Obtain the downloaded .zip file and extract its contents to your local computer. If the theme is active, you should temporarily switch to a different theme. Via FTP or your hosting file manager, move the current theme files somewhere safe as a backup. In the move process, the files should have been removed from their current location. Now upload the extracted files to where the theme normally resides. Be sure you maintain the current directory structure. If you had switched themes earlier, you may now activate the updated theme.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.