Just broke my site. Glad I caught it quick. Had to disable the plugin.
Sam fatal error her:
The extension could not be activated because it triggered a fatal error.
Warning: require(/wp-content/plugins/cloudflare/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php): Failed to open stream: No such file or directory in /wp-content/plugins/cloudflare/vendor/symfony/polyfill-intl-normalizer/bootstrap.php on line 15
Same here.
Quick workaround until 4.5.1 is released is to comment out the line 15, in wp-content/plugins/cloudflare/vendor/symfony/polyfill-intl-normalizer/bootstrap.php
:
# return require __DIR__.'/bootstrap80.php';
Or you can manually add the bootstrap80.php
file in that folder.
Get the latest version here : https://raw.githubusercontent.com/symfony/polyfill-intl-normalizer/main/bootstrap80.php
I’m marking this topic as resolved thanx to @gboudreau who gave us 2 fixes for the issue. Thank you @gboudreau
My sites are broken too, here the list of errors that fastcomet gave me:
[02-Jun-2021 19:47:43 UTC] PHP Warning: require(MYDOMAIN/wp-content/plugins/cloudflare/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php): Failed to open stream: No such file or directory in MYDOMAIN/wp-content/plugins/cloudflare/vendor/symfony/polyfill-intl-normalizer/bootstrap.php on line 15
[02-Jun-2021 19:47:43 UTC] PHP Fatal error: Uncaught Error: Failed opening required 'MYDOMAIN/wp-content/plugins/cloudflare/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php' (include_path='.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php') in MYDOMAIN/wp-content/plugins/cloudflare/vendor/symfony/polyfill-intl-normalizer/bootstrap.php:15
Stack trace:
#0 MYDOMAIN/wp-content/plugins/cloudflare/vendor/composer/autoload_real.php(69): require()
#1 MYDOMAIN/wp-content/plugins/cloudflare/vendor/composer/autoload_real.php(59): composerRequire386a6fce91e17b37d63cb251597d5bd5()
#2 MYDOMAIN/wp-content/plugins/cloudflare/vendor/autoload.php(7): ComposerAutoloaderInit386a6fce91e17b37d63cb251597d5bd5::getLoader()
#3 MYDOMAIN/wp-content/plugins/cloudflare/cloudflare.loader.php(3): require_once('/home/sitoinre/...')
#4 MYDOMAIN/wp-content/plugins/cloudflare/cloudflare.php(49): require_once('/home/sitoinre/...')
#5 MYDOMAIN/wp-settings.php(391): include_once('/home/sitoinre/...')
#6 MYDOMAIN/wp-config.php(78): require_once('/home/sitoinre/...')
#7 MYDOMAIN/wp-load.php(37): require_once('/home/sitoinre/...')
#8 MYDOMAIN/wp-blog-header.php(13): require_once('/home/sitoinre/...')
#9 MYDOMAIN/index.php(17): require('/home/sitoinre/...')
#10 {main}
thrown in MYDOMAIN/wp-content/plugins/cloudflare/vendor/symfony/polyfill-intl-normalizer/bootstrap.php on line 15
FYI, the plugin developer(s) gave answers regarding this in the Github repo for this plugin: https://github.com/cloudflare/Cloudflare-WordPress/issues/415#issuecomment-852916096
Basically, they say don’t use PHP 8 with WordPress; it’s still beta.
Which is technically true, but still…