Skip to content

Cannot use object of type OCA\\GroupFolders\\Folder\\FolderDefinitionWithMappings as array #714

@SystemKeeper

Description

@SystemKeeper

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Nextcloud 32

{
  "Exception": "Exception",
  "Message": "Cannot use object of type OCA\\GroupFolders\\Folder\\FolderDefinitionWithMappings as array in file '/var/www/nextcloud/apps/related_resources/lib/RelatedResourceProviders/GroupFoldersRelatedResourceProvider.php' line 83",
  "Code": 0,
  "Trace": [
    {
      "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
      "line": 153,
      "function": "dispatch",
      "class": "OC\\AppFramework\\Http\\Dispatcher",
      "type": "->"
    },
    {
      "file": "/var/www/nextcloud/lib/private/Route/Router.php",
      "line": 321,
      "function": "main",
      "class": "OC\\AppFramework\\App",
      "type": "::"
    },
    {
      "file": "/var/www/nextcloud/ocs/v1.php",
      "line": 61,
      "function": "match",
      "class": "OC\\Route\\Router",
      "type": "->"
    },
    {
      "file": "/var/www/nextcloud/ocs/v2.php",
      "line": 8,
      "args": [
        "/var/www/nextcloud/ocs/v1.php"
      ],
      "function": "require_once"
    }
  ],
  "File": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
  "Line": 150,
  "Previous": {
    "Exception": "Error",
    "Message": "Cannot use object of type OCA\\GroupFolders\\Folder\\FolderDefinitionWithMappings as array",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php",
        "line": 329,
        "function": "getItemsAvailableToEntity",
        "class": "OCA\\RelatedResources\\RelatedResourceProviders\\GroupFoldersRelatedResourceProvider",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php",
        "line": 190,
        "function": "getItemsAvailableToEntity",
        "class": "OCA\\RelatedResources\\Service\\RelatedService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php",
        "line": 107,
        "function": "retrieveRelatedToItem",
        "class": "OCA\\RelatedResources\\Service\\RelatedService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/related_resources/lib/Controller/ApiController.php",
        "line": 87,
        "function": "getRelatedToItem",
        "class": "OCA\\RelatedResources\\Service\\RelatedService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 204,
        "function": "getRelatedResources",
        "class": "OCA\\RelatedResources\\Controller\\ApiController",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 118,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
        "line": 153,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Route/Router.php",
        "line": 321,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/ocs/v1.php",
        "line": 61,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/ocs/v2.php",
        "line": 8,
        "args": [
          "/var/www/nextcloud/ocs/v1.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/apps/related_resources/lib/RelatedResourceProviders/GroupFoldersRelatedResourceProvider.php",
    "Line": 83
  },
  "message": "Cannot use object of type OCA\\GroupFolders\\Folder\\FolderDefinitionWithMappings as array in file '/var/www/nextcloud/apps/related_resources/lib/RelatedResourceProviders/GroupFoldersRelatedResourceProvider.php' line 83",
  "exception": {},
  "CustomMessage": "Cannot use object of type OCA\\GroupFolders\\Folder\\FolderDefinitionWithMappings as array in file '/var/www/nextcloud/apps/related_resources/lib/RelatedResourceProviders/GroupFoldersRelatedResourceProvider.php' line 83"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejectionbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions