Shape 5

Joomla Templates => New Vision - Club => : 360pro May 04, 2013, 08:08:30 PM



: Undefined variable: tabletWidth in new_vision/vertex/call_menu.php on line 46
: 360pro May 04, 2013, 08:08:30 PM
Hi,

I saw this in my /var/log/httpd/errors log

[Sun May 05 02:01:23 2013] [error] [client 66.249.75.127] PHP Notice:  Undefined variable: tabletWidth in /home/webadmin/novasg.com/templates/new_vision/vertex/call_menu.php on line 46

Thanks!


: Re: Undefined variable: tabletWidth in new_vision/vertex/call_menu.php on line 46
: mikenicoll May 08, 2013, 04:58:38 PM
Hello,

I took a look and it's actually called right in that file:

 if ($s5_menu_onclick == "enabled" && $s5_responsive == "enabled") {

                $tabletWidth=1400;

                }

                else {

                $tabletWidth=0;

                }

With an if/else statement, it has no ability to not set the variable.

-Mike