FreshRSS / FreshRSS/update.freshrss.org

[BUG] Notices/Warnings in error.log when updating

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
9
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

I found these lines in my php error.log after an update
```
[03-Nov-2023 23:52:15 Europe/Berlin] PHP Notice: Only variables should be passed by reference in /XXX/freshRSS/data/update.php on line 156
[03-Nov-2023 23:52:15 Europe/Berlin] PHP Warning: unlink(/XXX/freshRSS/data/shares.php): No such file or directory in /XXX/freshRSS/data/update.php on line 167
[03-Nov-2023 23:52:16 Europe/Berlin] PHP Warning: copy(/XXX/freshRSS/data/update_package/FreshRSS-edge/data/shares.php): Failed to open stream: No such file or directory in /XXX/freshRSS/data/update.php on line 175
```

**Environment information (please complete the following information):**
- FreshRSS version: 1.22.2-dev
- Database version: Mysql

- [ ] PHP Notice
- [x] PHP Warning
- [x] PHP Warning

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.