• Resolved wpgaijin

    (@wpgaijin)


    The action hook on line 64 for the itsg_gf_wysiwyg_ckeditor_js() method on line 144 in gf_wysiwyg_plugin.php isn’t calling the method because the method is static and $this is not applicable with static methods.

    This is pretty much braking the whole plugin. If you just change the itsg_gf_wysiwyg_ckeditor_js() to a non-static method, it’ll work. I can’t see any reason why you would nee this method to be static.

    https://www.ads-software.com/plugins/gravity-forms-wysiwyg-ckeditor/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author ovann86

    (@ovann86)

    Hey,

    Thanks for pointing this out.

    You may have seen, a few others have reported issues with this function running.

    I see the issue and can only assume it’s come about from bad copying and pasting but I dont see why it hasnt been an issue for me.

    I’m doing a tidy up of the PHP now to fix this up, rename some of the functions and implement more of the WordPress PHP coding standards.

    Would you mind testing this version before I did a release?

    I just want to make sure the admin CKeditor is loading. Since I cant reproduce the issue.

    It will be version 1.7

    demo.itsupportguides.com/downloads/gravity-forms-wysiwyg-ckeditor.zip

    Feel free to let me know if you see any other issues or have any suggestions.

    Is this why I’m getting this in the console:

    Uncaught ReferenceError: CKEDITOR is not defined

    It’s not working for me either since the update.

    Plugin Author ovann86

    (@ovann86)

    Possibly, you’re welcome to try to download above to see if it fixes things up.

    Plugin Author ovann86

    (@ovann86)

    ^^ the link above isn’t working, try copying and pasting or maybe the link below ^^

    demo.itsupportguides.com/downloads/gravity-forms-wysiwyg-ckeditor.zip

    Well the plugin works again with the above update, so that’s good. I still can’t check Enable in Form Editor or the boxes won’t expand in the forms, but I’m fine with that as long as the plugin works.

    Plugin Author ovann86

    (@ovann86)

    That’s really strange that the backend editor still isnt working.

    It means that the ‘view entries’ section may play up as well, as the ckeditor is expected to load there as well.

    Im hoping wpgaijin will have some insight.

    It’s difficult, because I can’t make the issue happen it’s impossible to solutions.

    Plugin Author ovann86

    (@ovann86)

    I belive this issue is now resolved in 1.7.1.

    I’m 99% sure this issue was happening because Gravity Forms was in no-conflict mode, which by design will stop plugins like this from working. In version 1.7.1 I added a prompt to alert users that have no-conflict mode enabled.

    If the issue is still happening with the latest version of this plugin please let me know.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘JS Loading Method Error’ is closed to new replies.