Skip to content
Snippets Groups Projects
  • ltGuillaume's avatar
    825e362f
    Fix "array offset on value of type null" for $error and $old_error · 825e362f
    ltGuillaume authored
    I tried applying to only $error and only $old_error, but both appear to be needed.
    
    Log entries:
    E_NOTICE (8) 	classes/urlhelper.php:464 	Trying to access array offset on value of type null
    1. classes/urlhelper.php(464): ttrss_error_handler(8, Trying to access array offset on value of type null, classes/urlhelper.php, 464, [)
    2. classes/rssutils.php(464): fetch([{"url":"https://some.url.rss","login":"","pass":"","timeout":15,"last_modified":"Sat, 31 Aug 2019 15:22:31 GMT"})
    3. update.php(235): update_rss_feed(732, 1)
    825e362f
    History
    Fix "array offset on value of type null" for $error and $old_error
    ltGuillaume authored
    I tried applying to only $error and only $old_error, but both appear to be needed.
    
    Log entries:
    E_NOTICE (8) 	classes/urlhelper.php:464 	Trying to access array offset on value of type null
    1. classes/urlhelper.php(464): ttrss_error_handler(8, Trying to access array offset on value of type null, classes/urlhelper.php, 464, [)
    2. classes/rssutils.php(464): fetch([{"url":"https://some.url.rss","login":"","pass":"","timeout":15,"last_modified":"Sat, 31 Aug 2019 15:22:31 GMT"})
    3. update.php(235): update_rss_feed(732, 1)
urlhelper.php 14.83 KiB