Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in #888

Closed
77naveenop opened this issue Apr 30, 2024 · 1 comment

Comments

@77naveenop
Copy link

An error of type E_ERROR was caused in line 560 of the file /home/panel60g/public_html/B-01-Brcomputer.net/wp-content/plugins/pwa-for-wp/admin/common-function.php. Error message: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /home/panel60g/public_html/B-01-Brcomputer.net/wp-content/plugins/pwa-for-wp/admin/common-function.php:560
Stack trace:
#0 /home/panel60g/public_html/B-01-Brcomputer.net/wp-content/plugins/pwa-for-wp/admin/common-function.php(560): fwrite(false, 'var swsource="h...')
#1 /home/panel60g/public_html/B-01-Brcomputer.net/wp-content/plugins/pwa-for-wp/service-work/class-init.php(69): pwaforwp_write_a_file('/home/panel60g/...', 'var swsource="h...', NULL)
#2 /home/panel60g/public_html/B-01-Brcomputer.net/wp-content/plugins/pwa-for-wp/admin/common-function.php(591): PWAFORWP_File_Creation_Init->pwaforwp_swr_init(NULL)
#3 /home/panel60g/public_html/B-01-Brcomputer.net/wp-content/plugins/pwa-for-wp/admin/settings.php(63): pwaforwp_required_file_creation()
#4 /home/panel60g/public_html/B-01-Brcomputer.net/wp-includes/class-wp-hook.php(324): pwaforwp_admin_interface_render('')
#5 /home/panel60g/public_html/B-01-Brcomputer.net/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#6 /home/panel60g/public_html/B-01-Brcomputer.net/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /home/panel60g/public_html/B-01-Brcomputer.net/wp-admin/admin.php(259): do_action('toplevel_page_p...')
#8 {main}
thrown

@Sanjeevsetu Sanjeevsetu changed the title Critical error while save setting Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in Apr 30, 2024
@Sanjeevsetu Sanjeevsetu removed the bug label Apr 30, 2024
@Sanjeevsetu Sanjeevsetu added this to the 1.7.70 milestone Apr 30, 2024
@Sanjeevsetu
Copy link
Collaborator

Related #a7919cb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants