Hi,
You guys helped me with fixing index options in this thread:
http://stackideas.com/forums/smart-search-indexer-fails-with-unable-to-set-as-revision-as-current-revision-on-post
The indexer nicely runs to the end, but throws error an error:
It seems harmless, but I'd like to know why this happens.
Line 256 is:
Thank you,
Roel
You guys helped me with fixing index options in this thread:
http://stackideas.com/forums/smart-search-indexer-fails-with-unable-to-set-as-revision-as-current-revision-on-post
The indexer nicely runs to the end, but throws error an error:
Starting Indexer
Setting up Smart Search plugins
Setup 1070 items in 0.843 seconds.
* Processed batch 1 in 13.12 seconds.
* Processed batch 2 in 14.44 seconds.
* Processed batch 3 in 10.376 seconds.
* Processed batch 4 in 12.782 seconds.
* Processed batch 5 in 11.259 seconds.
* Processed batch 6 in 12.558 seconds.
* Processed batch 7 in 12.22 seconds.
PHP Notice: Undefined variable: resource in /home/vhosting/k/vhost0029082/domains/gillesen.nl/htdocs/nick/administrator/components/com_easyblog/includes/simpleimage/simpleimage.php on line 256
Notice: Undefined variable: resource in /home/vhosting/k/vhost0029082/domains/gillesen.nl/htdocs/nick/administrator/components/com_easyblog/includes/simpleimage/simpleimage.php on line 256
* Processed batch 8 in 11.964 seconds.
* Processed batch 9 in 8.607 seconds.
* Processed batch 10 in 4.998 seconds.
* Processed batch 11 in 5.093 seconds.
* Processed batch 12 in 5.45 seconds.
* Processed batch 13 in 5.406 seconds.
* Processed batch 14 in 5.827 seconds.
* Processed batch 15 in 4.957 seconds.
* Processed batch 16 in 5.372 seconds.
* Processed batch 17 in 5.328 seconds.
* Processed batch 18 in 3.458 seconds.
* Processed batch 19 in 0.475 seconds.
* Processed batch 20 in 0.313 seconds.
* Processed batch 21 in 0.476 seconds.
* Processed batch 22 in 0.194 seconds.
Total Processing Time: 155.525 seconds.
It seems harmless, but I'd like to know why this happens.
Line 256 is:
if ($this->type == IMAGETYPE_PNG) {
$resource = imagecreatetruecolor($width, $height);
$transparent = imagecolorallocatealpha($resource, 255, 255, 255, 127);
imagealphablending($resource, false);
imagesavealpha($resource, true);
imagefilledrectangle($resource, 0, 0, $width, $height, $transparent);
imagecopyresampled($resource, $this->resource, 0, 0, 0, 0, $width, $height, $this->getWidth(), $this->getHeight());
}
// Update with the new resource now
$this->resource = $resource;
}
Thank you,
Roel