Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorException: Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated #868

Open
sentry-io bot opened this issue Oct 17, 2022 · 1 comment

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 17, 2022

Sentry Issue: BADGE-POSER-8J

ErrorException: Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated
  File "/src/Contributors/Service/Repository.php", line 87, in App\Contributors\Service\Repository::getContributorsByGithub
    $repoApi,
  File "/src/Contributors/Service/Repository.php", line 64, in App\Contributors\Service\Repository::getContributors
    $results = $this->getContributorsByGithub('PUGX', 'badge-poser');
  File "/src/Contributors/Service/Repository.php", line 31, in App\Contributors\Service\Repository::all
    return $this->getContributors();
  File "/src/Controller/HomeController.php", line 27, in App\Controller\HomeController::index
    $contributors = $contributorsRepository->all();
  File "/public/index.php", line 5
    require_once \dirname(__DIR__).'/vendor/autoload_runtime.php';
...
(36 additional frame(s) were not displayed)
@garak
Copy link
Member

garak commented Oct 17, 2022

It looks like the problem is in the php-cache/cache library, in the fetchObjectFromCache method.
Maybe it could be addressed by this pull request, which is unfortunately stale since five years 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant