Support » Plugin: Contact Form by WPForms - Drag & Drop Form Builder for WordPress » Error line 126 showing on some Dashboard screens

  • Resolved greymouse


    I’ve noticed this on a few internal screens within the Dashboard of a site I’ve created using a premium e-com theme (Porto).
    It shows up on some of the Plugin update screens (when I’m updating plugins) and it has shown up on the Porto theme setup screen (I have a screenshot).
    It doesn’t seem to be affecting the taking of any forms or sending of that info. Just seems to show up sporadically.
    Thought you should know.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ethan Choi


    Hi greymouse,

    When you get a moment, could you share the error message with us so we can troubleshoot the issue?

    Thanks 🙂

    Thread Starter greymouse


    The exact error message showed 2x at the top of the page:
    Notice: Trying to get property of non-object in /home/content/16/11963916/html/wp-content/plugins/wpforms-lite/includes/admin/class-am-deactivation-survey.php on line 126

    I only see this error when I open the Porto Theme “Setup Wizard” which obviously isn’t often (I saw it when the theme was first installed and then again when I just updated it).

    I seem to remember seeing it when I updated a WooCommerce plugin but I didn’t take notes on that one.

    Hope that helps.

    Plugin Support Ethan Choi


    Hi greymouse,

    Thanks for the details! I’ve noted the details for our team to be looking into it. PHP errors like this are helpful for developers to debug their code and it should not have any effect on the plugin or the forms on your site.

    If you’d like to turn off PHP errors on your site, please see WPBeginners’ tutorial.

    Thanks for bringing this to our attention 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error line 126 showing on some Dashboard screens’ is closed to new replies.