ErrorException

HTTP 500 Whoops, looks like something went wrong.

Warning: readfile(): Filename cannot be empty

Exception

ErrorException

  1. header('Pragma: public');
  2. ob_clean();
  3. flush();
  4. readfile($File);
include('/home/master/clients/iti-cb/wp-content/themes/iticb/singles/single-download.php') in /home/master/wp/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/home/master/wp/wp-includes/template-loader.php') in /home/master/wp/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/home/master/wp/wp-blog-header.php') in /home/master/wp/index.php (line 17)
  1.  * @var bool
  2.  */
  3. define'WP_USE_THEMES'true );
  4. /** Loads the WordPress Environment and Template */
  5. require __DIR__ '/wp-blog-header.php';

Stack Trace

ErrorException
ErrorException:
Warning: readfile(): Filename cannot be empty

  at /home/master/clients/iti-cb/wp-content/themes/iticb/singles/single-download.php:27
  at include('/home/master/clients/iti-cb/wp-content/themes/iticb/singles/single-download.php')
     (/home/master/wp/wp-includes/template-loader.php:106)
  at require_once('/home/master/wp/wp-includes/template-loader.php')
     (/home/master/wp/wp-blog-header.php:19)
  at require('/home/master/wp/wp-blog-header.php')
     (/home/master/wp/index.php:17)