PHP Error was encountered Severity: 4096 Message: Object of class CI_Loader could not be converted to string

저의 경우에는 다음과 같은 에러가 echo를 쓰면 안되는 경우에 위치하였을 경우 발생하였습니다.

Error.PNG

문제의 코드

 <?php echo $this->load->view('cart/cart'); ?>

FIX

 <?php $this->load->view('cart/cart'); ?>
Advertisements

2 thoughts on “PHP Error was encountered Severity: 4096 Message: Object of class CI_Loader could not be converted to string

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s