« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: getimagesize(): Read error! 
  Error type/ Nr.: Warning - 2 
  File: /var/lib/apache/htdocs/www.naag.org/assets/snippets/maxigallery/maxigallery.php 
  Line: 760 
  Line 760 source: $imagesize=getimagesize($modx->config['base_path'].$mg->path_to_gal.$pics[$i]['filename']);  
 
Parser timing
  MySQL: 0.0317 s(22 Requests)
  PHP: 1.2728 s 
  Total: 1.3045 s