[Resolved] error message after update to gp-premium

Home Forums Support [Resolved] error message after update to gp-premium

Home Forums Support error message after update to gp-premium

  • This topic has 16 replies, 3 voices, and was last updated 7 years ago by Tom.
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #422033
    Ian 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 645

    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-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.

    #422115
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That’s strange – does it happen when you hit the “Schedule” button? On a post or page?

    #422236
    Ian Hipwell

    Hi 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

    #422371
    Tom
    Lead Developer
    Lead Developer

    On that scheduled post, do you have a Page Header set at all?

    #422610
    Ian Hipwell

    Hi Tom,

    No, Page Headers are not set. I generally don’t use them.

    Ian Hipwell

    #422751
    Tom
    Lead Developer
    Lead Developer

    Any 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.

    #422978
    Ian Hipwell

    Hi 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

    #423219
    Tom
    Lead Developer
    Lead Developer

    Exactly, 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/

    #423718
    Ian Hipwell

    Hi 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

    #423722
    Tom
    Lead Developer
    Lead Developer

    Perfect, I’ll take a look and will get back to you ASAP.

    #423858
    Henrik

    Hi Tom,

    is there already a solution for this issue? I do have the same problem after updating.

    Henrik

    #424199
    Tom
    Lead Developer
    Lead Developer

    Yes, 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

    #424482
    Tom
    Lead Developer
    Lead Developer

    I just released 1.5.3 which should fix this.

    Let me know ๐Ÿ™‚

    #424503
    Ian Hipwell

    Hi 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,
    Sydney

    #424504
    Tom
    Lead Developer
    Lead Developer

    Great news – thanks for reporting it ๐Ÿ™‚

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