Closed tanjilahmed7 closed 4 months ago
Yeah, having the same issue. This is what I get for theme options
We're experiencing the same issue on numerous sites using Carbon Fields (an older version - 3.3.4). As a quick fix, enqueueing regenerator runtime seems to be working for us so far. Add this code to your theme or a plugin:
if (!function_exists('enqueue_regenerator_runtime_admin')) {
function enqueue_regenerator_runtime_admin() {
// Check if regenerator-runtime has already been enqueued
if (!wp_script_is('regenerator-runtime', 'enqueued')) {
wp_enqueue_script('regenerator-runtime');
}
}
add_action('admin_enqueue_scripts', 'enqueue_regenerator_runtime_admin');
}
Hope this helps until an official fix is released.
After some testing I figured out that this problem occurs on CF versions below 3.5. Anyone having this issue should try and update to the latest version.
Updating CF to version 3.5 solved the issue for me.
composer require htmlburger/carbon-fields
Version
Plugins List
When I updated to WordPress version 6.6, an error occurred with the Carbon Fields blocks. I have attached an image for better understanding. When i downgrade the wordpress (6.4.5) version that moment it works.