Errors

Permalink Browser Info Environment
The template works for most pages.

However, about 30% of the time, I get an error message about an "invalid argument in foreach on line 71"

The first of the lines is 71.

<?php foreach ($files as $fObj) :
$sizes = @getimagesize($fObj->getPath());
$img_thumb_size = $i->getThumbnail($fObj,$thumbWidth,$thumbHeight == 'auto' ? $thumbWidth : $thumbHeight, true);
//var_dump($img_thumb_size['width']);
if (!$img_thumb_size->src) continue;

The standard Page List template works fine. Any thoughts?

When using the standard Fileset Template, the following displays:
{"bID":"1076","aID":"696","arHandle":"Main","error":false,"cID":"370"}


This may be due to an issue of using a fileset for an individual image. However, it was unclear how to setup for individual images.

Type: Discussion
Status: New
jvansanten
View Replies:

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.