Hello.
To understand what happened, we need to look at the errors. To do this, enable debug mode - add these lines to the <strong>wp-config.php</strong> file:
`define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );`
After that, run the optimization and wait for the error.
Error messages will appear in the <strong>wp-content/debug.log</strong> file. Send them all here