wp_enqueue_script & ereg_replace() entries in debug.log

Discussion in 'Infoway WordPress Theme' started by corina, Aug 18, 2014.

  1. corina

    corina New Member

    Joined:
    Apr 14, 2014
    Messages:
    1
    Likes Received:
    0
    version info: latest wordpress running infoway theme 1.6.7

    • following line appears in debug.log thrown for every single page (debug enabled):
    Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks.​

    • additionally following lines appears when calling the theme options page (eleven times, one for every option tab):
    Deprecated: Function ereg_replace() is deprecated in D:\usr\intranet.blog\wordpress\wp-content\themes\infowaytheme\functions\admin-interface.php on line 822

    All these messages dissapear as soon as we switch from infoway theme to wp default theme.

    Please advice,

    Eckard
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,

    We have got your concern, and started working over it.We will update it soon .

    Thanks & Regards
    Pramod
     

Share This Page