Hello, good morning.
Since one of the recent updates, I can no longer use the plugins I had previously installed. Every time I try, I get an error, and afterward, I receive an email with the following message:
Hello!
WordPress has a built-in feature that detects when a plugin or theme is causing a critical error on your site, and notifies you with this automated email.
WordPress has detected an error in the plugin you are using: tagDiv Opt-In Builder.
Please visit the site (https://*****.pl/) and check for any visible issues. Then visit the page where the error was detected (https://*****.pl/wp-admin/post.php) and check for any visible issues.
Contact your web host for help in further investigating this issue.
If your site appears to be broken and you are unable to access your dashboard, WordPress now has a special “recovery mode.” This allows you to safely log into your dashboard and investigate further.
To keep the site safe, this link will expire in 1 day. Please do not worry about this, as a new link will be sent if the error occurs again after it expires.
To resolve the issue, you may need the following information:
WordPress version 6.8.1
Current theme: Newspaper (version 12.7.1)
Current plugin: tagDiv Opt-In Builder (version 1.7.1 | built on 29.04.2025 10:50)
PHP version: 8.3.14
Error details
====================
E_ERROR error was caused on line 3276 of /home/site717905/public_html/wp-content/plugins/td-subscription/includes/td_subscription.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given public_html/wp-content/plugins/td-subscription/includes/td_subscription.php:3276
Stack trace:
#0 /public_html/wp-includes/class-wp-hook.php(324): td_subscription::td_post_theme_settings_mb_save_filter(NULL, ‘32221’)
#1 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array)
#2 /public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/external/wpalchemy/MetaBox.php(880): apply_filters(‘wpalchemy_filte…’, NULL, ‘32221’)
#3 /public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/external/wpalchemy/MetaBox.php(2081): WPAlchemy_MetaBox->apply_filters(‘save’, NULL, ‘32221’)
#4 /public_html/wp-includes/class-wp-hook.php(326): WPAlchemy_MetaBox->_save(32221)
#5 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#6 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 public_html/wp-includes/post.php(5110): do_action(‘save_post’, 32221, Object(WP_Post), true)
#8 /public_html/wp-includes/post.php(5212): wp_insert_post(Array, false, true)
#9 /public_html/wp-admin/includes/post.php(453): wp_update_post(Array)
#10 /public_html/wp-admin/post.php(227): edit_post()
#11 {main}
thrown
Are you able to help me figure out what’s going on? I’d really appreciate any assistance.
Thank you in advance!
Hi,
Thank you for providing the error message. From this one I can see that the situation is caused by tagDiv Opt-in builder, it is possible that this is related to the php version you are using, I will recommend to try with previous versions as 7.4, 8, 8.1, and 8.2 (this should resolved the problem). Also, in case that you are not using the options provided by the plugin then the best solution is to disable it.
Thank you!