Okay
  Public Ticket #966790
Possible Use of Undeclared Variables
Closed

Comments

  •  1
    Ian started the conversation

    We are seeing two repeated instances where undefined variables are being used.  We are hoping that this could be cleaned up to reduce the cruft in our log files. 

    We are on Salient 7.5.0.2 with Wordpress 4.6.1. 

    The two function calls in question appear as below in our logs repeatedly. 

    [24-Nov-2016 14:25:21 UTC] PHP Notice:  Undefined index: post_type in /usr/share/wordpress/wp-content/themes/salient/functions.php on line 2096
    [24-Nov-2016 14:25:21 UTC] PHP Notice:  Undefined index: post_type in /usr/share/wordpress/wp-content/themes/salient/functions.php on line 2425

  •  8,996
    Tahir replied

    Hey Ian,

    Thanks for pointing that out . I believe this was patched in Salient 7.6 . Please update and check . 

    Bes.t


    ThemeNectar Support Team