- This topic has 16 replies, 3 voices, and was last updated 7 years ago by Tom.
-
AuthorPosts
-
November 11, 2017 at 6:39 pm #422033Ian Hipwell
Hi Tom,
I updated the gp-premium plugin but when I schedule a new post for a few days in the future I get the following error message. The post gets scheduled OK and the website appears to be working OK. Any idea what the error message means?
…..
Notice: Undefined index: _meta-generate-page-header-content in /home/ianh0987/public_html/wp-content/plugins/gp-premium/page-header/functions/metabox.php on line 645Warning: Cannot modify header information – headers already sent by (output started at /home/ianh0987/public_html/wp-content/plugins/gp-premium/page-header/functions/metabox.php:645) in /home/ianh0987/public_html/wp-admin/post.php on line 197
Warning: Cannot modify header information – headers already sent by (output started at /home/ianh0987/public_html/wp-content/plugins/gp-premium/page-header/functions/metabox.php:645) in /home/ianh0987/public_html/wp-includes/pluggable.php on line 1210
…..
These are the relevant lines;
metabox.php line 634: $value = wp_kses_post( $_POST[ $key ] );post.php line 197: if ( isset( $_COOKIE[‘wp-saving-post’] ) && $_COOKIE[‘wp-saving-post’] === $post_id . ‘-check’ ) {setcookie( ‘wp-saving-post’, $post_id . ‘-saved’, time() + DAY_IN_SECONDS, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, is_ssl() );
pluggable.php line 1210: header(“Location: $location”, true, $status);
thanks,
Ian Hipwell,
Sydney.November 11, 2017 at 11:09 pm #422115TomLead DeveloperLead DeveloperHi there,
That’s strange – does it happen when you hit the “Schedule” button? On a post or page?
November 12, 2017 at 4:43 am #422236Ian HipwellHi Tom,
When I press the schedule button for a post. I generally make one post per day and I try to schedule about a week’s worth in advance. It’s odd because I get the error message but the post is still scheduled OK & the website appears to be working OK as well.
Ian Hipwell
November 12, 2017 at 7:27 am #422371TomLead DeveloperLead DeveloperOn that scheduled post, do you have a Page Header set at all?
November 12, 2017 at 2:27 pm #422610Ian HipwellHi Tom,
No, Page Headers are not set. I generally don’t use them.
Ian Hipwell
November 12, 2017 at 8:46 pm #422751TomLead DeveloperLead DeveloperAny chance you can duplicate the site into a test folder using a plugin like Duplicator? I wouldn’t mind logging in and taking a closer look, as this definitely shouldn’t be happening – especially if Page Headers aren’t in use.
November 13, 2017 at 4:14 am #422978Ian HipwellHi Tom,
I’m not sure I understand. Do you mean I create a new folder on my host and create the duplicate site there? After that, how do I get the password to you securely?
(I’ve downloaded the Duplicator plugin and I’ve created a package.)
Ian Hipwell
November 13, 2017 at 8:04 am #423219TomLead DeveloperLead DeveloperExactly, that would help me debug the issue, as I can’t replicate it on my end.
You can send me login details here: https://generatepress.com/contact/
November 13, 2017 at 9:57 pm #423718Ian HipwellHi Tom,
I couldn’t figure out how to send the details via the contact page so I sent them in an email to GeneratePress
Ian Hipwell
November 13, 2017 at 10:18 pm #423722TomLead DeveloperLead DeveloperPerfect, I’ll take a look and will get back to you ASAP.
November 14, 2017 at 2:45 am #423858HenrikHi Tom,
is there already a solution for this issue? I do have the same problem after updating.
Henrik
November 14, 2017 at 9:10 am #424199TomLead DeveloperLead DeveloperYes, I think I’ve found the solution and will be releasing an update later today.
For now, you can simply turn WP_DEBUG off: https://codex.wordpress.org/WP_DEBUG
November 14, 2017 at 4:12 pm #424482TomLead DeveloperLead DeveloperI just released 1.5.3 which should fix this.
Let me know ๐
November 14, 2017 at 4:58 pm #424503Ian HipwellHi Tom,
I updated to 1.5.3 then I scheduled some posts for about a week ahead. It’s now working fine with no error message.
Thanks for resolving the issue so quickly.
regards,
Ian Hipwell,
SydneyNovember 14, 2017 at 5:00 pm #424504TomLead DeveloperLead DeveloperGreat news – thanks for reporting it ๐
-
AuthorPosts
- You must be logged in to reply to this topic.