• Resolved Austin Ginder

    (@austinginder)


    Upgrading to NinjaForms v3.4.26 and I had a number of sites crash. It looks like a plugin conflict between NinjaForms and reCaptcha Pro by BestWebSoft: https://bestwebsoft.com/products/wordpress/plugins/google-captcha/. Deactivating reCaptcha Pro restores the website.

    
    Fatal error: Uncaught Error: Class 'NF_Abstracts_Element' not found in /www/public/wp-content/plugins/ninja-forms/includes/Abstracts/Field.php:6
    Stack trace:
    #0 /www/public/wp-content/plugins/google-captcha-pro/includes/captcha_for_nf.php(7): require_once()
    #1 /www/public/wp-content/plugins/google-captcha-pro/google-captcha-pro.php(18): require_once('/www/...')
    #2 /www/public/wp-admin/includes/plugin.php(668): include_once('/www/...')
    #3 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(323): activate_plugin('google-captcha-...', '', NULL)
    #4 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(467): Plugin_Command->activate(Array, Array)
    #5 [internal function]: Plugin_Command->toggle(Array, Array)
    #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(98): call_user_func(Array, Array, Array)
    #7 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_ in /www/public/wp-content/plugins/ninja-forms/includes/Abstracts/Field.php on line 6
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Same here, I have the same error after updating. Disabling Google-Captcha-Pro fixed it for now. Please fix this soon so we can enable google-captcha-pro again.

    I actually downgraded to v3.4.25 and enabled google-captcha-pro again.

    Plugin Contributor Justin McElhaney

    (@jmcelhaney)

    @blingit @austinginder
    The issue you are seeing is due to reCaptcha Pro plugin by BestWebSoft. This issue is due to their plugin calling part of the Ninja Forms code incorrectly. We have reached out to their team with a fix for their plugin and they stated that the fix would be included in the next version of their plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Fatal error: Uncaught Error: Class ‘NF_Abstracts_Element’ not found’ is closed to new replies.