Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 827
    • Issues 827
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 44
    • Merge Requests 44
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Issues
  • #2110

Closed
Open
Opened 35 minutes ago by Mark Harding@markeharding
  • Report abuse
  • New issue
Report abuse New issue

Error: Call to undefined method Minds\Entities\User::getName()

Summary

Cannot access group with no name... maybe a banned group?

Steps to reproduce

  1. Visit https://www.minds.com/groups/profile/974541923463208963/feed

Platform information

Happened on Chromium for me

What is the current bug behavior?

500 Error

What is the expected correct behavior?

Either should be shown an error page or redirected if the group isn't there.

Relevant logs and/or screenshots

Sentry Issue: ENGINE-DX

Error: Call to undefined method Minds\Entities\User::getName()
  File "/Core/Groups/SEO.php", line 29, in Minds\Core\Groups\SEO::Minds\Core\Groups\{closure}
    if (!$group->getName()) {
  File "[internal]", line 0, in call_user_func_array
  File "/Core/SEO/Manager.php", line 69, in Minds\Core\SEO\Manager::get
    $meta = call_user_func_array(self::$routes[$route], [array_reverse($slugs)]) ?: [];
  File "/var/www/Minds/front/dist/en/index.php", line 2, in include
    $meta = Minds\Core\SEO\Manager::get();
  File "/Core/I18n/I18n.php", line 123, in Minds\Core\I18n\I18n::serveIndex
    include($file);
...
(2 additional frame(s) were not displayed)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

/label ~"T - Bug" ~"S - Triage:new"

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Edited 30 minutes ago by Ben Hayward

Related issues
0

  • Discussion 0
  • Designs 0
  • Ben Hayward @benhayward.ben changed the description 30 minutes ago

    changed the description

  • Ben Hayward @benhayward.ben added Type::Bug scoped label 30 minutes ago

    added Type::Bug scoped label

  • Ben Hayward @benhayward.ben added Priority::2 - Normal Product::Groups scoped labels 29 minutes ago

    added Priority::2 - Normal Product::Groups scoped labels

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply

The one place for your designs

Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.

0 Assignees
None
Assign to
none
Epic
None
None
Milestone
None
Assign milestone
None
Time tracking
No estimate or time spent
None
Due date
None
3
Labels
Priority::2 - Normal Product::Groups Type::Bug
Assign labels
  • View project labels
None
Weight
None
Confidentiality
Not confidential
Lock issue
Unlocked
2
2 participants
user avatar
Ben Hayward
user avatar
Mark Harding
Reference: minds/front#2110