- This topic has 7 replies, 2 voices, and was last updated 3 years, 3 months ago by
David.
-
AuthorPosts
-
January 6, 2023 at 2:47 am #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 44January 6, 2023 at 5:00 am #2485731David
StaffCustomer SupportHi there,
what happens if you just active the GP theme, ie. no child theme ?
January 6, 2023 at 5:17 am #2485745Jan
Hi,
Active GP Theme (no child) gives the same fatal error.
I don’t have anything in my child functions.php.January 6, 2023 at 5:56 am #2485785David
StaffCustomer SupportI 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 ?
January 6, 2023 at 8:53 am #2486095Jan
I have send the developer a message with the same question.
I will ask him about the PGP / block-based theme.January 6, 2023 at 8:59 am #2486108David
StaffCustomer SupportOk – let us know what they say !
January 9, 2023 at 7:44 am #2488946Jan
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
January 9, 2023 at 7:49 am #2489003David
StaffCustomer SupportGlad to hear that!
-
AuthorPosts
- You must be logged in to reply to this topic.