• Resolved rgm2201

    (@rgm2201)


    I have my homepage upgraded to WordPress 3.9. Now I have the following problem. If I want to use the visual editor (TinyMCE Widget Studio Black / Version 1.3.3), the following error message appears:

    ReferenceError: pollsEdL10n is not defined

    and I can not write anything in the visual editor or add files.
    If I disable WP_Polls (Version 2.65) is the visual editor probemlos.
    What can I do to solve the problem.

    https://www.ads-software.com/plugins/wp-polls/

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Are you using any caching plugin? Does it happen on the default theme as well?

    Thread Starter rgm2201

    (@rgm2201)

    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.

    Plugin Author Lester Chan

    (@gamerz)

    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.

    Thread Starter rgm2201

    (@rgm2201)

    I have inserted the row. Unfortunately nothing has helped. The error message still comes.

    Plugin Author Lester Chan

    (@gamerz)

    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

    Plugin Author Lester Chan

    (@gamerz)

    I fixed it, could you test it? https://github.com/lesterchan/wp-polls/archive/master.zip just overwrite everything in the polls folder.

    Thanx for the fix ??

    Thread Starter rgm2201

    (@rgm2201)

    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”.

    Plugin Author Lester Chan

    (@gamerz)

    @rgm2201: then it must be something else. I tried on my end it works fine. See the SS https://i.imgur.com/QYVVGnu.jpg. I am using TinyMCE Widget Studio Black 1.3.3 with the dev build of PostRatings I posted above

    Thread Starter rgm2201

    (@rgm2201)

    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.

    Plugin Author Lester Chan

    (@gamerz)

    @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?

    Plugin Author Lester Chan

    (@gamerz)

    That might mean your WP-Editor is not compatible with 3.9. The last I check it https://www.ads-software.com/plugins/wp-editor/ it is only compatible with 3.7.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘ReferenceError: pollsEdL10n is not defined’ is closed to new replies.