| ( ! ) Warning: Undefined variable $attribs in /var/www/html/php7cookbook/source/Application/Web/Menu/Factory.php on line 105 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 358216 | {main}( ) | .../chap_06_menu_builder.php:0 |
| 2 | 0.0001 | 359336 | include( '/var/www/html/php7cookbook/source/chapter06/chap_06_menu_builder_1.php ) | .../chap_06_menu_builder.php:64 |
| 3 | 0.0002 | 361056 | Application\Web\Menu\Factory->render( ) | .../chap_06_menu_builder_1.php:28 |
| 4 | 0.0002 | 361056 | Application\Web\Menu\Factory->renderList( $list = ['home' => ['label' => 'Home', 'url' => '/', 'dropDown' => [...]], 'products' => ['label' => 'Products', 'url' => '/products', 'dropDown' => [...]], 'services' => ['label' => 'Services', 'url' => '/services', 'li' => [...]], 'pricing' => ['label' => 'Pricing', 'url' => '/pricing', 'li' => [...]], 'contact' => ['label' => 'Contact Us', 'url' => '/contact', 'dropDown' => [...]]] ) | .../Factory.php:50 |
| 5 | 0.0002 | 361568 | Application\Web\Menu\Factory->renderItem( $item = ['label' => 'Services', 'url' => '/services', 'li' => ['style' => 'list-style-type: none;']] ) | .../Factory.php:65 |
| 6 | 0.0002 | 361568 | Application\Web\Menu\Factory->getAttribs( $config = ['style' => 'list-style-type: none;'] ) | .../Factory.php:75 |
| ( ! ) Warning: Undefined variable $attribs in /var/www/html/php7cookbook/source/Application/Web/Menu/Factory.php on line 105 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 358216 | {main}( ) | .../chap_06_menu_builder.php:0 |
| 2 | 0.0001 | 359336 | include( '/var/www/html/php7cookbook/source/chapter06/chap_06_menu_builder_1.php ) | .../chap_06_menu_builder.php:64 |
| 3 | 0.0002 | 361056 | Application\Web\Menu\Factory->render( ) | .../chap_06_menu_builder_1.php:28 |
| 4 | 0.0002 | 361056 | Application\Web\Menu\Factory->renderList( $list = ['home' => ['label' => 'Home', 'url' => '/', 'dropDown' => [...]], 'products' => ['label' => 'Products', 'url' => '/products', 'dropDown' => [...]], 'services' => ['label' => 'Services', 'url' => '/services', 'li' => [...]], 'pricing' => ['label' => 'Pricing', 'url' => '/pricing', 'li' => [...]], 'contact' => ['label' => 'Contact Us', 'url' => '/contact', 'dropDown' => [...]]] ) | .../Factory.php:50 |
| 5 | 0.0004 | 361864 | Application\Web\Menu\Factory->renderItem( $item = ['label' => 'Pricing', 'url' => '/pricing', 'li' => ['style' => 'list-style-type: none;']] ) | .../Factory.php:65 |
| 6 | 0.0004 | 361864 | Application\Web\Menu\Factory->getAttribs( $config = ['style' => 'list-style-type: none;'] ) | .../Factory.php:75 |
| ( ! ) Warning: Undefined variable $attribs in /var/www/html/php7cookbook/source/Application/Web/Menu/Factory.php on line 105 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 358216 | {main}( ) | .../chap_06_menu_builder.php:0 |
| 2 | 0.0001 | 359336 | include( '/var/www/html/php7cookbook/source/chapter06/chap_06_menu_builder_1.php ) | .../chap_06_menu_builder.php:64 |
| 3 | 0.0002 | 361056 | Application\Web\Menu\Factory->render( ) | .../chap_06_menu_builder_1.php:28 |
| 4 | 0.0002 | 361056 | Application\Web\Menu\Factory->renderList( $list = ['home' => ['label' => 'Home', 'url' => '/', 'dropDown' => [...]], 'products' => ['label' => 'Products', 'url' => '/products', 'dropDown' => [...]], 'services' => ['label' => 'Services', 'url' => '/services', 'li' => [...]], 'pricing' => ['label' => 'Pricing', 'url' => '/pricing', 'li' => [...]], 'contact' => ['label' => 'Contact Us', 'url' => '/contact', 'dropDown' => [...]]] ) | .../Factory.php:50 |
| 5 | 0.0005 | 362120 | Application\Web\Menu\Factory->renderList( $list = ['americas' => ['label' => 'Americas', 'url' => '/america'], 'europe' => ['label' => 'Europe', 'url' => '/europe'], 'asia' => ['label' => 'Asia', 'url' => '/asia'], 'blank1' => ['label' => '', 'url' => '#', 'li' => [...]], 'other' => ['label' => 'Other', 'url' => '/other']] ) | .../Factory.php:67 |
| 6 | 0.0005 | 362248 | Application\Web\Menu\Factory->renderItem( $item = ['label' => '', 'url' => '#', 'li' => ['class' => 'divider']] ) | .../Factory.php:65 |
| 7 | 0.0005 | 362248 | Application\Web\Menu\Factory->getAttribs( $config = ['class' => 'divider'] ) | .../Factory.php:75 |