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

Twitter plugin exceptions in OctoberCMS build 337 #10

Closed
hybridvision opened this issue May 25, 2016 · 2 comments
Closed

Twitter plugin exceptions in OctoberCMS build 337 #10

hybridvision opened this issue May 25, 2016 · 2 comments

Comments

@hybridvision
Copy link

hybridvision commented May 25, 2016

After updating a project that was using the Twitter plugin, I get the following error on the front end:

Class 'HTML' not found

image

I also get this error in the CMS when trying to inspect the component:

"The component 'RainLab\Twitter\Components\EmbedTimeline' does not contain a method 'getLangOptions'." on line 278 of /home/vagrant/sites/test/www/modules/cms/Classes/ComponentBase.php

image

I have build 337 of OctoberCMS and version 1.0.3 of the Twitter plugin. Everything is up to date according to the dashboard.

I haven't been able to find yet where the mysterious HTML class went but I assume the code was refactored and this wasn't updated yet. For the getLangOptions error, is that related to the recent multi-lingual updates that have been done?

I know this is a relatively simple plugin and it would be great if someone has a quick fix. Unfortunately I don't have much time right now to look into it with a deadline looming...

Thanks!

@daftspunk
Copy link
Member

Try it again with latest code base

@hybridvision
Copy link
Author

Wow, that was quick! Works like a charm! 👍

Many thanks, Samuel!

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

2 participants