Thanks for releasing T4 v1.0.1 - Good Job!
I had a fresh install of T4 v1.0.1 Quickstart package. When the site is viewed, I got the following error along with stack trace.
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP Notice: Undefined variable: logo_sm_cls in C:\wamp64\www\t4_10_1\plugins\system\t4\themes\base\html\layouts\t4\element\logo.php on line 28
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP Stack trace:
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 1. {main}() C:\wamp64\www\t4_10_1\index.php:0
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 2. Joomla\CMS\Application\SiteApplication->execute() C:\wamp64\www\t4_10_1\index.php:49
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 3. Joomla\CMS\Application\SiteApplication->render() C:\wamp64\www\t4_10_1\libraries\src\Application\CMSApplication.php:202
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 4. Joomla\CMS\Application\SiteApplication->render() C:\wamp64\www\t4_10_1\libraries\src\Application\SiteApplication.php:778
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 5. Joomla\CMS\Document\HtmlDocument->render() C:\wamp64\www\t4_10_1\libraries\src\Application\CMSApplication.php:1044
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 6. Joomla\CMS\Document\HtmlDocument->_renderTemplate() C:\wamp64\www\t4_10_1\libraries\src\Document\HtmlDocument.php:557
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 7. Joomla\CMS\Document\HtmlDocument->getBuffer() C:\wamp64\www\t4_10_1\libraries\src\Document\HtmlDocument.php:783
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 8. T4\Renderer\Element->render() C:\wamp64\www\t4_10_1\libraries\src\Document\HtmlDocument.php:491
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 9. Joomla\CMS\Layout\LayoutHelper::render() C:\wamp64\www\t4_10_1\plugins\system\t4\src\t4\Renderer\Element.php:32
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 10. Joomla\CMS\Layout\FileLayout->render() C:\wamp64\www\t4_10_1\libraries\src\Layout\LayoutHelper.php:73
[20-Sep-2019 18:54:06 Asia/Kolkata] PHP 11. include() C:\wamp64\www\t4_10_1\plugins\system\t4\src\t4\Helper\Joomla.php(12) : eval()'d code:125
Once I initialized the variable as shown below, before it is used in the IF condition (ie. line no 6), the error is gone.
$logo_sm_cls = '';
PHP 7.2.14 is being used.
Kindly review the code and initialize the variable accordingly so that this error does not happen.
Thanks.