ValueError

HTTP 500 Whoops, looks like something went wrong.

Path cannot be empty

Exception

ValueError

  1. header('Pragma: public');
  2. ob_clean();
  3. flush();
  4. readfile($File);
  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 132)
  1. *
  2. * @param string $template The path of the template about to be included.
  3. */
  4. do_action( 'wp_before_include_template', $template );
  5. include $template;
  6. } elseif ( current_user_can( 'switch_themes' ) ) {
  7. $theme = wp_get_theme();
  8. if ( $theme->errors() ) {
  9. wp_die( $theme->errors() );
  10. }
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

ValueError
ValueError:
Path cannot be empty

  at /home/master/clients/iti-cb/wp-content/themes/iticb/singles/single-download.php:27
  at readfile()
     (/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:132)
  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)