nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
846 stars 259 forks source link

Trying to access array offset on value of type bool at /apps/mail/lib/Vendor/Favicon/Favicon.php#187 #3793

Closed solracsf closed 4 years ago

solracsf commented 4 years ago

Here is the error trace:

{
  "reqId":"1MKolr9rZ75pytsgsTji",
  "level":3,
  "time":"2020-10-12T09:22:21+02:00",
  "remoteAddr":"88.202.32.42",
  "app":"PHP",
  "method":"GET",
  "url":"/apps/mail/api/avatars/url/mon.aderreser%40lape.net",
  "message":{
    "Exception":"Error",
    "Message":"Trying to access array offset on value of type bool at /apps/mail/lib/Vendor/Favicon/Favicon.php#187",
    "Code":0,
    "Trace":[
      {
        "file":"/apps/mail/lib/Vendor/Favicon/Favicon.php",
        "line":187,
        "function":"onError",
        "class":"OC\\Log\\ErrorHandler",
        "type":"::"
      },
      {
        "file":"/apps/mail/lib/Vendor/Favicon/Favicon.php",
        "line":158,
        "function":"getFavicon",
        "class":"OCA\\Mail\\Vendor\\Favicon\\Favicon",
        "type":"->"
      },
      {
        "file":"/apps/mail/lib/Service/Avatar/FaviconSource.php",
        "line":72,
        "function":"get",
        "class":"OCA\\Mail\\Vendor\\Favicon\\Favicon",
        "type":"->"
      },
      {
        "file":"/apps/mail/lib/Service/Avatar/CompositeAvatarSource.php",
        "line":61,
        "function":"fetch",
        "class":"OCA\\Mail\\Service\\Avatar\\FaviconSource",
        "type":"->"
      },
      {
        "file":"/apps/mail/lib/Service/AvatarService.php",
        "line":114,
        "function":"fetch",
        "class":"OCA\\Mail\\Service\\Avatar\\CompositeAvatarSource",
        "type":"->"
      },
      {
        "file":"/apps/mail/lib/Controller/AvatarsController.php",
        "line":70,
        "function":"getAvatar",
        "class":"OCA\\Mail\\Service\\AvatarService",
        "type":"->"
      },
      {
        "file":"/lib/private/AppFramework/Http/Dispatcher.php",
        "line":170,
        "function":"url",
        "class":"OCA\\Mail\\Controller\\AvatarsController",
        "type":"->"
      },
      {
        "file":"/lib/private/AppFramework/Http/Dispatcher.php",
        "line":100,
        "function":"executeController",
        "class":"OC\\AppFramework\\Http\\Dispatcher",
        "type":"->"
      },
      {
        "file":"/lib/private/AppFramework/App.php",
        "line":137,
        "function":"dispatch",
        "class":"OC\\AppFramework\\Http\\Dispatcher",
        "type":"->"
      },
      {
        "file":"/lib/private/AppFramework/Routing/RouteActionHandler.php",
        "line":47,
        "function":"main",
        "class":"OC\\AppFramework\\App",
        "type":"::"
      },
      {
        "function":"__invoke",
        "class":"OC\\AppFramework\\Routing\\RouteActionHandler",
        "type":"->"
      },
      {
        "file":"/lib/private/Route/Router.php",
        "line":297,
        "function":"call_user_func"
      },
      {
        "file":"/lib/base.php",
        "line":1011,
        "function":"match",
        "class":"OC\\Route\\Router",
        "type":"->"
      },
      {
        "file":"/index.php",
        "line":37,
        "function":"handleRequest",
        "class":"OC",
        "type":"::"
      }
    ],
    "File":"/lib/private/Log/ErrorHandler.php",
    "Line":91,
    "CustomMessage":"--"
  },
  "userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0",
  "version":"19.0.4.2",
  "id":"5f8431b3baa9b"
}
ChristophWurst commented 4 years ago

Fixed upstream via https://github.com/ArthurHoaro/favicon/pull/18