• Resolved seositoweb

    (@seositoweb)


    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 arguments

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is also broken on our site – error log

    #0 /var/www/tet.org.nz/htdocs/wp-includes/class-wp-hook.php(307): _acf_kses_allowed_html()
    #1 /var/www/tet.org.nz/htdocs/wp-includes/plugin.php(191): WP_Hook->apply_filters()
    #2 /var/www/tet.org.nz/htdocs/wp-content/plugins/wp-event-manager/templates/form-fields/multiselect-field.php(22): apply_filters()
    #3 /var/www/tet.org.nz/htdocs/wp-content/plugins/wp-event-manager/wp-event-manager-template.php(46): include('/var/www/tet.or...')
    #4 /var/www/tet.org.nz/htdocs/wp-content/plugins/wp-event-manager/templates/event-submit.php(43): get_event_manager_template()
    #5 /var/www/tet.org.nz/htdocs/wp-content/plugins/wp-event-manager/wp-event-manager-template.php(46): in" while reading upstream, client: 203.118.137.168, server: www.tet.org.nz, request: "GET /wp-admin/post.php?post=6800&action=edit HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php74-fpm-tet.org.nz.sock:", host: "www.tet.org.nz", referrer: "https://www.tet.org.nz/wp-admin/edit.php?post_type=event_listing"

    We can’t edit any events at all. Site Uses Elementor

    Hi @avocadesign @seositoweb

    The issue has been resolved, Please re download the plugin from org, It will resolve the issue.

    Regards,
    Priya

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in admin page Event Manager > Add new’ is closed to new replies.