Title: Error &#8211; PHP 8
Last modified: January 24, 2022

---

# Error – PHP 8

 *  [damtox](https://wordpress.org/support/users/damtox/)
 * (@damtox)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-php-8-4/)
 * Hi,
 *     ```
       #8 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(348): WebPConvert\Convert\Converters\Stack->doActualConvert()
       #9 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(255): WebPConvert\Convert\Converters\AbstractConverter->runActualConvert()
       #10 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(294): WebPConvert\Convert\Converters\AbstractConverter->doConvertImplementation()
       #11 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(366): WebPConvert\Convert\Converters\AbstractConverter->doConvert()
       #12 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/WebPConvert.php(50): WebPConvert\Convert\Converters\AbstractConverter::convert()
       #13 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Serve/ServeConvertedWebP.php(160): WebPConvert\WebPConvert::convert()
       #14 [internal function]: WebPConvert\Serve\ServeConvertedWebP::serve()
       #15 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Serve/ServeConvertedWebPWithErrorHandling.php(143): call_user_func()
       #16 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/WebPConvert.php(81): WebPConvert\Serve\ServeConvertedWebPWithErrorHandling::serve()
       #17 xxx/public_html/wp-content/plugins/webp-express/lib/classes/ConvertHelperIndependent.php(720): WebPConvert\WebP
       2022-01-24 14:05:57.116835 [NOTICE] [285825] [T0] [95.175.7.1:5166#APVH_www.domain.pl] [STDERR] Convert::serveConverted()
       #18 xxx/public_html/wp-content/plugins/webp-express/lib/classes/WebPOnDemand.php(253): WebPExpress\ConvertHelperIndependent::serveConverted()
       #19 xxx/public_html/wp-content/plugins/webp-express/lib/classes/WebPOnDemand.php(270): WebPExpress\WebPOnDemand::processRequestNoTryCatch()
       #20 xxx/public_html/wp-content/plugins/webp-express/wod/webp-on-demand.php(8): WebPExpress\WebPOnDemand::processRequest()
       #21 {main}
         thrown in xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Helpers/BinaryDiscovery.php on line 99
       2022-01-24 14:05:58.464201 [NOTICE] [285825] [T0] [95.175.7.1:5789#APVH_www.domain.pl] [STDERR] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Helpers/BinaryDiscovery.php:99
       Stack trace:
       #0 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Helpers/BinaryDiscovery.php(99): count()
       #1 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Cwebp.php(749): WebPConvert\Helpers\BinaryDiscovery::discoverInstalledBinaries()
       #2 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Cwebp.php(858): WebPConvert\Convert\Converters\Cwebp->discoverCwebpBinaries()
       #3 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(57): WebPConvert\Convert\Converters\Cwebp->doActualConvert()
       #4 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(86): WebPConvert\Convert\Converters\Cwebp->convertTwoAndSelectSmallest()
       #5 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(255): WebPConvert\Convert\Converters\Cwebp->runActualConvert()
       #6 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(294): WebPConvert\Convert\Converters\AbstractConverter->doConvertImplementation()
       #7 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Stack.php(248): WebPConver
       2022-01-24 14:05:58.464224 [NOTICE] [285825] [T0] [95.175.7.1:5789#APVH_www.domain.pl] [STDERR] t\Convert\Converters\AbstractConverter->doConvert()
       #8 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(348): WebPConvert\Convert\Converters\Stack->doActualConvert()
       #9 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(255): WebPConvert\Convert\Converters\AbstractConverter->runActualConvert()
       #10 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(294): WebPConvert\Convert\Converters\AbstractConverter->doConvertImplementation()
       #11 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(366): WebPConvert\Convert\Converters\AbstractConverter->doConvert()
       #12 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/WebPConvert.php(50): WebPConvert\Convert\Converters\AbstractConverter::convert()
       #13 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Serve/ServeConvertedWebP.php(160): WebPConvert\WebPConvert::convert()
       #14 [internal function]: WebPConvert\Serve\ServeConvertedWebP::serve()
       #15 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Serve/ServeConvertedWebPWithErrorHandling.php(143): call_user_func()
       #16 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/WebPConvert.php(81): WebPConvert\Serve\ServeConvertedWebPWithErrorHandling::serve()
       #17 xxx/public_html/wp-content/plugins/webp-express/lib/classes/ConvertHelperIndependent.php(720): WebPConvert\WebP
       2022-01-24 14:05:58.464232 [NOTICE] [285825] [T0] [95.175.7.1:5789#APVH_www.domain.pl] [STDERR] Convert::serveConverted()
       #18 xxx/public_html/wp-content/plugins/webp-express/lib/classes/WebPOnDemand.php(253): WebPExpress\ConvertHelperIndependent::serveConverted()
       #19 xxx/public_html/wp-content/plugins/webp-express/lib/classes/WebPOnDemand.php(270): WebPExpress\WebPOnDemand::processRequestNoTryCatch()
       #20 xxx/public_html/wp-content/plugins/webp-express/wod/webp-on-demand.php(8): WebPExpress\WebPOnDemand::processRequest()
       #21 {main}
         thrown in xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Helpers/BinaryDiscovery.php on line 99
       2022-01-24 14:06:02.723391 [NOTICE] [285825] [T0] [95.175.7.1:5788#APVH_www.domain.pl] [STDERR] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Helpers/BinaryDiscovery.php:99
       Stack trace:
       #0 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Helpers/BinaryDiscovery.php(99): count()
       #1 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Cwebp.php(749): WebPConvert\Helpers\BinaryDiscovery::discoverInstalledBinaries()
       #2 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Cwebp.php(858): WebPConvert\Convert\Converters\Cwebp->discoverCwebpBinaries()
       #3 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(57): WebPConvert\Convert\Converters\Cwebp->doActualConvert()
       #4 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(86): WebPConvert\Convert\Converters\Cwebp->convertTwoAndSelectSmallest()
       #5 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(255): WebPConvert\Convert\Converters\Cwebp->runActualConvert()
       #6 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(294): WebPConvert\Convert\Converters\AbstractConverter->doConvertImplementation()
       #7 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Stack.php(248): WebPConver
       2022-01-24 14:06:02.723408 [NOTICE] [285825] [T0] [95.175.7.1:5788#APVH_www.domain.pl] [STDERR] t\Convert\Converters\AbstractConverter->doConvert()
       #8 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(348): WebPConvert\Convert\Converters\Stack->doActualConvert()
       #9 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(255): WebPConvert\Convert\Converters\AbstractConverter->runActualConvert()
       #10 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(294): WebPConvert\Convert\Converters\AbstractConverter->doConvertImplementation()
       #11 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(366): WebPConvert\Convert\Converters\AbstractConverter->doConvert()
       #12 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/WebPConvert.php(50): WebPConvert\Convert\Converters\AbstractConverter::convert()
       #13 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Serve/ServeConvertedWebP.php(160): WebPConvert\WebPConvert::convert()
       #14 [internal function]: WebPConvert\Serve\ServeConvertedWebP::serve()
       #15 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Serve/ServeConvertedWebPWithErrorHandling.php(143): call_user_func()
       #16 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/WebPConvert.php(81): WebPConvert\Serve\ServeConvertedWebPWithErrorHandling::serve()
       #17 xxx/public_html/wp-content/plugins/webp-express/lib/classes/ConvertHelperIndependent.php(720): WebPConvert\WebP
       2022-01-24 14:06:02.723415 [NOTICE] [285825] [T0] [95.175.7.1:5788#APVH_www.domain.pl] [STDERR] Convert::serveConverted()
       #18 xxx/public_html/wp-content/plugins/webp-express/lib/classes/WebPOnDemand.php(253): WebPExpress\ConvertHelperIndependent::serveConverted()
       #19 xxx/public_html/wp-content/plugins/webp-express/lib/classes/WebPOnDemand.php(270): WebPExpress\WebPOnDemand::processRequestNoTryCatch()
       #20 xxx/public_html/wp-content/plugins/webp-express/wod/webp-on-demand.php(8): WebPExpress\WebPOnDemand::processRequest()
       #21 {main}
         thrown in xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Helpers/BinaryDiscovery.php on line 99
       2022-01-24 14:06:05.703859 [NOTICE] [285825] [T0] [95.175.7.1:5788-1#APVH_www.domain.pl:lsapi] [STDERR] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Helpers/BinaryDiscovery.php:99
       Stack trace:
       #0 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Helpers/BinaryDiscovery.php(99): count()
       #1 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Cwebp.php(749): WebPConvert\Helpers\BinaryDiscovery::discoverInstalledBinaries()
       #2 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Cwebp.php(858): WebPConvert\Convert\Converters\Cwebp->discoverCwebpBinaries()
       #3 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(57): WebPConvert\Convert\Converters\Cwebp->doActualConvert()
       #4 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(86): WebPConvert\Convert\Converters\Cwebp->convertTwoAndSelectSmallest()
       #5 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(255): WebPConvert\Convert\Converters\Cwebp->runActualConvert()
       #6 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(294): WebPConvert\Convert\Converters\AbstractConverter->doConvertImplementation()
       #7 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Stack.php(248): WebPConver
       2022-01-24 14:06:05.703877 [NOTICE] [285825] [T0] [95.175.7.1:5788-1#APVH_www.domain.pl:lsapi] [STDERR] t\Convert\Converters\AbstractConverter->doConvert()
       #8 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(348): WebPConvert\Convert\Converters\Stack->doActualConvert()
       #9 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(255): WebPConvert\Convert\Converters\AbstractConverter->runActualConvert()
       #10 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(294): WebPConvert\Convert\Converters\AbstractConverter->doConvertImplementation()
       #11 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(366): WebPConvert\Convert\Converters\AbstractConverter->doConvert()
       #12 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/WebPConvert.php(50): WebPConvert\Convert\Converters\AbstractConverter::convert()
       #13 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Serve/ServeConvertedWebP.php(160): WebPConvert\WebPConvert::convert()
       #14 [internal function]: WebPConvert\Serve\ServeConvertedWebP::serve()
       #15 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Serve/ServeConvertedWebPWithErrorHandling.php(143): call_user_func()
       #16 xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/WebPConvert.php(81): WebPConvert\Serve\ServeConvertedWebPWithErrorHandling::serve()
       #17 xxx/public_html/wp-content/plugins/webp-express/lib/classes/ConvertHelperIndependent.php(720): WebPConvert\WebP
       2022-01-24 14:06:05.703882 [NOTICE] [285825] [T0] [95.175.7.1:5788-1#APVH_www.domain.pl:lsapi] [STDERR] Convert::serveConverted()
       #18 xxx/public_html/wp-content/plugins/webp-express/lib/classes/WebPOnDemand.php(253): WebPExpress\ConvertHelperIndependent::serveConverted()
       #19 xxx/public_html/wp-content/plugins/webp-express/lib/classes/WebPOnDemand.php(270): WebPExpress\WebPOnDemand::processRequestNoTryCatch()
       #20 xxx/public_html/wp-content/plugins/webp-express/wod/webp-on-demand.php(8): WebPExpress\WebPOnDemand::processRequest()
       #21 {main}
         thrown in xxx/public_html/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Helpers/BinaryDiscovery.php on line 99
       2022-01-24 14:17:30.162684 [NOTICE] [302100] [T10] [95.175.7.1:6427#APVH_www.domain.pl:MODSEC] mod_security rule [id "77140163"] at [/etc/modsecurity.d/001_i360_1_generic.conf:17] triggered! 
       2022-01-24 14:17:30.165645 [NOTICE] [302100] [T10] [95.175.7.1:6427#APVH_www.domain.pl:MODSEC] mod_security rule [id "77140164"] at [/etc/modsecurity.d/002_i360_1_infectors.conf:52] triggered! 
       2022-01-24 14:17:30.165755 [NOTICE] [302100] [T10] [95.175.7.1:6427#APVH_www.domain.pl:MODSEC] mod_security rule [id "77140882"] at [/etc/modsecurity.d/002_i360_1_infectors.conf:66] triggered! 
       ```
   
 * How to fix it?

The topic ‘Error – PHP 8’ is closed to new replies.

 * ![](https://ps.w.org/webp-express/assets/icon.svg?rev=1918288)
 * [WebP Express](https://wordpress.org/plugins/webp-express/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/webp-express/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/webp-express/)
 * [Active Topics](https://wordpress.org/support/plugin/webp-express/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/webp-express/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/webp-express/reviews/)

 * 0 replies
 * 0 participants
 * Last reply from: [damtox](https://wordpress.org/support/users/damtox/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/error-php-8-4/)
 * Status: not resolved