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

Error when updating from 5.32 to 5.33 #11012

Closed
tenmillionteeth opened this issue Oct 25, 2024 · 1 comment · Fixed by #11015
Closed

Error when updating from 5.32 to 5.33 #11012

tenmillionteeth opened this issue Oct 25, 2024 · 1 comment · Fixed by #11015
Labels

Comments

@tenmillionteeth
Copy link

tenmillionteeth commented Oct 25, 2024

Bug description

We tried updating several sites to 5.33 from 5.32, and consistently get the following error:

   Error

  Call to undefined method ReflectionUnionType::getName()

  at vendor/statamic/cms/src/Providers/AddonServiceProvider.php:240
    236▕                 ) {
    237▕                     return [];
    238▕                 }
    239▕
  ➜ 240▕                 $event = $reflection->getMethod('handle')->getParameters()[0]->getType()->getName();
    241▕
    242▕                 return [$event => $class];
    243▕             })
    244▕             ->filter()

      +12 vendor frames

  13  artisan:35
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

All sites are using multi-site.

How to reproduce

Update from 5.32 to 5.33 via command line.

Logs

No response

Environment

Environment
Application Name: --
Laravel Version: 10.48.22
PHP Version: 8.3.8
Composer Version: 2.7.6
Environment: local
Debug Mode: ENABLED
URL: --
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: pusher
Cache: file
Database: mysql
Logs: stack / single
Mail: ses
Queue: sync
Session: file

Statamic
Addons: 8
Sites: 2 (English, Español)
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.32.0 PRO

Statamic Addons
4rn0/statamic-image-optimizer: 1.1.1
aryehraber/statamic-color-extractor: 1.5.0
doefom/statamic-browser-detect: 0.1.1
jacksleight/statamic-bard-texstyle: 3.3.1
rias/statamic-redirect: 3.8.1
statamic/collaboration: 1.0.0
stillat/antlers-layouts: 2.1.0
teamnovu/statamic-images-missing-alt: 1.0.4

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

@jasonvarga
Copy link
Member

Thank you we will get this sorted out.

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

Successfully merging a pull request may close this issue.

3 participants