Exception: Expected a numeric value
Sentry Issue: ENGINE-Q3C
Exception: Expected a numeric value
File "/Core/Util/BigNumber.php", line 385, in Minds\Core\Util\BigNumber::normalize
throw new \Exception('Expected a numeric value');
File "/Core/Util/BigNumber.php", line 110, in Minds\Core\Util\BigNumber::sub
return $this->immutable(bcsub($this->value, $this->normalize($rightOperand), $this->scale));
File "/Core/Wire/Thresholds.php", line 101, in Minds\Core\Wire\Thresholds::isAllowed
$allowed = BigNumber::_($tokensAmount)->sub($minThreshold)->gte(0);
File "/Core/Wire/Paywall/Manager.php", line 115, in Minds\Core\Wire\Paywall\Manager::isAllowed
return $this->wireThresholds->isAllowed($this->user, $entity);
File "/Controllers/fs/v1/thumbnail.php", line 79, in Minds\Controllers\fs\v1\thumbnail::get
->isAllowed($entity);
...
(12 additional frame(s) were not displayed)
Exception: Expected a numeric value in /var/www/Minds/engine/Core/Util/BigNumber.php:385
Stack trace:
#0 /var/www/Minds/engine/Core/Util/BigNumber.php(110): Minds\Core\Util\BigNumber->normalize('')
#1 /var/www/Minds/engine/Core/Wire/Thresholds.php(101): Minds\Core\Util\BigNumber->sub(NULL)
#2 /var/www/Minds/engine/Core/Wire/Paywall/Manager.php(115): Minds\Core\Wire\Thresholds->isAllowed(Object(Minds\Entities\User), Object(Minds\Entities\Image))
#3 /var/www/Minds/engine/Controllers/fs/v1/thumbnail.php(79): Minds\Core\Wire\Paywall\Manager->isAllowed(Object(Minds\Entities\Image))
#4 /var/www/Minds/engine/Fs/Factory.php(54): Minds\Controllers\fs\v1\thumbnail->get(Array)
#5 /var/www/Minds/engine/Controllers/fs/fs.php(19): Minds\Fs\Factory::build(Array)
#6 /var/www/Minds/engine/Core/Router/PrePsr7/Router.php(153): Minds\Controllers\fs\fs->get(Array)
#7 /var/www/Minds/engine/Core/Router/PrePsr7/Fallback.php(79): Minds\Core\Router\PrePsr7\Router->route('/fs/v1/thumbnai...', 'get')
#8 /var/www/Minds/engine/Core/Router