Hi thanks for reporting this bug. May I ask what the form was trying to update?
Hi, thanks for the reply, I have removed the title and post field, and I am updating ACF fields only. But I don’t even need to change any fields – Just an update without changing fields causes this issue. I am using a custom post type (created with the Custom Post Type UI plugin).
Are you using Hello elementor child theme or just Hello?
I am using a plain child theme of Hello. Tried now to use only Hello theme, and also disabling all plugins (apart from ACF (5.8.7), Custom Post Type UI and Elementor PRO (2.7.3), and the same result. Using WP 5.3
According to the error, the problem is in Hello theme’s header.php file. Apparently there is a `?>’ at the end of the file that you must remove. I’m gonna keep looking into whether or not this is related to our plugin and I’ll let you know what I find. Is the form letting you update content though?
I checked and there is no ‘?>’ at the end of the header.php file.The form is letting me update content through. I also tried with theme TwentyTwenty, same issue. So it might be an issue related with the current version of Elementor..? Now there is a different file causing the sent header issue:
Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/wp-content/plugins/elementor/modules/page-templates/templates/canvas.php:10
Then I change my page template from canvas to standard, then I got the sent headers error here:
/home/mysite/public_html/wp-content/themes/hello-elementor/header.php:14
Here are the first 22 lines of the header.php file (not modified, standard from Hello theme)
<?php
/**
* The template for displaying the header
*
* This is the template that displays all of the <head> section, opens the <body> tag and adds the site's header.
*
* @package HelloElementor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<?php $viewport_content = apply_filters( 'hello_elementor_viewport_content', 'width=device-width, initial-scale=1' ); ?>
<meta name="viewport" content="<?php echo esc_attr( $viewport_content ); ?>">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
Hello, so we think we found the source of the issue. We are updating to 2.1.0 soon and this error should be fixed.
Hey, we updated the plugin. The error should be gone! Thanks for the heads up!
Thanks, I appreciate! π