Unhandled Error!
Undefined variable: posts
Document |
category |
Document type |
CMS page |
Line |
41 |
Exception class |
Cms_ExecutionException |
Code Highlight
</div>
</div>
<div class="news-wrapper border-bottom">
<div class="container">
<ul class="col-xs-24 col-md-20 center-block pull-xs-none news-list">
<? $post_list = $posts->find_all() ?>
<? foreach ($post_list as $post): ?>
<li>
<div class="author pull-left hidden-xs">
<? $user_image = Users_User::create()->find($post->created_user_id); ?>
<div class="author-picture"style="background-image: url('<?php echo $user_image->photo->getThumbnailPath(150, 'auto')?>')"></div>
# |
Document |
Type |
1 |
category |
CMS page |