Are you using any caching plugin? Does it happen on the default theme as well?
I use the theme mesocolumn . But the problem has nothing to do with the theme. I changed the theme to see if the problem occurs only with my theme . Even with other themes I had the same problem . I also use no caching plugin.
Then I have wordpress 3.9 new install on a test system . System language is German . Then I installed the plugins WP_Polls ( version 2.65 ) and TinyMCE Widget Studio Black ( version 1.3.3) . First WP_Polls . Then I wanted to use the visual editor and insert a text in the sidebar. It comes when opening the visual editor the message.
ReferenceError : pollsEdL10n is not defined
Man can give a title but do not enter any other text . If you click on the tab labeled “HTML” and stores , you can load text and images. But only “HTML” . ” VISUAL does not work.
If I do not place a post in the widget does not occur the problem.
Although I have installed the theme “Twenty Fourteen ” and only the plugins WP_Polls and TinyMCE Widget Studio Black the error occured . As soon as I disable WP_Polls the visual editor goes without error message.
I think I know why, that is because the WP-Polls JS variables will not load outside of the post/page pages in WP-Admin
Find on (Line 254) https://github.com/lesterchan/wp-polls/blob/master/wp-polls.php#L254
Add below it:
add_action('admin_widgets.php', 'poll_footer_admin');
let me know if it works and I will add it into the plugin.
I have inserted the row. Unfortunately nothing has helped. The error message still comes.
I will take a look on Monday when I install the plugin on my dev site. If you want to tack it https://github.com/lesterchan/wp-polls/issues/15
I fixed it, could you test it? https://github.com/lesterchan/wp-polls/archive/master.zip just overwrite everything in the polls folder.
I have installed the new version. The error message no longer occurs. But the “Visual Editor” does not work. The buttons to format the text in the “Visual Editor” can not be seen. It can only be written in “HTML Editor”.
@rgm2201: then it must be something else. I tried on my end it works fine. See the SS http://i.imgur.com/QYVVGnu.jpg. I am using TinyMCE Widget Studio Black 1.3.3 with the dev build of PostRatings I posted above
Thanks for the great help. It’s enough for me if I can work in the “HTML Editor”.
I tried the dev version linked above and it’s working, but beware of the plugin’s folder name. If you upload the above zip file as it is, the plugin goes in a folder called wp-polls-master instead of wp-polls, which causes 404 errors on the plugin’s js files. You have to manually rename the folder to wp-polls.
Hello LesterChan, thank you first of all for your useful plugins.
I wanted to let you know that the problem described here is not limited to the WYSIWYG editor on a widgets page, but also on other places.
I use Pods Framework and made custom content types, with a standard WYSIWYG editor as one of the fields, and the same problem occurs there as well.
I just wanted to let you know. I don’t know if this update fixes these too, or just the problems on the widget page.
@rashn: The dev version should fix that as well. try it and let me know
Hey Lester,
i already tried the Dev-Version. Now it throws a “undefined is not a function ” error. Here’s the malfunctioning Part:
b.addButton(“polls”,{text:!1,tooltip:tinymce.translate(“Insert Poll”)
in plugin.min.
My Situation: I have the WP-Editor on the frontend and it won’t load, if im not disabling this Plugin.
Could you tell me, what i should fix?
That might mean your WP-Editor is not compatible with 3.9. The last I check it http://ww.wp.xz.cn/plugins/wp-editor/ it is only compatible with 3.7.