• Resolved pbindy

    (@pbindy)


    Hello,

    I’m trying to create an email to be sent after a submit on my form, but I get the following error:

    Fatal error: Uncaught Error: Call to a member function save_admin() on null in /home/clients/82c03eed6105db946e6edc646aaef013/web/wp-content/plugins/ninja-forms/deprecated/classes/notifications.php:324 Stack trace: #0 /home/clients/82c03eed6105db946e6edc646aaef013/web/wp-content/plugins/ninja-forms/deprecated/includes/admin/save.php(109): NF_Notifications->save_admin(139, Array) #1 /home/clients/82c03eed6105db946e6edc646aaef013/web/wp-includes/class-wp-hook.php(287): ninja_forms_admin_save('') #2 /home/clients/82c03eed6105db946e6edc646aaef013/web/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(false, Array) #3 /home/clients/82c03eed6105db946e6edc646aaef013/web/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /home/clients/82c03eed6105db946e6edc646aaef013/web/wp-admin/admin.php(170): do_action('admin_init') #5 {main} thrown in /home/clients/82c03eed6105db946e6edc646aaef013/web/wp-content/plugins/ninja-forms/deprecated/classes/notifications.php on line 324

    It never happened to me before and I’ve created around 40+ forms.

    I use 5.4.1–fr_FR WordPress version (last one) and Version 3.4.24.3 of Ninja Forms.

    Thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pbindy

    (@pbindy)

    WordPress version 5.4.2
    Theme : MH NewsMagazine (version 1.1.3)
    Extension : Ninja Forms (version 3.4.24.3)
    PHP version 7.1.33

    Anyone with the same issue?

    I have the same issue.

    WordPress-Version 5.4.2
    Plugin: Ninja Forms (Version 3.4.24.3)
    PHP-Version 7.3.6

    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 324 der Datei /.../wphome/wp-content/plugins/ninja-forms/deprecated/classes/notifications.php verursacht.
    Fehlermeldung: Uncaught Error: Call to a member function save_admin() on null in /.../wphome/wp-content/plugins/ninja-forms/deprecated/classes/notifications.php:324
    Stack trace:
    #0 /.../wphome/wp-content/plugins/ninja-forms/deprecated/includes/admin/save.php(109): NF_Notifications->save_admin(2, Array)
    #1 /.../wphome/wp-includes/class-wp-hook.php(287): ninja_forms_admin_save('')
    #2 /.../wphome/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(false, Array)
    #3 /.../wphome/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /.../wphome/wp-admin/admin.php(170): do_action('admin_init')
    #5 {main}
      thrown

    I’ve received the following fix from the official nf support:

    it appears that you are still using the deprecated, 2.9.x codebase. You can upgrade to the 3 codebase by following this documentation. https://ninjaforms.com/docs/conversion/

    Maybe that helps for you as well?

    Thread Starter pbindy

    (@pbindy)

    yes I received the same fix from the official support and it is now working with version 3.x codebase.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error on creation of form email’ is closed to new replies.