Undefined array key "scheme" at /var/www/html/nextcloud/apps/news/lib/Vendor/FeedIo/Feed/Node.php#159

Open
#3,787 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
php
Domain
backend

Research direction

Start at apps/news/lib/Vendor/FeedIo/Feed/Node.php line 159 and inspect how the feed node reads the scheme key during cron processing. Reproduce with the News app and system cron while checking nextcloud.log. Done means the recurring undefined array key "scheme" message no longer appears for the affected feed.

Written by the indexing model from the issue text.

Description

bug help wanted needs info

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

  • I have read the CONTRIBUTING.md and followed the provided tips
  • I accept that the issue will be closed without comment if I do not check here
  • I accept that the issue will be closed without comment if I do not fill out all items in the issue template.

Explain the Problem

The log is spammed with the error message Undefined array key "scheme" at /var/www/html/nextcloud/apps/news/lib/Vendor/FeedIo/Feed/Node.php#159 about 10 times each 5 minutes (most likely each cron run).

Steps to Reproduce

Explain what you did to encounter the issue

  1. Use news application
  2. Read the log file

System Information

  • News app version: 28.5.1
  • Nextcloud version: 32.0.6.1
  • Cron type: system cron
  • PHP version: 8.3.31
  • Database and version:
  • Browser and version:
  • OS and version:
Contents of nextcloud/data/nextcloud.log
{"reqId":"aalWqDrvTai6Upq1bs6a","level":2,"time":"2026-06-05T10:35:12+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"Undefined array key \"scheme\" at /var/www/nextcloud/apps/news/lib/Vendor/FeedIo/Feed/Node.php#159","userAgent":"--","version":"32.0.6.1","occ_command":["/var/www/nextcloud/cron.php"],"data":{"app":"PHP"},"id":"6a22a85a0fc26"}
Dominant language
PHP
Stars
1k
Forks
200
Avg merge
20h 28m
Merged PRs (30d)
32

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/news

All issues in nextcloud/news

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.