with php 7.3 i get this error:
Warning: Use of undefined constant com_k2 - assumed 'com_k2' (this will throw an Error in a future version of PHP) in /www/htdocs/w0154391/projekt-rechnung/templates/yoo_stage/layouts/theme.php on line 125
Warning: Use of undefined constant itemlist - assumed 'itemlist' (this will throw an Error in a future version of PHP) in /www/htdocs/w0154391/projekt-rechnung/templates/yoo_stage/layouts/theme.php on line 125
This is my code in the template:
<?php if ($this->count('main-topkategorie') && JRequest::getCmd( 'option' )==com_k2 && JRequest::getCmd( 'view' )==itemlist) : ?>
The reason is, i just want to show this module pos. in the itemlist view.
With php 7.1 is everything fine.
Warning: Use of undefined constant com_k2 - assumed 'com_k2' (this will throw an Error in a future version of PHP) in /www/htdocs/w0154391/projekt-rechnung/templates/yoo_stage/layouts/theme.php on line 125
Warning: Use of undefined constant itemlist - assumed 'itemlist' (this will throw an Error in a future version of PHP) in /www/htdocs/w0154391/projekt-rechnung/templates/yoo_stage/layouts/theme.php on line 125
This is my code in the template:
<?php if ($this->count('main-topkategorie') && JRequest::getCmd( 'option' )==com_k2 && JRequest::getCmd( 'view' )==itemlist) : ?>
The reason is, i just want to show this module pos. in the itemlist view.
With php 7.1 is everything fine.