• Resolved sdevyt

    (@sdevyt)


    I’ve used Forminator without problems for years, but one of my sites immediately crashes anytime I enable it now. Get the same error with 1.33 and 1.34.1, no matter if I re-install. Please help!

    Fatal error: Uncaught Error: Call to a member function get_version_options_name() on null in /…/html/html/wp-content/plugins/forminator_new/library/class-addon-loader.php:468

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @sdevyt

    I hope you’re well today!

    In general, that error is related to available add-ons activation.

    I’m wondering why the install folder of the plugin on your site is “plugins/forminator_new” instead of just “plugins/forminator”. It doesn’t matter much usually but it also suggests that this folder was renamed for some reason and makes me wander if this is the only copy/instance of Forminator that you have installed on site.

    Is it or do you still also have another copy of Forminator there? If yes, could you make sure that there is only one installed (I mean – physically installed, even if the other one is inactive)?

    If that’s not the case or doesn’t help, could you try simply deleting the plugin from site and re-installing it?

    If that is still not solving it, let us know, please.

    Kind regards,
    Adam

    Thread Starter sdevyt

    (@sdevyt)

    Thanks for your quick reply Adam. Unfortunately that did not work and returned the same error. Full stack trace:

    Fatal error: Uncaught Error: Call to a member function get_version_options_name() on null in /var/www/wordpress/html/html/wp-content/plugins/forminator/library/class-addon-loader.php:468 Stack trace: #0 /var/www/wordpress/html/html/wp-content/plugins/forminator/library/class-addon-loader.php(657): Forminator_Addon_Loader->add_activated_addons() #1 /var/www/wordpress/html/html/wp-includes/class-wp-hook.php(324): Forminator_Addon_Loader->update_zapier_to_webhook() #2 /var/www/wordpress/html/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /var/www/wordpress/html/html/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /var/www/wordpress/html/html/wp-content/plugins/forminator/forminator.php(321): do_action() #5 /var/www/wordpress/html/html/wp-content/plugins/forminator/forminator.php(104): Forminator->init_addons() #6 /var/www/wordpress/html/html/wp-content/plugins/forminator/forminator.php(85): Forminator->__construct() #7 /var/www/wordpress/html/html/wp-content/plug in /var/www/wordpress/html/html/wp-content/plugins/forminator/library/class-addon-loader.php on line 468

    Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @sdevyt

    Hope you’re doing well today!

    I am sorry to hear the issue persists.

    but one of my sites immediately crashes anytime I enable it now.

    Can you please confirm if you previously had a very old version of Forminator installed on the same site after which you updated it to the recent version? For example, directly updating from v1.14 to 1.33, can you please confirm if that was the case?

    Let me explain a bit more, we’ve noticed similar errors when there is a too-big jump in the plugin version when updating them on the site.

    In case that is the situation, could you please let us know so that we can guide you on this further?

    Kind Regards,
    Saurabh

    Thread Starter sdevyt

    (@sdevyt)

    It was my first time updating Forminator in at least a year-ish, so that could be the case. How do I fix it?

    Appreciate your help!

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @sdevyt,

    I hope things are going well for you. I am sorry to hear about this.

    I could replicate the same issue on my test site with older PHP version 7.4. This came from the Zapier integration because some data was left over from the old to the new version. In the upcoming version, it is changed to webhook (which has more possibilities), as the error logs mentioned about the add-on loader.

    Here are the steps that can help to resolve the issue.
    – Create a site backup for safety.
    – Delete the forminator folder from public_html/wp-content/plugins/forminator.
    – Download the older version 1.14 version from:- https://wordpress.org/plugins/forminator/advanced/
    – Install the older version manually from the WordPress admin dashboard or follow this guide:- https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#uploading-a-new-plugin
    – Activate the plugin.
    – Navigate to Forminator -> Integrations -> disconnect Zaiper integration.
    – Update the Forminator to the latest version.
    – If you wish to use the Zaiper integration, you can redo a fresh integration by following this guide: https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#webhook.

    Kindly follow the given methods and share the outcome with us.


    Thanks & Kind Regards,
    Imran Khan

    Thread Starter sdevyt

    (@sdevyt)

    Thank you very much! That seems to have done the trick.

    I haven’t yet setup the Zapier webhook, but it seems fixed now.

    Appreciate the support, above and beyond 🙂

    Thread Starter sdevyt

    (@sdevyt)

    Hi there, I ran into a similar error — I updated to a new version of Forminator on a different site to add hCaptcha. All the forms seems to work fine except the login form now breaks on the following fatal error. Any pointers like last time? Appreciate your help 🙂

    b>Fatal error</b>:  Uncaught Error: Call to undefined function defender_backward_compatibility() in /var/www/wordpress/html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-render.php:3262

    Stack trace:

    #0 /var/www/wordpress/html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-render.php(313): Forminator_CForm_Front-&gt;get_2FA_poviders()

    #1 /var/www/wordpress/html/wp-content/plugins/forminator/library/render/class-render-form.php(456): Forminator_CForm_Front-&gt;render_form_authentication()

    #2 /var/www/wordpress/html/wp-content/plugins/forminator/library/render/class-render-form.php(263): Forminator_Render_Form-&gt;get_form()

    #3 /var/www/wordpress/html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-render.php(3007): Forminator_Render_Form-&gt;render()

    #4 /var/www/wordpress/html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-render.php(235): Forminator_CForm_Front-&gt;get_html()

    #5 /var/www/wordpress/html/wp-content/plugins/forminator/library/ren in <b>/var/www/wordpress/html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-render.php</b> on line <b>3262</b>

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

The topic ‘Fatal Error: get_version_options_name() on null’ is closed to new replies.