Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 222
    • Issues 222
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 36
    • Merge Requests 36
  • 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 Backend - EngineMinds Backend - Engine
  • Issues
  • #864

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

(bug): Wire\Thresholds should handle NULL users (logged-out)

Sentry Issue: ENGINE-1T

Cassandra\Exception\InvalidArgumentException: num must be a long, double, numeric string or a Cassandra\Varint instance,  given
  File "/Core/Wire/Sums.php", line 114, in Cassandra\Varint::__construct
    new \Cassandra\Varint($this->sender_guid),
  File "/Core/Wire/Sums.php", line 114, in Minds\Core\Wire\Sums::getSent
    new \Cassandra\Varint($this->sender_guid),
  File "/Core/Wire/Thresholds.php", line 63, in Minds\Core\Wire\Thresholds::isAllowed
    $amount = $sums->getSent();
  File "/Core/Media/Thumbnails.php", line 26, in Minds\Core\Media\Thumbnails::get
    if (!Di::_()->get('Wire\Thresholds')->isAllowed($loggedInUser, $entity)) {
  File "/Controllers/fs/v1/thumbnail.php", line 36, in Minds\Controllers\fs\v1\thumbnail::get
    $thumbnail = $mediaThumbnails->get($pages[0], $size);
...
(4 additional frame(s) were not displayed)

Please solve the reCAPTCHA

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

Related issues
0

    • Discussion 4
    • Designs 0
    • Emiliano Balbuena @edgebal assigned to @benhayward.ben 12 minutes ago

      assigned to @benhayward.ben

    • Emiliano Balbuena @edgebal added Priority::1 - High Product::Wire Squad::Yellow Type::Bug scoped labels 11 minutes ago

      added Priority::1 - High Product::Wire Squad::Yellow Type::Bug scoped labels

    • Emiliano Balbuena @edgebal changed weight to 2 11 minutes ago

      changed weight to 2

    • Emiliano Balbuena @edgebal added Sprint::09/25 - Oldfashioned Owl scoped label 10 minutes ago

      added Sprint::09/25 - Oldfashioned Owl scoped label

    • 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.

    Assignee
    Ben Hayward's avatar
    Ben Hayward @benhayward.ben
    Assign to
    none
    Epic
    None
    None
    Milestone
    None
    Assign milestone
    None
    Time tracking
    No estimate or time spent
    None
    Due date
    None
    5
    Labels
    Priority::1 - High Product::Wire Sprint::09/25 - Oldfashioned Owl Squad::Yellow Type::Bug
    Assign labels
    • View project labels
    2
    Weight
    2
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    3
    3 participants
    user avatar
    Ben Hayward
    user avatar
    Emiliano Balbuena
    user avatar
    Mark Harding
    Reference: minds/engine#864