Zen Follower
- Join Date:
- Oct 2008
- Posts:
- 392
- Plugin Contributions:
- 0
Log files being created every couple of minutes
HELP Please
My customers site is producing many many log files, we deleted 1.3 million of them this morning that were taking up 17GB of space.
The content is [16-Feb-2019 13:46:22 Europe/London] PHP Fatal error: Call to a member function RecordCount() on a non-object in /home/****/public_html//includes/templates/bana/blocks/banner/view.php on line 4
that file is
<div class="block banner"> <?php $banner = zen_banner_exists('dynamic', $data['banner-group']); if ($banner->RecordCount() > 0) : ?> <?= zen_display_banner('dynamic', $data['banner-group']) ?> <?php else: ?> <p class="bg-danger">Add a banner to '<?=$data['banner-group']?>' group</p> <?php endif; ?> </div>