Title: Plugin causing critical error on site
Last modified: June 30, 2025

---

# Plugin causing critical error on site

 *  Resolved [heklawiter](https://wordpress.org/support/users/heklawiter/)
 * (@heklawiter)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/)
 * I was doing maintenance on a clients site. They are using a shortcode to insert
   the form in a sidebar. The pages with this sidebar are experiencing a critical
   error and the form with not display, and the page itself is not formatted correctly.
   When I went to go investigate in the Widgets page on the backend I couldn’t, 
   and got a full page critical error message. This was sent to my email:
 *     ```wp-block-code
       Howdy!WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.In this case, WordPress caught an error with one of your plugins, Constant Contact Forms for WordPress.First, visit your website (https://www.northandovermerchants.org/) and check for any visible issues. Next, visit the page where the error was caught (https://www.northandovermerchants.org/wp-admin/widgets.php) and check for any visible issues.Please contact your host for assistance with investigating this issue further.If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.[removed by moderator - DO NOT POST LOGIN LINKS]To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.When seeking help with this issue, you may be asked for some of the following information:WordPress version 6.8.1Active theme: NAMA (version 1.08.1624905223)Current plugin: Constant Contact Forms for WordPress (version 2.11.1)PHP version 8.1.31Error Details=============An error of type E_ERROR was caused in line 1260 of the file /home/northandovermerchants/dev.northandovermerchants.org/wp-content/plugins/constant-contact-forms/includes/class-display.php. Error message: Uncaught TypeError: ConstantContact_Display::checkbox(): Argument #3 ($value) must be of type array, string given, called in /home/northandovermerchants/dev.northandovermerchants.org/wp-content/plugins/constant-contact-forms/includes/class-display.php on line 835 and defined in /home/northandovermerchants/dev.northandovermerchants.org/wp-content/plugins/constant-contact-forms/includes/class-display.php:1260Stack trace:#0 /home/northandovermerchants/dev.northandovermerchants.org/wp-content/plugins/constant-contact-forms/includes/class-display.php(835): ConstantContact_Display->checkbox('Select list(s) ...', 'lists___29c04f9...', '', '', true, false, 3523, 'top', 0)#1 /home/northandovermerchants/dev.northandovermerchants.org/wp-content/plugins/constant-contact-forms/includes/class-display.php(562): ConstantContact_Display->field(Array, Array, Array, 3523, 'top', 0)#2 /home/northandovermerchants/dev.northandovermerchants.org/wp-content/plugins/constant-contact-forms/includes/class-display.php(407): ConstantContact_Display->build_form_fields(Array, Array, Array, 0)#3 /home/northandovermerchants/dev.northandovermerchants.org/wp-content/plugins/constant-contact-forms/includes/class-display-shortcode.php(111): ConstantContact_Display->form(Array, '3523', false, 0)#4 /home/northandovermerchants/dev.northandovermerchants.org/wp-content/plugins/constant-contact-forms/includes/class-display-shortcode.php(82): ConstantContact_Display_Shortcode->get_form(3523, false)#5 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/shortcodes.php(434): ConstantContact_Display_Shortcode->render_shortcode(Array, '', 'ctct')#6 [internal function]: do_shortcode_tag(Array)#7 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(ctct)(...', 'do_shortcode_ta...', '[ctct form="352...')#8 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/class-wp-hook.php(326): do_shortcode('[ctct form="352...')#9 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/plugin.php(205): WP_Hook->apply_filters('[ctct form="352...', Array)#10 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/widgets/class-wp-widget-custom-html.php(150): apply_filters('widget_text', '[ctct form="352...', Array, Object(WP_Widget_Custom_HTML))#11 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/class-wp-widget.php(394): WP_Widget_Custom_HTML->widget(Array, Array)#12 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/widgets.php(2041): WP_Widget->display_callback(Array, Array)#13 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(708): wp_render_widget('custom_html-6', 'sidebar-1')#14 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(159): WP_REST_Widgets_Controller->prepare_item_for_response(Array, Object(WP_REST_Request))#15 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Widgets_Controller->get_items(Object(WP_REST_Request))#16 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/widgets', Array, NULL)#17 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/rest-api.php(586): WP_REST_Server->dispatch(Object(WP_REST_Request))#18 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/rest-api.php(2973): rest_do_request(Object(WP_REST_Request))#19 [internal function]: rest_preload_api_request(Array, '/wp/v2/widgets?...')#20 /home/northandovermerchants/dev.northandovermerchants.org/wp-includes/block-editor.php(757): array_reduce(Array, 'rest_preload_ap...', Array)#21 /home/northandovermerchants/dev.northandovermerchants.org/wp-admin/widgets-form-blocks.php(26): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context))#22 /home/northandovermerchants/dev.northandovermerchants.org/wp-admin/widgets.php(32): require('/home/northando...')#23 {main}thrown
       ```
   
    -  This topic was modified 11 months, 1 week ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-causing-critical-error-on-site%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/#post-18534806)
 * [@heklawiter](https://wordpress.org/support/users/heklawiter/) Can you confirm
   whether or not the form in question is using the opt-in field? Trying to figure
   this issue out and that “opt-in” functionality is the only place I believe the
   code uses a checkbox for the generated forms.
 *  Thread Starter [heklawiter](https://wordpress.org/support/users/heklawiter/)
 * (@heklawiter)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/#post-18534813)
 * I don’t see a checkbox in the fields in the backend editor, just First Name, 
   Last Name, and Email.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/#post-18534817)
 * It would be in the section above the fields, with a label of “Add a checkbox 
   so subscribers can opt-in to your email list. (For use with Contact Us form)”
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/#post-18535160)
 * If you’re not seeing this:
 * [⌊Screen Shot⌉⌊Screen Shot⌉[
 * Then chances are you need to get your account reconnected.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/#post-18536204)
 * We’re planning to work up a second bugfix release for this as soon as able today,
   stay tuned.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/#post-18536219)
 * Remembered that we also use checkboxes for people who have selected the ability
   to choose which list is being subscribed to, and is probably part of the issue.
   Regardless, working on fixes 😀
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/#post-18536319)
 * Awesome. I believe that’s enough that we can confidently release to everyone 
   else.
 *  Thread Starter [heklawiter](https://wordpress.org/support/users/heklawiter/)
 * (@heklawiter)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/page/2/#post-18536326)
 * Hi there! Sorry for the delay in response, couple other fires popped up haha.
   The error is still occurring on their site, but it also looks like the plugin
   isn’t connected to their account any longer as well. Waiting to hear back from
   the client about login info to get them reconnected. 
   Thank you for being so 
   responsive about this issue! You folks rock
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/page/2/#post-18536339)
 * 2.11.2 out the door with changes around the checkbox parameter error.
 *  Thread Starter [heklawiter](https://wordpress.org/support/users/heklawiter/)
 * (@heklawiter)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/page/2/#post-18536897)
 * New update fixed it, thanks!
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/page/2/#post-18536984)
 * Awesome to hear. Thanks for the followup.

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

The topic ‘Plugin causing critical error on site’ is closed to new replies.

 * ![](https://ps.w.org/constant-contact-forms/assets/icon-256x256.png?rev=2951825)
 * [Constant Contact Forms](https://wordpress.org/plugins/constant-contact-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/constant-contact-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/constant-contact-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/constant-contact-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/constant-contact-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/constant-contact-forms/reviews/)

 * 11 replies
 * 4 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [11 months, 1 week ago](https://wordpress.org/support/topic/plugin-causing-critical-error-on-site/page/2/#post-18536984)
 * Status: resolved