Error


Memory Usage Fatal error: Uncaught Error: Class “Locale” not found in /home/newsindi/public_html/vendor/codeigniter4/framework/system/Helpers/number_helper.php:142
Stack trace:
#0 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Helpers/number_helper.php(60): format_number(2.0, 2, NULL, Array)
#1 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/BaseExceptionHandler.php(158): number_to_size(2.0, 2)
#2 /home/newsindi/public_html/app/Views/errors/html/error_exception.php(408): CodeIgniter\Debug\BaseExceptionHandler::describeMemory(2097152)
#3 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/BaseExceptionHandler.php(270): include(‘/home/newsindi/…’)
#4 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/BaseExceptionHandler.php(273): CodeIgniter\Debug\BaseExceptionHandler->CodeIgniter\Debug\{closure}()
#5 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/ExceptionHandler.php(126): CodeIgniter\Debug\BaseExceptionHandler->render(Object(Error), 500, ‘/home/newsindi/…’)
#6 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/Exceptions.php(151): CodeIgniter\Debug\ExceptionHandler->handle(Object(Error), Object(CodeIgniter\HTTP\IncomingRequest), Object(CodeIgniter\HTTP\Response), 500, 1)
#7 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(Error))
#8 {main}
thrown in /home/newsindi/public_html/vendor/codeigniter4/framework/system/Helpers/number_helper.php on line 142

ErrorException

SYSTEMPATH/Helpers/number_helper.php at line 142

135      * A general purpose, locale-aware, number_format method.
136      * Used by all of the functions of the number_helper.
137      */
138     function format_number(float $numint $precision 1, ?string $locale null, array $options = []): string
139     {
140         // If locale is not passed, get from the default locale that is set from our config file
141         // or set by HTTP content negotiation.
142         $locale ??= Locale::getDefault();
143 
144         // Type can be any of the NumberFormatter options, but provide a default.
145         $type = (int) ($options['type'] ?? NumberFormatter::DECIMAL);
146 
147         $formatter = new NumberFormatter($locale$type);
148 
149         // Try to format it per the locale


  1. {PHP internal code}


      —  CodeIgniter\Debug\Exceptions->shutdownHandler ()

$_SERVER

Key Value
PATH /usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT /home/newsindi/public_html
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
HTTP_ACCEPT_ENCODING gzip, br
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.9,ar;q=0.8
HTTP_HOST newsindialive.in
HTTP_REFERER http://www.bing.com/
HTTP_USER_AGENT Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
HTTP_X_FORWARDED_FOR 45.113.226.95, 172.70.219.134
HTTP_SEC_FETCH_DEST document
HTTP_SEC_FETCH_MODE navigate
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_SEC_FETCH_USER ?1
HTTP_CF_RAY a3efb2a19a4acdbc-BOM
HTTP_SEC_FETCH_SITE none
HTTP_PRIORITY u=0, i
HTTP_SEC_CH_UA “Chromium”;v=”146″, “Not-A.Brand”;v=”24″, “Google Chrome”;v=”146″
HTTP_SEC_CH_UA_MOBILE ?0
HTTP_SEC_CH_UA_PLATFORM “macOS”
HTTP_CDN_LOOP cloudflare; loops=1
HTTP_CF_CONNECTING_IP 45.113.226.95
HTTP_CF_IPCOUNTRY IN
HTTP_CF_VISITOR {“scheme”:”https”}
HTTP_X_FORWARDED_PROTO https
REMOTE_ADDR 45.113.226.95
REMOTE_PORT 58640
SERVER_ADDR 174.138.191.235
SERVER_NAME newsindialive.in
SERVER_ADMIN [email protected]
SERVER_PORT 443
REQUEST_SCHEME https
REQUEST_URI /national/fighter-jets-from-across-the-globe-to-roar-near-the-pakistan-border-why-are-40-nations-gathering-for-the-iafs-tarang-shakti
PATH_INFO /national/fighter-jets-from-across-the-globe-to-roar-near-the-pakistan-border-why-are-40-nations-gathering-for-the-iafs-tarang-shakti
PATH_TRANSLATED /home/newsindi/public_html/national/fighter-jets-from-across-the-globe-to-roar-near-the-pakistan-border-why-are-40-nations-gathering-for-the-iafs-tarang-shakti
ORIG_PATH_INFO /national/fighter-jets-from-across-the-globe-to-roar-near-the-pakistan-border-why-are-40-nations-gathering-for-the-iafs-tarang-shakti
REDIRECT_URL /national/fighter-jets-from-across-the-globe-to-roar-near-the-pakistan-border-why-are-40-nations-gathering-for-the-iafs-tarang-shakti
REDIRECT_REQUEST_METHOD GET
PROXY_REMOTE_ADDR 127.0.0.1
HTTPS on
REDIRECT_STATUS 200
SCRIPT_FILENAME /home/newsindi/public_html/index.php
QUERY_STRING
SCRIPT_URI https://newsindialive.in/national/fighter-jets-from-across-the-globe-to-roar-near-the-pakistan-border-why-are-40-nations-gathering-for-the-iafs-tarang-shakti
SCRIPT_URL /national/fighter-jets-from-across-the-globe-to-roar-near-the-pakistan-border-why-are-40-nations-gathering-for-the-iafs-tarang-shakti
CUR_REQUEST_URI /index.php/national/fighter-jets-from-across-the-globe-to-roar-near-the-pakistan-border-why-are-40-nations-gathering-for-the-iafs-tarang-shakti
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE LiteSpeed
REQUEST_METHOD GET
X-LSCACHE on
PHP_SELF /index.php/national/fighter-jets-from-across-the-globe-to-roar-near-the-pakistan-border-why-are-40-nations-gathering-for-the-iafs-tarang-shakti
REQUEST_TIME_FLOAT
1790063207.005
REQUEST_TIME
1790063207
argv
Array
(
)
argc
0
CI_ENVIRONMENT development
app.baseURL https://newsindialive.in/
database.default.hostname localhost
database.default.database newsindi_ni
database.default.username newsindi_ni
database.default.password 2iph=~*xs{M9DF@B
database.default.DBDriver MySQLi
database.default.DBPrefix
database.default.port 3306

Constants

Key Value
FCPATH /home/newsindi/public_html/
APPPATH /home/newsindi/public_html/app/
ROOTPATH /home/newsindi/public_html/
SYSTEMPATH /home/newsindi/public_html/vendor/codeigniter4/framework/system/
WRITEPATH /home/newsindi/public_html/writable/
TESTPATH /home/newsindi/public_html/tests/
APP_NAMESPACE App
COMPOSER_PATH /home/newsindi/public_html/vendor/autoload.php
SECOND
1
MINUTE
60
HOUR
3600
DAY
86400
WEEK
604800
MONTH
2592000
YEAR
31536000
DECADE
315360000
EXIT_SUCCESS
0
EXIT_ERROR
1
EXIT_CONFIG
3
EXIT_UNKNOWN_FILE
4
EXIT_UNKNOWN_CLASS
5
EXIT_UNKNOWN_METHOD
6
EXIT_USER_INPUT
7
EXIT_DATABASE
8
EXIT__AUTO_MIN
9
EXIT__AUTO_MAX
125
ENVIRONMENT development
SHOW_DEBUG_BACKTRACE
1
CI_DEBUG
                                                                    
VENDORPATH /home/newsindi/public_html/vendor/

Path https://newsindialive.in/index.php/national/fighter-jets-from-across-the-globe-to-roar-near-the-pakistan-border-why-are-40-nations-gathering-for-the-iafs-tarang-shakti
HTTP Method GET
IP Address 45.113.226.95
Is AJAX Request? no
Is CLI Request? no
Is Secure Request? yes
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36

No $_GET, $_POST, or $_COOKIE Information to show.

Headers

Header Value
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding gzip, br
Accept-Language en-US,en;q=0.9,ar;q=0.8
Host newsindialive.in
Referer http://www.bing.com/
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
X-Forwarded-For 45.113.226.95, 172.70.219.134
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Upgrade-Insecure-Requests 1
Sec-Fetch-User ?1
Cf-Ray a3efb2a19a4acdbc-BOM
Sec-Fetch-Site none
Priority u=0, i
Sec-Ch-Ua “Chromium”;v=”146″, “Not-A.Brand”;v=”24″, “Google Chrome”;v=”146″
Sec-Ch-Ua-Mobile ?0
Sec-Ch-Ua-Platform “macOS”
Cdn-Loop cloudflare; loops=1
Cf-Connecting-Ip 45.113.226.95
Cf-Ipcountry IN
Cf-Visitor {“scheme”:”https”}
X-Forwarded-Proto https

Response Status 500 – Internal Server Error

Headers

Header Value
Cache-Control no-store, max-age=0, no-cache
Content-Type text/html; charset=UTF-8

  1. FCPATH/index.php
  2. APPPATH/Config/Paths.php
  3. SYSTEMPATH/Boot.php
  4. APPPATH/Config/Constants.php
  5. SYSTEMPATH/Config/DotEnv.php
  6. APPPATH/Config/Boot/development.php
  7. APPPATH/Common.php
  8. SYSTEMPATH/Common.php
  9. SYSTEMPATH/Config/AutoloadConfig.php
  10. APPPATH/Config/Autoload.php
  11. SYSTEMPATH/Modules/Modules.php
  12. APPPATH/Config/Modules.php
  13. SYSTEMPATH/Autoloader/Autoloader.php
  14. SYSTEMPATH/Config/BaseService.php
  15. SYSTEMPATH/Config/Services.php
  16. APPPATH/Config/Services.php
  17. FCPATH/vendor/autoload.php
  18. FCPATH/vendor/composer/autoload_real.php
  19. FCPATH/vendor/composer/platform_check.php
  20. FCPATH/vendor/composer/ClassLoader.php
  21. FCPATH/vendor/composer/autoload_static.php
  22. FCPATH/vendor/myclabs/deep-copy/src/DeepCopy/deep_copy.php
  23. FCPATH/vendor/symfony/deprecation-contracts/function.php
  24. FCPATH/vendor/phpunit/phpunit/src/Framework/Assert/Functions.php
  25. FCPATH/vendor/composer/InstalledVersions.php
  26. FCPATH/vendor/composer/installed.php
  27. APPPATH/Config/Optimize.php
  28. SYSTEMPATH/Autoloader/FileLocator.php
  29. SYSTEMPATH/Autoloader/FileLocatorInterface.php
  30. SYSTEMPATH/Config/Factories.php
  31. SYSTEMPATH/Config/Factory.php
  32. SYSTEMPATH/Config/BaseConfig.php
  33. APPPATH/Config/Exceptions.php
  34. FCPATH/vendor/psr/log/src/LogLevel.php
  35. SYSTEMPATH/Debug/Exceptions.php
  36. SYSTEMPATH/API/ResponseTrait.php
  37. SYSTEMPATH/Helpers/kint_helper.php
  38. SYSTEMPATH/Helpers/url_helper.php
  39. APPPATH/Helpers/schema_helper.php
  40. APPPATH/Config/App.php
  41. SYSTEMPATH/CodeIgniter.php
  42. APPPATH/Config/Cache.php
  43. SYSTEMPATH/Cache/CacheFactory.php
  44. SYSTEMPATH/Cache/Handlers/FileHandler.php
  45. SYSTEMPATH/Cache/Handlers/BaseHandler.php
  46. SYSTEMPATH/Cache/CacheInterface.php
  47. SYSTEMPATH/Helpers/filesystem_helper.php
  48. SYSTEMPATH/Cache/ResponseCache.php
  49. SYSTEMPATH/HTTP/IncomingRequest.php
  50. SYSTEMPATH/HTTP/Request.php
  51. SYSTEMPATH/HTTP/OutgoingRequest.php
  52. SYSTEMPATH/HTTP/Message.php
  53. SYSTEMPATH/HTTP/MessageTrait.php
  54. SYSTEMPATH/HTTP/MessageInterface.php
  55. SYSTEMPATH/HTTP/OutgoingRequestInterface.php
  56. SYSTEMPATH/HTTP/RequestTrait.php
  57. SYSTEMPATH/HTTP/RequestInterface.php
  58. SYSTEMPATH/Superglobals.php
  59. SYSTEMPATH/HTTP/SiteURIFactory.php
  60. SYSTEMPATH/HTTP/URI.php
  61. SYSTEMPATH/HTTP/SiteURI.php
  62. SYSTEMPATH/HTTP/UserAgent.php
  63. APPPATH/Config/UserAgents.php
  64. SYSTEMPATH/HTTP/Header.php
  65. SYSTEMPATH/Log/Logger.php
  66. FCPATH/vendor/psr/log/src/LoggerInterface.php
  67. APPPATH/Config/Logger.php
  68. SYSTEMPATH/Log/Handlers/FileHandler.php
  69. SYSTEMPATH/Log/Handlers/BaseHandler.php
  70. SYSTEMPATH/Log/Handlers/HandlerInterface.php
  71. SYSTEMPATH/HTTP/Response.php
  72. SYSTEMPATH/HTTP/ResponseTrait.php
  73. SYSTEMPATH/HTTP/ResponseInterface.php
  74. APPPATH/Config/ContentSecurityPolicy.php
  75. SYSTEMPATH/HTTP/ContentSecurityPolicy.php
  76. SYSTEMPATH/Cookie/CookieStore.php
  77. APPPATH/Config/Cookie.php
  78. SYSTEMPATH/Cookie/Cookie.php
  79. SYSTEMPATH/Cookie/CloneableCookieInterface.php
  80. SYSTEMPATH/Cookie/CookieInterface.php
  81. SYSTEMPATH/Debug/ExceptionHandler.php
  82. SYSTEMPATH/Debug/BaseExceptionHandler.php
  83. SYSTEMPATH/Debug/ExceptionHandlerInterface.php
  84. APPPATH/Views/errors/html/error_exception.php
  85. FCPATH/vendor/laminas/laminas-escaper/src/Escaper.php
  86. FCPATH/vendor/laminas/laminas-escaper/src/EscaperInterface.php
  87. SYSTEMPATH/Validation/FormatRules.php
  88. SYSTEMPATH/Helpers/number_helper.php
  89. SYSTEMPATH/Language/Language.php
  90. SYSTEMPATH/Language/en/Number.php

Memory Usage Fatal error: Uncaught Error: Class “Locale” not found in /home/newsindi/public_html/vendor/codeigniter4/framework/system/Helpers/number_helper.php:142
Stack trace:
#0 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Helpers/number_helper.php(60): format_number(2.0, 2, NULL, Array)
#1 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/BaseExceptionHandler.php(158): number_to_size(2.0, 2)
#2 /home/newsindi/public_html/app/Views/errors/html/error_exception.php(408): CodeIgniter\Debug\BaseExceptionHandler::describeMemory(2097152)
#3 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/BaseExceptionHandler.php(270): include(‘/home/newsindi/…’)
#4 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/BaseExceptionHandler.php(273): CodeIgniter\Debug\BaseExceptionHandler->CodeIgniter\Debug\{closure}()
#5 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/ExceptionHandler.php(126): CodeIgniter\Debug\BaseExceptionHandler->render(Object(ErrorException), 500, ‘/home/newsindi/…’)
#6 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/Exceptions.php(151): CodeIgniter\Debug\ExceptionHandler->handle(Object(ErrorException), Object(CodeIgniter\HTTP\IncomingRequest), Object(CodeIgniter\HTTP\Response), 500, 1)
#7 /home/newsindi/public_html/vendor/codeigniter4/framework/system/Debug/Exceptions.php(306): CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException))
#8 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler()
#9 {main}
thrown in /home/newsindi/public_html/vendor/codeigniter4/framework/system/Helpers/number_helper.php on line 142