Support » Plugin: Ninja Forms - The Easy and Powerful Forms Builder » fatal error on activation

  • Resolved emmaindexr


    Fatal error: Uncaught Error: Call to undefined function utf8_decode() in /var/www/html/ Stack trace: #0 [internal function]: WPN_Helper::utf8_decode(‘Contact Me’) #1 /var/www/html/ array_map(Array, Array) #2 [internal function]: WPN_Helper::utf8_decode(Array) #3 /var/www/html/ array_map(Array, Array) #4 /var/www/html/ WPN_Helper::utf8_decode(Array) #5 /var/www/html/ NF_Abstracts_ModelFactory->import_form(‘{“settings”:{“t…’) #6 /var/www/html/ Ninja_Forms->activation(”) #7 /var/www/html/ WP_Hook->apply_filters(”, Array) #8 /var/www/html/ WP in /var/www/html/ on line 44

Viewing 3 replies - 1 through 3 (of 3 total)
  • I received a fatal error message as well during activation. The message is:
    Fatal error: Cannot redeclare class Parser ….

    Any ideas how to resolve this issue? I’ve installed and used Ninja Form in another site without any problems. My WP version is 4.8

    I appreciate the help.

    Plugin Author Kyle B. Johnson


    @emmaindexr according to your error, it appears that the PHP function utf8_decode() is not available. I would suggest contacting your host to confirm that php-xml package is installed on the server. See:

    @tuty-voa Not sure if this error is related to @emmaindexr; It would depend on the full text of the error. (The php-xml package is a Parser… anyway).
    Are you able to provide the full error of the text?

    Hi Kyle,

    Thank you for your initial response.

    The following is the entire line of error message:
    Fatal error: Cannot redeclare class Parser in /home/diaspora/public_html/bali-pazb/wp-content/plugins/ninja-forms/includes/Libraries/EOS/Parser.php on line 63

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fatal error on activation’ is closed to new replies.