• I have been going through our error logs as our server has been crashing on occasion due, at least in part, to this site.

    [01-May-2023 11:42:23 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/user/public_html/wp-content/plugins/wpforms-lite/includes/fields/class-name.php:527
    Stack trace:
    #0 /home/user/public_html/wp-includes/class-wp-hook.php(308): WPForms_Field_Name->validate(‘0’, ”, Array)
    #1 /home/user/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #2 /home/user/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/user/public_html/wp-content/plugins/wpforms-lite/includes/class-process.php(233): do_action(‘wpforms_process…’, ‘0’, ”, Array)
    #4 /home/user/public_html/wp-content/plugins/wpforms-lite/includes/class-process.php(109): WPForms_Process->process(Array)
    #5 /home/user/public_html/wp-includes/class-wp-hook.php(308): WPForms_Process->listen(Object(WP))
    #6 /home/user/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #7 /home/user/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #8 /home/user/public_html/wp-includes/class-wp.php(797): do_action_ref_array(‘wp’, Array)
    #9 /home/user/public_html/wp-includes/functions.php(1334): WP->main(”)
    #10 /home/user/public_html/wp-blog-header.php(16): wp()
    #11 /home/user/public_html/index.php(17): require(‘/home/ebadmin/p…’)
    #12 {main}
    thrown in /home/user/public_html/wp-content/plugins/wpforms-lite/includes/fields/class-name.php on line 527

    This error tends to show up just before our server crashes.

    Any help would be greatly apprecieated.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @nimage,

    Looking at your site, I can see you’re using the latest version, 1.8.1.2.

    It looks like there might be a conflict between the forms and the site theme or another plugin. To troubleshoot this, please try the steps described in our detailed guide on how to test for plugin/theme conflicts.

    Hope this helps!

    Thread Starter Image Works, Inc.

    (@nimage)

    Hi @rsouzaam,

    Thank you for the response. Sadly we have been unable to really test anything for conflicts as we are currently unsure what is causing the error message to be shown. It only shows up 1-3 times a month, seemingly at random.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @nimage,

    Thanks for letting me know, and I’m sorry for the issue.

    In this case, I’d recommend:

    1) Enable debugging in WordPress to log any errors detected on your site. This may help to identify what is related to the issue.

    2) You could create a copy of your site to try to reproduce the issue with other PHP versions. Also, this site’s copy would help to monitor the issue, and?test for plugin/theme conflicts.

    Hope this helps!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @nimage,

    We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Fatal error: Uncaught TypeError: Cannot access offset of type string’ is closed to new replies.