• Resolved geertvanderheide

    (@geertvanderheide)


    I’ve been using this plugin in several projects and I like it, but I’ve run into some errors on several sites. This could be a conflict with another plugin, but I’m not using many of those and definitely nothing related to SEO or header tags, besides this one. I am using Advanced Custom Fields Pro, Contact Form 7 and a few other minor ones, but nothing that is likely to cause conflicts (imo).

    Specifically, the problem shows itself when saving a new post, but seemingly only some of the time (I’m guessing it’s when I add a featured image). The exact error I’m getting is:

    Notice: Undefined index: webdados_fb_open_graph_custom_box_nonce in /wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/wonderm00n-open-graph.php on line 792

    Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/wonderm00n-open-graph.php:792) in /wp-admin/post.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/wonderm00n-open-graph.php:792) in /wp-includes/pluggable.php on line 1196

    The post does get saved, despite these errors. Hoping for any tips or solutions to make this go away. Thanks in advance!

    https://wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter geertvanderheide

    (@geertvanderheide)

    Small update: The error is occurring whenever I make a new post or update an existing post from the WordPress admin. It happens regardless of whether I add images.

    This was fixed on 1.5.2

    Sorry for the delay on the answer.

    Thread Starter geertvanderheide

    (@geertvanderheide)

    Thank you for your reply. I was already on version 1.5.2 when I posted this, so I’m doubtful the problem is actually solved to be honest. But: The problem only occurs when WP_DEBUG is set to true, since they’re only warnings and notices. They’re not fatal errors, and this could just be some rare conflict with my own code or other plugins. So I’ve taken care to disable debug mode on projects that my clients have access to. This avoids them seeing errors.

    I would recommend you use debug mode some time to see if there are any warnings or notices on your end. It might improve the plugin. Other than that, this issue can be considered resolved.

    Sorry geertvanderheide,

    It was fixed on our side but not on 1.5.2
    This is fixed on 1.6 that we’ll launch in a few hours.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Errors concerning nonce and "headers already sent"’ is closed to new replies.