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

  • Resolved emmaindexr

    (@emmaindexr)


    Fatal error: Uncaught Error: Call to undefined function utf8_decode() in /var/www/html/indexr.co.uk/wp-content/plugins/ninja-forms/includes/Helper.php:44 Stack trace: #0 [internal function]: WPN_Helper::utf8_decode(‘Contact Me’) #1 /var/www/html/indexr.co.uk/wp-content/plugins/ninja-forms/includes/Helper.php(42): array_map(Array, Array) #2 [internal function]: WPN_Helper::utf8_decode(Array) #3 /var/www/html/indexr.co.uk/wp-content/plugins/ninja-forms/includes/Helper.php(42): array_map(Array, Array) #4 /var/www/html/indexr.co.uk/wp-content/plugins/ninja-forms/includes/Abstracts/ModelFactory.php(132): WPN_Helper::utf8_decode(Array) #5 /var/www/html/indexr.co.uk/wp-content/plugins/ninja-forms/ninja-forms.php(664): NF_Abstracts_ModelFactory->import_form(‘{“settings”:{“t…’) #6 /var/www/html/indexr.co.uk/wp-includes/class-wp-hook.php(298): Ninja_Forms->activation(”) #7 /var/www/html/indexr.co.uk/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #8 /var/www/html/indexr.co.uk/wp-includes/plugin.php(453): WP in /var/www/html/indexr.co.uk/wp-content/plugins/ninja-forms/includes/Helper.php 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

    (@kbjohnson90)

    @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: http://php.net/manual/en/function.utf8-encode.php

    @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)
  • You must be logged in to reply to this topic.