PHP Causing an error - Also hides all stacks/blocks/clipboard until disabled

Permalink Browser Info Environment
When I active one of my Stacks on a page I get the following error:
Whoops \ Exception \ ErrorException (E_ERROR)
Call to a member function getGroupPath() on null

more specifically, it refers to:
/concrete5-8.2.1/concrete/src/User/User.php
                $app['director']->dispatch('on_user_exit_group', $ue);
                $q = 'delete from UserGroups where uID = ? and gID = ?';
                $r = $db->executeQuery($q, array($this->uID, $gID));
            }
        }
        /**
         * Return true if user is in Group.
         *
         * @param Group $g
         * @return bool
         */
        public function inGroup($g)
        {
            $app = Application::getFacadeApplication();


It removes my ability to add blocks/stacks/clipboard items until I disable the PHP block

Can you suggest a solution?

Type: Discussion
Status: New
View Replies:

concrete5 Environment Information

Concrete5
Version 8.2.1
Installed Version 8.2.1

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.