Skip to content

Error in Step 2 of the 'New Feed Wizard' #129

@6onz4

Description

@6onz4

Describe the bug
I can't add a new feed with 'New Feed Wizard'. I encountered a Fatal error in 'Step 2 - Select Article Text' after selecting text, clicking on 'Get' and then clicking on 'Next'.

Error message

Warning: Undefined array key "host" in C:\xampp\htdocs\lwt\feed_wizard.php on line 439

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\xampp\htdocs\lwt\feed_wizard.php:439 Stack trace: #0 C:\xampp\htdocs\lwt\feed_wizard.php(439): count(NULL) #1 C:\xampp\htdocs\lwt\feed_wizard.php(930): Lwt\Interface\Feed_Wizard\feed_wizard_filter_text() #2 {main} thrown in C:\xampp\htdocs\lwt\feed_wizard.php on line 439

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Newsfeeds '
  2. Click on 'New Feed'
  3. Click on 'New Feed Wizard'
  4. Add a Feed URI in the field. I tried with https://rss.dw.com/xml/rss_en_science and others
  5. Click on 'Next'
  6. Scroll down in the preview window
  7. Click on a paragraph of the article
  8. Click on 'Get'
  9. Click on 'Next'
  10. See error

Expected behavior
Advance to next step of the 'New Feed Wizard' and then get the RSS feed added to my Feeds.

Screenshots
1_screenshot
2_screenshot

Server
Data Value
LWT version v002008001
Database name learning-with-texts
Database prefix (surrounded by "") ""
Database Location Apache/2.4.56
Database Size 0.2 MB
Web Server localhost
Server Software Apache/2.4.56
PHP Version 8.2.4
MySQL Version 10.4.28-MariaDB

  • LWT version: 2.8.1-fork (April 14 2023)

Desktop

  • OS: Windows 11 Home
  • Browser: Firefox
  • Version: 114.0.1 (64-bit)

Additional context

  • I am a new user of LWT.
  • I have installed the program with the XAMPP method described on the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions