PHP Fatal error: Uncaught TypeError: fclose()
-
I’m unable to activate the plugin. I receive the following error.
nginx 1.23.0
PHP 8.0.20[13-Jul-2022 20:11:13 UTC] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpf-includes/functions.php:843 Stack trace: #0 /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpf-includes/functions.php(843): fclose(false) #1 /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpf-includes/class-cache.php(55): wpforo_write_file('/usr/opt/www/hz...', '') #2 /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpf-includes/class-cache.php(49): wpForoCache->mkdir(Array) #3 /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpf-includes/class-cache.php(19): wpForoCache->dir('/usr/opt/www/hz...') #4 /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpf-includes/class-cache.php(11): wpForoCache->init() #5 /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpforo.php(146): wpForoCache->__construct() #6 /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpforo.php(112): wpForo->__construct() #7 /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpforo.php(1158): wpForo::instance() #8 /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpforo.php(1163): WPF() #9 /usr/opt/www/example.com/httpdocs/blog-test/wp-admin/includes/plugin.php(2313): include_once('/usr/opt/www/ex...') #10 /usr/opt/www/example.com/httpdocs/blog-test/wp-admin/includes/plugin.php(661): plugin_sandbox_scrape('wpforo/wpforo.p...') #11 /usr/opt/www/example.com/httpdocs/blog-test/wp-admin/plugins.php(58): activate_plugin('wpforo/wpforo.p...', 'https://www.exa...', false) #12 {main} thrown in /usr/opt/www/example.com/httpdocs/blog-test/wp-content/plugins/wpforo/wpf-includes/functions.php on line 843
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Fatal error: Uncaught TypeError: fclose()’ is closed to new replies.