-
Notifications
You must be signed in to change notification settings - Fork 26
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
Does not work with new version of OctoberCMS (v40 #29
Comments
Just got exactly the same problem. I had a quick look and it seems that in build 420, the
Currently, both interfaces looks the same:
So I did this to fix my v420 site in https://github.com/vojtasvoboda/oc-twigextensions-plugin/blob/master/classes/TimeDiffTranslator.php#L6: // Current
class TimeDiffTranslator extends Translator
{}
// Fixed
use Symfony\Component\Translation\TranslatorInterface;
class TimeDiffTranslator extends Translator implements TranslatorInterface
{} Sorry for not making a PR, I havn't time yet to test it more deeply and see if there are side-effects. However, it fixes the fatal error and should be backward compatible. |
Hi guys, sorry for troubles. I have made PR and now waiting for tests: #30 |
Update 1.1.0 now ready. Please update at your backend. Thanks guys again for testing. |
Hi,
I just (edge) upgraded to OctoberCMS version 420 (LTS) and now I receive the following error message regarding Twix extensions plugin:
Regards,
CB
The text was updated successfully, but these errors were encountered: