• Resolved mohamed.belhassen

    (@mohamedbelhassen)


    Hi all,

    when activating debug mode, I get some warnings due to using undefined variables in the following line:

    Notice: Undefined variable: adressOut in C:\laragon\www\fahamni\wp-content\themes\great\inc\extras.php on line 161

    Since I am using a child theme that inherits froml Great theme, I tried to perform the following control in the mentioned line, then I put the extras.php file in the same folder of the child theme. But this does not corrected the issue:

      if(isset($adressOut)&&isset($mailOut)&&isset($phoneOut))
    	echo $adressOut . $mailOut . $phoneOut;

    could you please assist me to correct the problem in clean way (without changing the parent theme)

    Cordially,
    Mohamed Belhassen

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘warning produced by great theme’ is closed to new replies.