• Resolved Ed

    (@eammendola)


    I am using
    Ninja Forms version: 3.4.18
    WordPress version: 5.2.3
    PHP version: 7.2.14

    When I go to Ninja Forms Settings Page I receive the following error:

    ( ! ) Warning: Invalid argument supplied for foreach() in C:\wamp64\www\intranet\wp-content\plugins\ninja-forms\includes\Abstracts\ModelFactory.php on line 280
    Call Stack
    # Time Memory Function Location
    1 0.0003 428480 {main}( ) …\admin.php:0
    2 3.1717 20349288 do_action( ) …\admin.php:253
    3 3.1717 20349664 WP_Hook->do_action( ) …\plugin.php:465
    4 3.1717 20349664 WP_Hook->apply_filters( ) …\class-wp-hook.php:310
    5 3.1718 20350680 NF_Admin_Menus_Settings->display( ) …\class-wp-hook.php:286
    6 3.1788 20461416 NF_Abstracts_ModelFactory->get_fields( ) …\Settings.php:123

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Justin McElhaney

    (@jmcelhaney)

    I’m sorry to hear you are experiencing this. Can you update your Ninja Forms plugins to their latest versions and let me know if you continue to have the same issues?

    Can you then try temporarily deactivating all your plugins that are not Ninja Forms add-ons and switching to a default WordPress theme like Twenty Sixteen. If this solves your issue, then the problem was caused by an issue in one of those plugins or your theme. Reactivate them one at a time until the issue returns to determine which plugin is causing the conflict.
    If you do not have a development environment for your site (this is best practice and highly recommended),you can use the Health Check plugin (https://www.ads-software.com/plugins/health-check/) to temporarily disable plugins and your theme for a single user session, instead of all users using your site.

    If you are still having issues, can you contact our official support channel. https://ninjaforms.com/contact

Viewing 1 replies (of 1 total)
  • The topic ‘Ninja Forms Setting Page throwing PHP error’ is closed to new replies.