Anonymous Anonymous - 6 months ago
180 0

Object of class Concrete\Core\Area\Area could not be converted to string. Whaaat?

PHP

Concrete5

<?=$view->inc('elements/header.php');?>

<!-- Front Banner -->
	<div class="container servicesBanner">
		<div class="row">
			<div class="col-sm-6 residentialBg">
				<?=
					$a = new Area('Residential Area');
					$a->display($c);
				?>
			</div>
			<div class="col-sm-6 commercialBg">
				<?=
					$a = new Area('Commercial Area');
					$a->display($c);
				?>
			</div>
		</div>
	</div>

<?=$view->inc('elements/footer.php');?>
Comments