MutationDigitale / craft3-translate

Craft CMS plugin for static translations in CP
Other
12 stars 7 forks source link

"Parse templates" utility throws an error #30

Closed Stalex89 closed 2 years ago

Stalex89 commented 2 years ago

After clicking on "Parse" button of "Parse templates" I'm getting the following error:

Twig Syntax Error – Twig\Error\SyntaxError Unknown "mix" function. Did you mean "max", "min" in "default.twig" at line 9?

Can you please fix it? Thank you

Craft version: Craft Pro 3.7.4 Php version: 7.3.29 Database version: MySQL 5.7.34 Plugin version : 2.4.4

Screenshot:

Screenshot 2021-08-11 at 14 23 41

smcyr commented 2 years ago

Do you have the Mix plugin enabled in your project?

jorenvanhee commented 2 years ago

I'm experiencing a similar issue.

Unknown "siteSwitcher" function

Is it possible that issue #3 got reintroduced?

Edit:

Just redeployed with some changes and the issue is gone. I will follow up when it reoccurs 🙂 .

smcyr commented 2 years ago

@jorenvanhee You're right, I pushed a new version that should fix the issue. Let me know if it works for you.

Stalex89 commented 2 years ago

@smcyr I'm getting the following error while trying to install the plugin. Tried both from CP and cli. Also tried to install the plugin on the plain Craft installation to see if something is interfering with it. Can you have a look pls?

Screenshot 2021-09-21 at 10 13 09 Screenshot 2021-09-21 at 10 14 36 Screenshot 2021-09-21 at 10 14 47
smcyr commented 2 years ago

@smcyr I'm getting the following error while trying to install the plugin. Tried both from CP and cli. Also tried to install the plugin on the plain Craft installation to see if something is interfering with it. Can you have a look pls?

I'm looking into it, thank you for reporting

smcyr commented 2 years ago

@Stalex89 I released a new version (2.4.7) with a fix for the SQL error.

Stalex89 commented 2 years ago

@smcyr Hello, everything seems to work now, thank you! 👍 😃