Okay
  Public Ticket #1810604
Undefined Index Error above website header
Open

Comments

  • AnishRaju started the conversation


    Notice: Undefined index: thin_icon_only_font_family in /home/content/a2pewpnaspod05_data03/61/41744061/html/wp-content/themes/bridge/functions.php on line 166

    This message is appearing on my website at the top. This is the first time i'm using this theme. I have installed all required plugins.

  •  1,447
    Qode replied

    Hello Anish, 

    These are just notices, not errors and they should be disabled on live website. In order to hide them please take a look at this helpful article:

    https://aristath.github.io/blog/wp-hide-php-errors

    After following steps from the article, navigate to your WP admin -> Qode Options -> General -> hit Save Changes and check your website.

    .......

    Also make sure that your PHP version on server is 5.6 or greater - if PHP version is older, ask your host to update PHP. 

    Best regards, 

    Ian

    * The new and improved Online Bridge Documentation is live. Check it out now - http://bridge.qodeinteractive.com/

    * You can also check our articles with useful tips and suggestions

    Best Regards,

    Qode

  • AnishRaju replied

    it didnot work for me.

  • AnishRaju replied


    Notice: Undefined index: thin_icon_only_font_family in /home/content/a2pewpnaspod05_data03/61/41744061/html/wp-content/themes/bridge/functions.php on line 166

    this is displayed 

  •  1,447
    Qode replied

    Hi Anish, 

    Please note that Notices and Warnings (unlike errors) are not harmful for your site, you can hide these messages by disabling wp_debug https://codex.wordpress.org/WP_DEBUG 

    Please follow these steps carefully - 

    Set WP_DEBUG to false in wp-config.php file and check your website:

    define( 'WP_DEBUG', false );

    If this does not help, replace this line of code: 

    define( 'WP_DEBUG', false );

    ...with the following code to hide Warnings and Notices in WP: 

    ini_set('log_errors','On');
    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    If the problem persists, contact your host and ask them to disable display of Notices and Warnings on your website - they should be able to do it for you. 

    Best regards, 

    Ian

    * The new and improved Online Bridge Documentation is live. Check it out now - http://bridge.qodeinteractive.com/

    * You can also check our articles with useful tips and suggestions

    Best Regards,

    Qode