Error in admin page Event Manager > Add new
-
Hi. I am using WP Event Manager version 3.1.29 and Divi version 4.17.4
The following error occurred:Fatal error: Uncaught ArgumentCountError: Too few arguments to function et_builder_wp_kses_post_tags(), 1 passed in /web/htdocs/www.winerytastingsicily.com/home/events/wp-includes/class-wp-hook.php on line 307 and exactly 2 expected in /web/htdocs/www.winerytastingsicily.com/home/events/wp-content/themes/Divi/includes/builder/feature/dynamic-content.php:1611 Stack trace: #0 /web/htdocs/www.winerytastingsicily.com/home/events/wp-includes/class-wp-hook.php(307): et_builder_wp_kses_post_tags('<div class="wpe...') #1 /web/htdocs/www.winerytastingsicily.com/home/events/wp-includes/plugin.php(191): WP_Hook->apply_filters('<div class="wpe...', Array) #2 /web/htdocs/www.winerytastingsicily.com/home/events/wp-content/plugins/wp-event-manager/templates/form-fields/multiselect-field.php(22): apply_filters('wp_kses_allowed...', '<div class="wpe...') #3 /web/htdocs/www.winerytastingsicily.com/home/events/wp-content/plugins/wp-event-manager/wp-event-manager-template.php(46): include('/web/htdocs/www...') #4 /web/htdocs/www.winerytastin in /web/htdocs/www.winerytastingsicily.com/home/events/wp-content/themes/Divi/includes/builder/feature/dynamic-content.php on line 1611
I found
apply_filters('wp_kses_allowed_html', $field['description'])
in file wp-content/plugin/wp-event-manager/templates/form-fields/multiselect-field.php on line 22, but that filter takes 2 arguments:
apply_filters( 'wp_kses_allowed_html', array[] $html, string $context )
so the error occurs because of Divi function
function et_builder_wp_kses_post_tags( $tags, $context )
in file wp-content/themes/Divi/includes/builder/feature/dynamic-content.php on line 1611, which takes 2 argumentsThe page I need help with: [log in to see the link]
- The topic ‘Error in admin page Event Manager > Add new’ is closed to new replies.