Closed pascalminator closed 6 months ago
Seems to be all okay on my end! Any JS errors in the developer console? Cleared your caches?
I tried to clear all caches and it still does the same problem. I checked the console and there is no error. Weirdly enough, this problem also happens with an other Verbb plugin too: the exact same problem is happening with Icon Picker when I update to 5.0.5 but resolves when I downgrade to 5.0.4.
Here's an example with Hyper on Craft 5.0.4:
And after updating to Craft 5.0.5:
So sounds like something related to Vue or Vite if Icon Picker is also having an issue, as both are Vue-based fields.
I've been trying to replicate this, but no luck so far. Something unique to your install might be causing this, but still looking into it.
You're right, I just pushed the update in production and it is working fine. I don't know why this is happening in my dev environment but it looks like it is more my problem than yours at this point.
hyper-xxx.js and hyper-xxx.css are not loading at all in dev:
But they are in prod:
Something changed in Craft 5.0.5, because it is working perfectly fine in any previous version <= 5.0.4.
Interesting that it's happening on your dev environment and not on production. Could almost be a race condition somewhere/somehow. Anything about your dev environment worth noting?
My dev environment is running on Wampserver 3.3.5 (yes, I know DDEV is the recommended tool but I never encountered any issues with my setup before this and I've been working with Craft since 2015) on Windows 11 with PHP 8.2, MySQL 8.3 and Apache 2.4.54.2. I tried with different versions of PHP and Apache without any luck.
Since my production environment running on CloudLinux does not have this issue and you are not able to reproduce it, I have a theory: maybe the problem is related to case sensitivity somewhere. Windows is case sensitive, but MacOS and Linux aren't.
No stress, I use MAMP 😄 But nice to know you're on Windows, I'll spin up an example install just in case.
So... I found the problem with a friend. It is Craft related and not a bug from your plugin. In 5.0.5 they changed this:
and if we go back it fixed the problem with Wamp:
Anyway, I finally decided to switch to DDEV a few days ago because I feel like i'll encounter more of these weird problems if I keep using Wamp.
Interesting, and thanks for the insight!
Describe the bug
After updating Craft to 5.0.5, Hyper no longer works. There is nothing showing in the Hyper fields when editing pages, only the title. I had to downgrade to Craft 5.0.4 to get it working again.
Steps to reproduce
Craft CMS version
5.0.5
Plugin version
2.0.0-beta.8
Multi-site?
No
Additional context
No response