Undefined index: user_group in /var/www/website/cms/addons/GroupBoundAssets/bootstrap.php

Hi there!

I have a website set up with Cockpit (0.8.11) which has worked as hoped up until now.

Currently we have an issue with uploading assets (trying to add a profile image to the ‘Meet the Team’ page). When we try to upload an image on Cockpit it gives a ‘Something went wrong’ message and a ‘/assetsmanager/upload: Failed to load resource: the server responded with a status of 500 (Internal Server Error)’ in the console.

Looking in the Apache server logs, there is the following error:

PHP Notice: Undefined index: user_group in /var/www/website/cms/addons/GroupBoundAssets/bootstrap.php

Here is a screenshot of that bootstrap.php file:

In the system settings, the following was added as config.yaml:

# define additional groups
    'groups' => [
        'author' => [
            '$vars' => [
                'finder.path' => '/storage/upload'
            ]
        ]
    ],
    helpers:
        debug: false
        environment: production
        collectionSelect: true
        singletonSelect: true

I’m new to working with Cockpit and wasn’t involved in the set up of this site.

I’ve checked that the image is below 500k as that was specified in the .htaccess file. I am unable to access the Recent Logs tab in Cockpit as it just has an unending load.

If anyone has come across anything similar, any advice would be really appreciated! Thanks so much in advance

My GroupBoundAssets Addon is very outdated - don’t think it is working anymore - sorry