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

  1. roymckrank
    Posted 2 years 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.


  2. Denzel Chia
    Plugin Author

    Posted 2 years ago #


    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.

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic