WordPress.org

Ready to get started?Download WordPress

Forums

Video Sidebar Widgets
[resolved] Errors in WP admin (2 posts)

  1. roymckrank
    Member
    Posted 1 year ago #

    I'm getting a notice and a warning when I try to trash a post or update something:

    Notice: Undefined index: vsw_noncename in /mysite/wp-content/plugins/video-sidebar-widgets/class-postmetavideowidget.php on line 296

    Warning: Cannot modify header information - headers already sent by (output started at /mysite/wp-content/plugins/video-sidebar-widgets/class-postmetavideowidget.php:296) in /mysite/wp-includes/pluggable.php on line 881

    ┬┐Any hints about this? I have tried to fix the Header Information issue by removing spaces in the file as the codex says but without results, so, probably is another thing.

    http://wordpress.org/extend/plugins/video-sidebar-widgets/

  2. denzel_chia
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    That is a PHP undefined index notice, which shows up due to your PHP error reporting setting. You have E_NOTICE enabled.
    For your reference, http://www.php.net/manual/en/errorfunc.constants.php

    This may happen to any other themes or plugin codes.

    When I initially developed my plugin, I did not take that into account.

    The quick fix is to suppress that by adding a @ before that line of code.

    So you can open up video-sidebar-widgets/class-postmetavideowidget.php go to line 296 and add a @ before it.

    For your reference on @ symbol.
    http://us3.php.net/manual/en/language.operators.errorcontrol.php

    You can contact me via email if you need any further help troubleshooting on your server. I will need you to setup on a live server and not your localhost.

    You can find my email at my website's contact page.

    Thanks!
    Denzel

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic