Uncaught TypeError: array_key_exists()

Posted in: Newspaper
Post count: 148

Just got this error message from WordPress during configuring a plugin:

WordPress versie 6.8.3
Active theme: Newspaper (versie 12.7.1)
Current plugin: tagDiv Opt-In Builder (versie 1.7.1 | built on 29.04.2025 10:50)
PHP version 8.3.26

Error Details
=============
An error type E_ERROR was caused in linenumber 3276 of file /var/www/vhosts/xxx.xxx/httpdocs/wp-content/plugins/td-subscription/includes/td_subscription.php.
Message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/vhosts/xxx.xxx/httpdocs/wp-content/plugins/td-subscription/includes/td_subscription.php:3276
Stack trace:
#0 /var/www/vhosts/xxx.xxx/httpdocs/wp-includes/class-wp-hook.php(324): td_subscription::td_post_theme_settings_mb_save_filter()
#1 /var/www/vhosts/xxx.xxx/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /var/www/vhosts/xxx.xxx/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/external/wpalchemy/MetaBox.php(880): apply_filters()
#3 /var/www/vhosts/xxx.xxx/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/external/wpalchemy/MetaBox.php(2081): WPAlchemy_MetaBox->apply_filters()
#4 /var/www/vhosts/xxx.xxx/httpdocs/wp-includes/class-wp-hook.php(326): WPAlchemy_MetaBox->_save()
#5 /var/www/vhosts/xxx.xxx/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /var/www/vhosts/xxx.xxx/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /var/www/vhosts/xxx.xxx/httpdocs/wp-includes/post.php(5110): do_action()
#8 /var/www/vhosts/xxx.xxx/httpdocs/wp-includes/post.php(5212): wp_insert_post()
#9 /var/www/vhosts/xxx.xxx/httpdocs/wp-admin/includes/post.php(453): wp_update_post()
#10 /var/www/vhosts/xxx.xxx/httpdocs/wp-admin/post.php(227): edit_post()
#11 {main}
thrown

Might this be caused by a lack of memory (php,SQL,kernel)?
Thank you,
Jos

  • This topic was modified 10 months by DocDigit.
Post count: 35449

Hi,

A quickfix is to enable the lockers for the events, please check in the theme panel and you should see your events post type and enable the locker for them here https://prnt.sc/2vRjAnM-IliL This just enables the option to use lockers for the events, you don’t have to actually set lockers for them, just enable that option.

We are very sorry for this inconvenience. Please try it and then publishing/updating events should function correctly.

Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.