Site logo

[Support request] Conflict with Block Editor Kit for Contact Form 7 – CF7 Blocks

Home Forums Support [Support request] Conflict with Block Editor Kit for Contact Form 7 – CF7 Blocks

Home Forums Support Conflict with Block Editor Kit for Contact Form 7 – CF7 Blocks

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2485635
    Jan

    Hi,

    There is a new plugin in the WordPress Plugin directory: Block Editor Kit for Contact Form 7 – CF7 Blocks.
    This looks very promising, Contact 7 forms with use of Gutenberg blocks.

    After activating it won’t work.
    After switching from Generatepress – child theme to the Twenty Twenty-Three it works.

    Looking in the debug it shows a PHP Fatal error, look at the trace at the end.
    It looks like a conflict between plugin and theme.

    Is this something the plugin-builder should fix?

    Kind regards,
    Jan

    [06-Jan-2023 09:18:20 UTC] PHP Fatal error: Uncaught Error: Class ‘WP_Theme_JSON_Data_Gutenberg’ not found in /home/jbbase/public_html/wp-content/plugins/cf7-blocks/app/core/Editor.php:44
    Stack trace:
    #0 /home/jbbase/public_html/wp-includes/class-wp-hook.php(308): CakeWP\CF7Blocks\Core\Editor->wp_theme_json_data_theme()
    #1 /home/jbbase/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #2 /home/jbbase/public_html/wp-includes/class-wp-theme-json-resolver.php(265): apply_filters()
    #3 /home/jbbase/public_html/wp-includes/class-wp-theme-json-resolver.php(561): WP_Theme_JSON_Resolver::get_theme_data()
    #4 /home/jbbase/public_html/wp-includes/global-styles-and-settings.php(103): WP_Theme_JSON_Resolver::get_merged_data()
    #5 /home/jbbase/public_html/wp-includes/block-editor.php(413): wp_get_global_stylesheet()
    #6 /home/jbbase/public_html/wp-content/plugins/cf7-blocks/app/core/Editor.php(215): get_block_editor_settings()
    #7 /home/jbbase/public_html/wp-content/plugins/cf7-blocks/app/core/Handler.php(45): CakeWP\CF7Blocks\Core\Editor->get_editor_set in /home/jbbase/public_html/wp-content/plugins/cf7-blocks/app/core/Editor.php on line 44

    #2485731
    David
    Staff
    Customer Support

    Hi there,

    what happens if you just active the GP theme, ie. no child theme ?

    #2485745
    Jan

    Hi,

    Active GP Theme (no child) gives the same fatal error.
    I don’t have anything in my child functions.php.

    #2485785
    David
    Staff
    Customer Support

    I am not sure but that plugin may not be designed for a classic PHP theme, it may rely on a block based theme that includes a theme.json – can you check with the developer ?

    #2486095
    Jan

    I have send the developer a message with the same question.
    I will ask him about the PGP / block-based theme.

    #2486108
    David
    Staff
    Customer Support

    Ok – let us know what they say !

    #2488946
    Jan

    Hi,

    I got an answer from the developer of the plugin.
    He updated the plugin and now it works and will fully test it now.

    Thanks again for your support

    #2489003
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.