Advertisement
mikemike616

Nextcloud CalDav Error

Dec 15th, 2022 (edited)
919
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Error 1:
  2.  
  3. {
  4.   "reqId": "tF4MFehlCzHFmjEMaS6u",
  5.   "level": 3,
  6.   "time": "2022-12-15T18:14:22+00:00",
  7.   "remoteAddr": "192.168.0.180",
  8.   "user": "mike",
  9.   "app": "PHP",
  10.   "method": "GET",
  11.   "url": "/remote.php/dav/calendars/mike/personal/?export",
  12.   "message": "Trying to access array offset on value of type null at /var/www/html/3rdparty/sabre/dav/lib/CalDAV/CalendarObject.php#88",
  13.   "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0",
  14.   "version": "25.0.2.3",
  15.   "exception": {
  16.     "Exception": "Error",
  17.     "Message": "Trying to access array offset on value of type null at /var/www/html/3rdparty/sabre/dav/lib/CalDAV/CalendarObject.php#88",
  18.     "Code": 0,
  19.     "Trace": [
  20.       {
  21.         "file": "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/CalendarObject.php",
  22.         "line": 88,
  23.         "function": "onError",
  24.         "class": "OC\\Log\\ErrorHandler",
  25.         "type": "::",
  26.         "args": [
  27.           2,
  28.           "Trying to access array offset on value of type null",
  29.           "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/CalendarObject.php",
  30.           88
  31.         ]
  32.       },
  33.       {
  34.         "file": "/var/www/html/apps/dav/lib/CalDAV/CalendarObject.php",
  35.         "line": 63,
  36.         "function": "get",
  37.         "class": "Sabre\\CalDAV\\CalendarObject",
  38.         "type": "->",
  39.         "args": []
  40.       },
  41.       {
  42.         "file": "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/Plugin.php",
  43.         "line": 406,
  44.         "function": "get",
  45.         "class": "OCA\\DAV\\CalDAV\\CalendarObject",
  46.         "type": "->",
  47.         "args": []
  48.       },
  49.       {
  50.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/PropFind.php",
  51.         "line": 95,
  52.         "function": "Sabre\\CalDAV\\{closure}",
  53.         "class": "Sabre\\CalDAV\\Plugin",
  54.         "type": "->",
  55.         "args": [
  56.           "*** sensitive parameters replaced ***"
  57.         ]
  58.       },
  59.       {
  60.         "file": "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/Plugin.php",
  61.         "line": 413,
  62.         "function": "handle",
  63.         "class": "Sabre\\DAV\\PropFind",
  64.         "type": "->",
  65.         "args": [
  66.           "{urn:ietf:params:xml:ns:caldav}calendar-data",
  67.           {
  68.             "__class__": "Closure"
  69.           }
  70.         ]
  71.       },
  72.       {
  73.         "file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
  74.         "line": 89,
  75.         "function": "propFind",
  76.         "class": "Sabre\\CalDAV\\Plugin",
  77.         "type": "->",
  78.         "args": [
  79.           {
  80.             "__class__": "Sabre\\DAV\\PropFind"
  81.           },
  82.           {
  83.             "__class__": "OCA\\DAV\\CalDAV\\CalendarObject"
  84.           }
  85.         ]
  86.       },
  87.       {
  88.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  89.         "line": 1052,
  90.         "function": "emit",
  91.         "class": "Sabre\\DAV\\Server",
  92.         "type": "->",
  93.         "args": [
  94.           "propFind",
  95.           [
  96.             {
  97.               "__class__": "Sabre\\DAV\\PropFind"
  98.             },
  99.             {
  100.               "__class__": "OCA\\DAV\\CalDAV\\CalendarObject"
  101.             }
  102.           ]
  103.         ]
  104.       },
  105.       {
  106.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  107.         "line": 984,
  108.         "function": "getPropertiesByNode",
  109.         "class": "Sabre\\DAV\\Server",
  110.         "type": "->",
  111.         "args": [
  112.           {
  113.             "__class__": "Sabre\\DAV\\PropFind"
  114.           },
  115.           {
  116.             "__class__": "OCA\\DAV\\CalDAV\\CalendarObject"
  117.           }
  118.         ]
  119.       },
  120.       {
  121.         "function": "getPropertiesIteratorForPath",
  122.         "class": "Sabre\\DAV\\Server",
  123.         "type": "->",
  124.         "args": [
  125.           "calendars/mike/personal",
  126.           [
  127.             "{urn:ietf:params:xml:ns:caldav}calendar-data"
  128.           ],
  129.           1
  130.         ]
  131.       },
  132.       {
  133.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  134.         "line": 941,
  135.         "function": "iterator_to_array",
  136.         "args": [
  137.           {
  138.             "__class__": "Generator"
  139.           }
  140.         ]
  141.       },
  142.       {
  143.         "file": "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/ICSExportPlugin.php",
  144.         "line": 214,
  145.         "function": "getPropertiesForPath",
  146.         "class": "Sabre\\DAV\\Server",
  147.         "type": "->",
  148.         "args": [
  149.           "calendars/mike/personal",
  150.           [
  151.             "{urn:ietf:params:xml:ns:caldav}calendar-data"
  152.           ],
  153.           1
  154.         ]
  155.       },
  156.       {
  157.         "file": "/var/www/html/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php",
  158.         "line": 61,
  159.         "function": "generateResponse",
  160.         "class": "Sabre\\CalDAV\\ICSExportPlugin",
  161.         "type": "->",
  162.         "args": [
  163.           "calendars/mike/personal",
  164.           null,
  165.           null,
  166.           false,
  167.           false,
  168.           "text/calendar",
  169.           [
  170.             {
  171.               "__class__": "Sabre\\DAV\\Xml\\Property\\ResourceType"
  172.             },
  173.             "Mike",
  174.             325,
  175.             "http://sabre.io/ns/sync/325",
  176.             "#1a5fb4",
  177.             "And 1 more entries, set log level to debug to see all entries"
  178.           ],
  179.           {
  180.             "__class__": "Sabre\\HTTP\\Response"
  181.           }
  182.         ]
  183.       },
  184.       {
  185.         "file": "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/ICSExportPlugin.php",
  186.         "line": 155,
  187.         "function": "generateResponse",
  188.         "class": "OCA\\DAV\\CalDAV\\ICSExportPlugin\\ICSExportPlugin",
  189.         "type": "->",
  190.         "args": [
  191.           "calendars/mike/personal",
  192.           null,
  193.           null,
  194.           false,
  195.           false,
  196.           "text/calendar",
  197.           [
  198.             {
  199.               "__class__": "Sabre\\DAV\\Xml\\Property\\ResourceType"
  200.             },
  201.             "Mike",
  202.             325,
  203.             "http://sabre.io/ns/sync/325",
  204.             "#1a5fb4",
  205.             "And 1 more entries, set log level to debug to see all entries"
  206.           ],
  207.           {
  208.             "__class__": "Sabre\\HTTP\\Response"
  209.           }
  210.         ]
  211.       },
  212.       {
  213.         "file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
  214.         "line": 89,
  215.         "function": "httpGet",
  216.         "class": "Sabre\\CalDAV\\ICSExportPlugin",
  217.         "type": "->",
  218.         "args": [
  219.           {
  220.             "__class__": "Sabre\\HTTP\\Request"
  221.           },
  222.           {
  223.             "__class__": "Sabre\\HTTP\\Response"
  224.           }
  225.         ]
  226.       },
  227.       {
  228.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  229.         "line": 472,
  230.         "function": "emit",
  231.         "class": "Sabre\\DAV\\Server",
  232.         "type": "->",
  233.         "args": [
  234.           "method:GET",
  235.           [
  236.             {
  237.               "__class__": "Sabre\\HTTP\\Request"
  238.             },
  239.             {
  240.               "__class__": "Sabre\\HTTP\\Response"
  241.             }
  242.           ]
  243.         ]
  244.       },
  245.       {
  246.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  247.         "line": 253,
  248.         "function": "invokeMethod",
  249.         "class": "Sabre\\DAV\\Server",
  250.         "type": "->",
  251.         "args": [
  252.           {
  253.             "__class__": "Sabre\\HTTP\\Request"
  254.           },
  255.           {
  256.             "__class__": "Sabre\\HTTP\\Response"
  257.           }
  258.         ]
  259.       },
  260.       {
  261.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  262.         "line": 321,
  263.         "function": "start",
  264.         "class": "Sabre\\DAV\\Server",
  265.         "type": "->",
  266.         "args": []
  267.       },
  268.       {
  269.         "file": "/var/www/html/apps/dav/lib/Server.php",
  270.         "line": 360,
  271.         "function": "exec",
  272.         "class": "Sabre\\DAV\\Server",
  273.         "type": "->",
  274.         "args": []
  275.       },
  276.       {
  277.         "file": "/var/www/html/apps/dav/appinfo/v2/remote.php",
  278.         "line": 35,
  279.         "function": "exec",
  280.         "class": "OCA\\DAV\\Server",
  281.         "type": "->",
  282.         "args": []
  283.       },
  284.       {
  285.         "file": "/var/www/html/remote.php",
  286.         "line": 171,
  287.         "args": [
  288.           "/var/www/html/apps/dav/appinfo/v2/remote.php"
  289.         ],
  290.         "function": "require_once"
  291.       }
  292.     ],
  293.     "File": "/var/www/html/lib/private/Log/ErrorHandler.php",
  294.     "Line": 92,
  295.     "CustomMessage": "--"
  296.   },
  297.   "id": "639b6940727da"
  298. }
  299.  
  300. // Error 2:
  301.  
  302. {
  303.   "reqId": "tF4MFehlCzHFmjEMaS6u",
  304.   "level": 3,
  305.   "time": "2022-12-15T18:14:22+00:00",
  306.   "remoteAddr": "192.168.0.180",
  307.   "user": "mike",
  308.   "app": "webdav",
  309.   "method": "GET",
  310.   "url": "/remote.php/dav/calendars/mike/personal/?export",
  311.   "message": "str_replace(): Argument #3 ($subject) must be of type array|string, null given",
  312.   "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0",
  313.   "version": "25.0.2.3",
  314.   "exception": {
  315.     "Exception": "TypeError",
  316.     "Message": "str_replace(): Argument #3 ($subject) must be of type array|string, null given",
  317.     "Code": 0,
  318.     "Trace": [
  319.       {
  320.         "file": "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/Plugin.php",
  321.         "line": 412,
  322.         "function": "str_replace",
  323.         "args": [
  324.           "\r",
  325.           "",
  326.           null
  327.         ]
  328.       },
  329.       {
  330.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/PropFind.php",
  331.         "line": 95,
  332.         "function": "Sabre\\CalDAV\\{closure}",
  333.         "class": "Sabre\\CalDAV\\Plugin",
  334.         "type": "->",
  335.         "args": [
  336.           "*** sensitive parameters replaced ***"
  337.         ]
  338.       },
  339.       {
  340.         "file": "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/Plugin.php",
  341.         "line": 413,
  342.         "function": "handle",
  343.         "class": "Sabre\\DAV\\PropFind",
  344.         "type": "->",
  345.         "args": [
  346.           "{urn:ietf:params:xml:ns:caldav}calendar-data",
  347.           {
  348.             "__class__": "Closure"
  349.           }
  350.         ]
  351.       },
  352.       {
  353.         "file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
  354.         "line": 89,
  355.         "function": "propFind",
  356.         "class": "Sabre\\CalDAV\\Plugin",
  357.         "type": "->",
  358.         "args": [
  359.           {
  360.             "__class__": "Sabre\\DAV\\PropFind"
  361.           },
  362.           {
  363.             "__class__": "OCA\\DAV\\CalDAV\\CalendarObject"
  364.           }
  365.         ]
  366.       },
  367.       {
  368.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  369.         "line": 1052,
  370.         "function": "emit",
  371.         "class": "Sabre\\DAV\\Server",
  372.         "type": "->",
  373.         "args": [
  374.           "propFind",
  375.           [
  376.             {
  377.               "__class__": "Sabre\\DAV\\PropFind"
  378.             },
  379.             {
  380.               "__class__": "OCA\\DAV\\CalDAV\\CalendarObject"
  381.             }
  382.           ]
  383.         ]
  384.       },
  385.       {
  386.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  387.         "line": 984,
  388.         "function": "getPropertiesByNode",
  389.         "class": "Sabre\\DAV\\Server",
  390.         "type": "->",
  391.         "args": [
  392.           {
  393.             "__class__": "Sabre\\DAV\\PropFind"
  394.           },
  395.           {
  396.             "__class__": "OCA\\DAV\\CalDAV\\CalendarObject"
  397.           }
  398.         ]
  399.       },
  400.       {
  401.         "function": "getPropertiesIteratorForPath",
  402.         "class": "Sabre\\DAV\\Server",
  403.         "type": "->",
  404.         "args": [
  405.           "calendars/mike/personal",
  406.           [
  407.             "{urn:ietf:params:xml:ns:caldav}calendar-data"
  408.           ],
  409.           1
  410.         ]
  411.       },
  412.       {
  413.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  414.         "line": 941,
  415.         "function": "iterator_to_array",
  416.         "args": [
  417.           {
  418.             "__class__": "Generator"
  419.           }
  420.         ]
  421.       },
  422.       {
  423.         "file": "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/ICSExportPlugin.php",
  424.         "line": 214,
  425.         "function": "getPropertiesForPath",
  426.         "class": "Sabre\\DAV\\Server",
  427.         "type": "->",
  428.         "args": [
  429.           "calendars/mike/personal",
  430.           [
  431.             "{urn:ietf:params:xml:ns:caldav}calendar-data"
  432.           ],
  433.           1
  434.         ]
  435.       },
  436.       {
  437.         "file": "/var/www/html/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php",
  438.         "line": 61,
  439.         "function": "generateResponse",
  440.         "class": "Sabre\\CalDAV\\ICSExportPlugin",
  441.         "type": "->",
  442.         "args": [
  443.           "calendars/mike/personal",
  444.           null,
  445.           null,
  446.           false,
  447.           false,
  448.           "text/calendar",
  449.           [
  450.             {
  451.               "__class__": "Sabre\\DAV\\Xml\\Property\\ResourceType"
  452.             },
  453.             "Mike",
  454.             325,
  455.             "http://sabre.io/ns/sync/325",
  456.             "#1a5fb4",
  457.             "And 1 more entries, set log level to debug to see all entries"
  458.           ],
  459.           {
  460.             "__class__": "Sabre\\HTTP\\Response"
  461.           }
  462.         ]
  463.       },
  464.       {
  465.         "file": "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/ICSExportPlugin.php",
  466.         "line": 155,
  467.         "function": "generateResponse",
  468.         "class": "OCA\\DAV\\CalDAV\\ICSExportPlugin\\ICSExportPlugin",
  469.         "type": "->",
  470.         "args": [
  471.           "calendars/mike/personal",
  472.           null,
  473.           null,
  474.           false,
  475.           false,
  476.           "text/calendar",
  477.           [
  478.             {
  479.               "__class__": "Sabre\\DAV\\Xml\\Property\\ResourceType"
  480.             },
  481.             "Mike",
  482.             325,
  483.             "http://sabre.io/ns/sync/325",
  484.             "#1a5fb4",
  485.             "And 1 more entries, set log level to debug to see all entries"
  486.           ],
  487.           {
  488.             "__class__": "Sabre\\HTTP\\Response"
  489.           }
  490.         ]
  491.       },
  492.       {
  493.         "file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
  494.         "line": 89,
  495.         "function": "httpGet",
  496.         "class": "Sabre\\CalDAV\\ICSExportPlugin",
  497.         "type": "->",
  498.         "args": [
  499.           {
  500.             "__class__": "Sabre\\HTTP\\Request"
  501.           },
  502.           {
  503.             "__class__": "Sabre\\HTTP\\Response"
  504.           }
  505.         ]
  506.       },
  507.       {
  508.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  509.         "line": 472,
  510.         "function": "emit",
  511.         "class": "Sabre\\DAV\\Server",
  512.         "type": "->",
  513.         "args": [
  514.           "method:GET",
  515.           [
  516.             {
  517.               "__class__": "Sabre\\HTTP\\Request"
  518.             },
  519.             {
  520.               "__class__": "Sabre\\HTTP\\Response"
  521.             }
  522.           ]
  523.         ]
  524.       },
  525.       {
  526.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  527.         "line": 253,
  528.         "function": "invokeMethod",
  529.         "class": "Sabre\\DAV\\Server",
  530.         "type": "->",
  531.         "args": [
  532.           {
  533.             "__class__": "Sabre\\HTTP\\Request"
  534.           },
  535.           {
  536.             "__class__": "Sabre\\HTTP\\Response"
  537.           }
  538.         ]
  539.       },
  540.       {
  541.         "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
  542.         "line": 321,
  543.         "function": "start",
  544.         "class": "Sabre\\DAV\\Server",
  545.         "type": "->",
  546.         "args": []
  547.       },
  548.       {
  549.         "file": "/var/www/html/apps/dav/lib/Server.php",
  550.         "line": 360,
  551.         "function": "exec",
  552.         "class": "Sabre\\DAV\\Server",
  553.         "type": "->",
  554.         "args": []
  555.       },
  556.       {
  557.         "file": "/var/www/html/apps/dav/appinfo/v2/remote.php",
  558.         "line": 35,
  559.         "function": "exec",
  560.         "class": "OCA\\DAV\\Server",
  561.         "type": "->",
  562.         "args": []
  563.       },
  564.       {
  565.         "file": "/var/www/html/remote.php",
  566.         "line": 171,
  567.         "args": [
  568.           "/var/www/html/apps/dav/appinfo/v2/remote.php"
  569.         ],
  570.         "function": "require_once"
  571.       }
  572.     ],
  573.     "File": "/var/www/html/3rdparty/sabre/dav/lib/CalDAV/Plugin.php",
  574.     "Line": 412,
  575.     "message": "str_replace(): Argument #3 ($subject) must be of type array|string, null given",
  576.     "exception": [],
  577.     "CustomMessage": "str_replace(): Argument #3 ($subject) must be of type array|string, null given"
  578.   },
  579.   "id": "639b694072759"
  580. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement