PHP Fatal error on PHP 8 (in WPEngine)
-
WP File Manager has been running fine on WPEngine’s implementation of PHP 7.4 but when I moved it to PHP 8 got fatal. Does PHP 8 require us to do something around config for WP File Manager to continue to function or could this be something around the WPEngine PHP 8 environment? The WordPress site is a very simple site so not seeing other issues here. Rolling back to PHP 7.4 fixed it. But, I’m wondering what the heck this could be. Any help/insight appreciated!
Here is one of the repeat error log lines redacted paths and URL
PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /<path>/wp-content/plugins/wp-file-manager-pro/file_folder_manager_pro.php:727\nStack trace:\n#0 /<path>/wp-content/plugins/wp-file-manager-pro/file_folder_manager_pro.php(727): fwrite(false, '<FilesMatch "\\\\....')\n#1 /<path>/wp-includes/class-wp-hook.php(307): mk_file_folder_manager->create_auto_directory('')\n#2 /<path>/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)\n#3 /<path>/wp-includes/plugin.php(476): WP_Hook->do_action(Array)\n#4 /<path>/wp-settings.php(598): do_action('init')\n#5 /<path>/wp-config.php(119): require_once('/nas/content/li...')\n#6 <path>/wp-load.php(50): require_once('/nas/content/li...')\n#7 /<path>/wp-blog-header.php(13): require_once('/nas/content/li...')\n#8 /<path>/index.php(17): require('/nas/content/li...')\n#9 {main}\n thrown in /<path>/wp-content/plugins/wp-file-manager-pro/file_folder_manager_pro.php on line 727, referer: https://site.org
- The topic ‘PHP Fatal error on PHP 8 (in WPEngine)’ is closed to new replies.