Argument must be of type resource, bool given
-
I’m having this error, that I have no idea how to troubleshoot:
PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given
Stack trace:
0 /httpdocs/wp-content/plugins/wp-all-import/controllers/admin/import.php(2797): fwrite()
1 /httpdocs/wp-content/plugins/wp-all-import/plugin.php(622): PMXI_Admin_Import->process()
2 /httpdocs/wp-includes/class-wp-hook.php(324): PMXI_Plugin->adminInit()
3 /httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
4 /httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
5 /httpdocs/wp-admin/admin.php(175): do_action()
Any ideas why it’s giving a bool instead of a resource? I tried de-activating and re-activating the plugin, but it doesn’t work.
- The topic ‘Argument must be of type resource, bool given’ is closed to new replies.