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

Cannot install plugin in Craft 5.2 #42

Open
dowadidi opened this issue Jun 19, 2024 · 7 comments
Open

Cannot install plugin in Craft 5.2 #42

dowadidi opened this issue Jun 19, 2024 · 7 comments

Comments

@dowadidi
Copy link

When trying to install the plugin, there's an undefined error. When cheking the logs, I get the following.

..."exception":"[object] (Error(code: 0): Undefined constant craft\\services\\Utilities::EVENT_REGISTER_UTILITY_TYPES at /var/www/html/vendor/brilliance/algolia-sync/src/AlgoliaSync.php:137)"...

@npegman
Copy link

npegman commented Aug 13, 2024

I'm experiencing the same issue. In craft repositories changelog for 5.0.0:
Renamed craft\services\Utilities::EVENT_REGISTER_UTILITY_TYPES to EVENT_REGISTER_UTILITIES.

@markmiddleton
Copy link
Contributor

The plugin has not been updated to support Craft 5 - our apologies. We are working on the updates now, and will let you know when a version is ready for testing and release.

@markmiddleton
Copy link
Contributor

markmiddleton commented Aug 16, 2024

I'm currently testing a version that works with Craft CMS 5 (v5.3.4). This includes modifications that support Craft Commerce products (https://github.com/brilliancenw/craft-algolia-sync/releases/tag/5.0.0-alpha)

@npegman
Copy link

npegman commented Jan 23, 2025

Any updates? Craft 5 CMS plugin store is showing this plugin as available for Craft 5. Thank you!

@markmiddleton
Copy link
Contributor

markmiddleton commented Jan 23, 2025

Hello @npegman - were you able to test the latest version? (5.0.3-alpha), we have that running on Craft 5.5.10. If that's working for you, we can bring that into the stable build. In your composer file, adjust the version:

"require": { "brilliance/algolia-sync": "5.0.3-alpha", ... }

@npegman
Copy link

npegman commented Jan 23, 2025 via email

@markmiddleton
Copy link
Contributor

@npegman - I was able to perform a clean install on ddev without issue. I see the error mentions "v5.x-dev" - is it possible that is already in your composer.json instead of the 5.0.3-alpha?

Can we hop on a screenshare to work through any issues the plugin may be causing? Drop me a note in the Craft Discord (username: whirledweb) or at [email protected]. I'm confident we can get it resolved - I apologize for the frustration.

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

3 participants