ErrorException

HTTP 500 Whoops, looks like something went wrong.

require_once(includes/files_functions.php): failed to open stream: No such file or directory

Exception

ErrorException

  1. */
  2. use App\Classes\Cache\Helpers\FileCacheHelper;
  3. include ('array_column.php');
  4. require_once DIR_WS_INCLUDES 'files_functions.php';
  5. // get all products IDs from current category
  6. function get_all_pids($where_filters ''$listing_sql)
  7. {
  8.     $cleared_listing_sql str_replace($where_filters''$listing_sql); // clear temporary filter subqueries
  1.         //ini_set('error_log' , '/home/solomono/web/solomono.net/sites/dev/php.log');
  2.         error_reporting(E_ALL);
  3.         set_error_handler(function ($level$message$file ''$line 0) {
  4.             $this->handleError($level$message$file$line);
  5.         });
  6.         set_exception_handler(function ($e) {
  7.             $this->handleException($e);
  8.         });
  1. */
  2. use App\Classes\Cache\Helpers\FileCacheHelper;
  3. include ('array_column.php');
  4. require_once DIR_WS_INCLUDES 'files_functions.php';
  5. // get all products IDs from current category
  6. function get_all_pids($where_filters ''$listing_sql)
  7. {
  8.     $cleared_listing_sql str_replace($where_filters''$listing_sql); // clear temporary filter subqueries
  1. */
  2. use App\Classes\Cache\Helpers\FileCacheHelper;
  3. include ('array_column.php');
  4. require_once DIR_WS_INCLUDES 'files_functions.php';
  5. // get all products IDs from current category
  6. function get_all_pids($where_filters ''$listing_sql)
  7. {
  8.     $cleared_listing_sql str_replace($where_filters''$listing_sql); // clear temporary filter subqueries
require_once('/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/functions/general.php') in /home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/application_main.php (line 52)
  1. }
  2. define('HTTP_SERVER',
  3.     ((defined('SET_HTTPS') && (SET_HTTPS == 'true')) ? 'https://' 'http://') . $_SERVER['HTTP_HOST'] . $add_folder);
  4. require_once DIR_WS_FUNCTIONS 'general.php';
  5. require_once DIR_WS_FUNCTIONS 'constants.php';
  6. require_once DIR_WS_FUNCTIONS 'html_output.php';
  7. require_once DIR_WS_FUNCTIONS 'extra_product_price.php';
  8. require_once DIR_WS_MODULES 'rating/rating.php';
  9. require_once DIR_WS_CLASSES 'shopping_cart.php';
require_once('/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/application_main.php') in /home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/application_top.php (line 7)
  1. $milliseconds round(microtime(true) * 1000);
  2. define('PAGE_PARSE_START_TIME'microtime(true));
  3. define("SECONDS_PER_WEEK"604800);
  4. header("Content-Security-Policy: default-src data: * 'unsafe-inline' 'unsafe-eval'; frame-ancestors 'none';");
  5. require_once __DIR__ "/application_main.php";
  6. $timeZone getenv('TIME_ZONE');
  7. $timeZoneArray explode(' '$timeZone);
  8. if (!empty($timeZoneArray[0])) {
  9.     date_default_timezone_set($timeZoneArray[0]);
  10. }
require('/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/application_top.php') in /home/dev_ltscreen/web/dev.ltscreen.com/public_html/sitemap.php (line 5)
  1. <?php
  2. $rootPath dirname($_SERVER['SCRIPT_FILENAME']);
  3. $sideApp true;
  4. require $rootPath '/includes/application_top.php';
  5. if (file_exists($rootPath '/ext/export_google_sitemap/check.php')) {
  6.     require_once $rootPath '/ext/export_google_sitemap/check.php';
  7.     $googleSitemapPath $rootPath '/ext/export_google_sitemap/sitemap.php';
  8.     if (file_exists($googleSitemapPath) && defined('EXPORT_GOOGLE_SITEMAP_MODULE_ENABLED') && constant('EXPORT_GOOGLE_SITEMAP_MODULE_ENABLED') == 'true') {
  9.         require($googleSitemapPath);

Stack Trace

ErrorException
ErrorException:
require_once(includes/files_functions.php): failed to open stream: No such file or directory

  at /home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/functions/general.php:16
  at Bootstrap\HandleExceptions->handleError()
     (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
     (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/functions/general.php:16)
  at require_once()
     (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/functions/general.php:16)
  at require_once('/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/functions/general.php')
     (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/application_main.php:52)
  at require_once('/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/application_main.php')
     (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/application_top.php:7)
  at require('/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/application_top.php')
     (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/sitemap.php:5)                
require_once(): Failed opening required 'includes/files_functions.php' (include_path='.:/usr/share/php') (500 Whoops, looks like something went wrong.)

Error

HTTP 500 Whoops, looks like something went wrong.

require_once(): Failed opening required 'includes/files_functions.php' (include_path='.:/usr/share/php')

Exception

Error

  1.      * @param int|null $traceOffset
  2.      * @return \Error
  3.      */
  4.     protected function fatalErrorFromPhpError(array $error$traceOffset null)
  5.     {
  6.         return new \Error($error['message'], 0);
  7.     }
  8. }
HandleExceptions->fatalErrorFromPhpError() in /home/dev_ltscreen/web/dev.ltscreen.com/public_html/bootstrap/HandleExceptions.php (line 110)
  1.      * Handle the PHP shutdown event.
  2.      */
  3.     protected function handleShutdown(): void
  4.     {
  5.         if (!is_null($error error_get_last()) && $this->isFatal($error['type'])) {
  6.             $this->handleException($this->fatalErrorFromPhpError($error0));
  7.         }
  8.     }
  9.     /**
  10.      * Determine if the error type is fatal.
  1.         set_exception_handler(function ($e) {
  2.             $this->handleException($e);
  3.         });
  4.         register_shutdown_function(function () {
  5.             $this->handleShutdown();
  6.         });
  7.     }
  8.     /**
  9.      * Report PHP deprecations, or convert PHP errors to ErrorException instances.
HandleExceptions->Bootstrap\{closure}()

Stack Trace

Error
Error:
require_once(): Failed opening required 'includes/files_functions.php' (include_path='.:/usr/share/php')

  at /home/dev_ltscreen/web/dev.ltscreen.com/public_html/bootstrap/HandleExceptions.php:131
  at Bootstrap\HandleExceptions->fatalErrorFromPhpError()
     (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/bootstrap/HandleExceptions.php:110)
  at Bootstrap\HandleExceptions->handleShutdown()
     (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/bootstrap/HandleExceptions.php:40)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()