• Resolved ohorses

    (@ohorses)


    I see this message – how to correct it.

    Notice: Undefined variable: headerstyle in /home/pamapleadmin/public_html/wp-content/plugins/quick-event-manager/legacy/quick-event-manager.php on line 1676

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Alan Fuller

    (@alanfuller)

    Hi,

    Sorry you are experiencing this however these are notices and warnings not errors.

    A production site should be set to not display warnings and notices.

    Notices and Warnings are to help developers clean up code issues e.g. the Notice might be that a function is deprecated in a future release. Or a Warning may be that a variable has not been set before being used.

    In general – on a production site – you should have Notices and Warning set not to display.

    This is easy to do, you can edit your wp-config.php file and set

    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);

    Or if that is too technical – just raise a support ticket to your host to ask them to suppress PHP Notices and Warnings.

    However – most of QEM notices are due to unset settings.

    Most of the time you can solve these by going to the settings page and hit the save button. In this case headerstyle is in the settings tab>calendar – hit save an the notice that it is not set should go away.

Viewing 1 replies (of 1 total)
  • The topic ‘Error message shows in sidebar widget’ is closed to new replies.