Support » Plugin: CKEditor WYSIWYG for Gravity Forms » Call to undefined function

  • Resolved int3rc3ptor

    (@int3rc3ptor)


    Hi,

    Hello again, recently upgraded the plugin to 1.9.5 and seem to be getting the following error upon submitting a form

    Fatal error: Call to undefined function mb_convert_encoding() in /home/****/public_html/wp-content/plugins/gravity-forms-wysiwyg-ckeditor/gf_wysiwyg_ckeditor_plugin.php on line 224

    Any ideas?

    Cheers

    Darren

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

    (@ovann86)

    Hey,

    Assuming you’ve disabled the plugin and can access your WordPress back end … can you log into the wp-admin

    Open the Forms -> Settings menu
    Under ‘Installation Status’ you’ll find PHP Version
    Can you tell me which version you have?

    Cheers

    Plugin Author ovann86

    (@ovann86)

    Hey,

    I just took a further look at this and found that PHP has a history of handling multi-byte characters poorly and the the mb_* functions are common but not native. Hence why you don’t have it installed.

    So the issue for you stems from your PHP install not having the mbstring extension installed/enabled.

    I have however found an alternative that’ll let this work.

    I’ll push out an update shortly with what I hope to be the fix.

    Could you let me know how you go?

    Hi,

    Apologies for the late reply, I wasn’t able to have access to my laptop last night to help.

    Yeah for info, the site worked fine until a Gravity Form that had the plugin invoked on it was submitted, apologies I should have mentioned in my original post. We’re running PHP 5.6.26 just out of interest.

    Ah, thanks for finding an alternative, we have full control over our server, so I may look into adding the extension, but in the meantime, I’ve installed 1.9.6 on a test server and everything looks and submits fine now. So I’ll update live in due course

    Thank you again for such a quick turnaround!

    Best regards

    Darren

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Call to undefined function’ is closed to new replies.