Error [500]

Call to undefined method stdClass::get()
.../plugins/system/t4/themes/base/html/layouts/joomla/content/icons/print_screen.php:20
15 
16 $params = $displayData['params'];
17 $legacy = $displayData['legacy'];
18 
19 ?>
20 <?php if ($params->get('show_icons')) : ?>
21 	<?php if ($legacy) : ?>
22 		<?php // Checks template image directory for image, if none found default are loaded ?>
23 		<?php echo HTMLHelper::_('image', 'system/printButton.png', Text::_('JGLOBAL_PRINT'), null, true); ?>
24 	<?php else : ?>
25 		<span class="fa fa-print" aria-hidden="true"></span>