WordPress.org

Support

Support » Plugins and Hacks » Video Sidebar Widgets » [Resolved] [Plugin: Video Sidebar Widgets] Errors in WP admin

[Resolved] [Plugin: Video Sidebar Widgets] Errors in WP admin

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author Denzel Chia

    @denzel_chia

    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

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Video Sidebar Widgets] Errors in WP admin’ is closed to new replies.
Skip to toolbar