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() #1274

Open
Abhisheksha1553 opened this issue Aug 12, 2023 · 2 comments
Open

Uncaught TypeError: fwrite() #1274

Abhisheksha1553 opened this issue Aug 12, 2023 · 2 comments

Comments

@Abhisheksha1553
Copy link

Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /Applications/XAMPP/xamppfiles/htdocs/projectsend/includes/functions.php:168 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/projectsend/includes/functions.php(168): fwrite(false, '1691860387\n') #1 /Applications/XAMPP/xamppfiles/htdocs/projectsend/includes/updates.functions.php(18): get_json('https://project...', '-1 days') #2 /Applications/XAMPP/xamppfiles/htdocs/projectsend/includes/core.update.php(17): get_latest_version_data() #3 /Applications/XAMPP/xamppfiles/htdocs/projectsend/header.php(39): require_once('/Applications/X...') #4 /Applications/XAMPP/xamppfiles/htdocs/projectsend/dashboard.php(15): include_once('/Applications/X...') #5 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/projectsend/includes/functions.php on line 168

@computid
Copy link

I'm having the exact same issue. Has anybody found a resolution?

@computid
Copy link

FYI, this is caused by the directory permissions on /cache not being set correctly. I set them to 755 and it seems to work, but that's probably a bit loose.

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

No branches or pull requests

2 participants