brilliancenw / craft-algolia-sync

Easily Sync Data from Craft CMS Into Algolia
Other
1 stars 3 forks source link

Cannot install plugin in Craft 5.2 #42

Open dowadidi opened 3 months ago

dowadidi commented 3 months ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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)