Notice: Trying to access array offset on value of type bool in /home/romanwws/public_html/wp-content/plugins/dx-delete-attached-media/dx-delete-attached-media.php on line 28

Fatal error: Uncaught RuntimeException: Failed to start the session because headers have already been sent by "/home/romanwws/public_html/wp-content/plugins/dx-delete-attached-media/dx-delete-attached-media.php" at line 28. in /home/romanwws/public_html/wp-content/themes/wws2/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:149 Stack trace: #0 /home/romanwws/public_html/wp-content/themes/wws2/vendor/symfony/http-foundation/Session/Session.php(57): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /home/romanwws/public_html/wp-content/themes/wws2/lib/Twig/FormHelper.php(31): Symfony\Component\HttpFoundation\Session\Session->start() #2 /home/romanwws/public_html/wp-content/themes/wws2/lib/Twig/FormHelper.php(19): lib\Twig\FormHelper->sessionSetup() #3 /home/romanwws/public_html/wp-content/themes/wws2/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(142): lib\Twig\FormHelper->__construct() #4 /home/romanwws/public_html/wp-content/themes/wws2/vendor/php-di/p in /home/romanwws/public_html/wp-content/themes/wws2/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php on line 149