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

Native install on PHP 8.08 install fails due to eventdispatcher incompatibility between rockettheme and symphony #1195

Closed
Rolf-MP opened this issue Feb 11, 2022 · 0 comments · Fixed by #1196
Assignees
Labels
compatibility Compatibility issue with other framework, features confirmed bug Something isn't working
Milestone

Comments

@Rolf-MP
Copy link

Rolf-MP commented Feb 11, 2022

Windows, nginx, php fastcgi.

Following the native installation instructions

composer install completes fine.

php bakery bake fails with:

PHP Fatal error:  Declaration of RocketTheme\Toolbox\Event\EventDispatcher::dispatch($eventName, ?Symfony\Component\EventDispatcher\Event $event = null) must be compatible with Symfony\Component\EventDispatcher\EventDispatcher::dispatch(obj
ect $event, ?string $eventName = null): object in <SNIP>\UserFrosting-4.6.3\app\vendor\rockettheme\toolbox\Event\src\EventDispatcher.php on line 23

Fatal error: Declaration of RocketTheme\Toolbox\Event\EventDispatcher::dispatch($eventName, ?Symfony\Component\EventDispatcher\Event $event = null) must be compatible with Symfony\Component\EventDispatcher\EventDispatcher::dispatch(object $
event, ?string $eventName = null): object in <SNIP>\UserFrosting-4.6.3\app\vendor\rockettheme\toolbox\Event\src\EventDispatcher.php on line 23

The below versiosn are installed:

symfony/event-dispatcher (v5.4.3)

rockettheme/toolbox (1.6.1)

From what I can see (no expert) the latest rockettheme compatible version of symfony/event-dispatcher is 4.3.

Tried to downgrade symfony/event-dispatcher (and dependencies) but I then end up in dependency hell.

@Rolf-MP Rolf-MP changed the title Native install on yPHP 8.08 install fails due to eventdispatcher incompatibility between rockettheme and symphony Native install on PHP 8.08 install fails due to eventdispatcher incompatibility between rockettheme and symphony Feb 11, 2022
@lcharette lcharette self-assigned this Feb 12, 2022
@lcharette lcharette added compatibility Compatibility issue with other framework, features confirmed bug Something isn't working labels Feb 12, 2022
@lcharette lcharette added this to the 4.6.4 milestone Feb 12, 2022
ssnukala added a commit to ssnukala/UserFrosting that referenced this issue Feb 12, 2022
Resolves issue userfrosting#1195 by adding last stable version 1.6.0 of RocketTheme.
@lcharette lcharette linked a pull request Feb 12, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility issue with other framework, features confirmed bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants