1. Symfony\Component\Debug\Exception\FatalErrorException
…/­app/­library/­Andrew13/­Helpers/­String.php6
0. Illuminate\Exception\Handler handleShutdown
<#unknown>0

Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Symfony\Component\Debug\Exception\FatalErrorException thrown with message "Cannot use 'String' as class name as it is reserved" Stacktrace: #1 Symfony\Component\Debug\Exception\FatalErrorException in /home/andronesi/public_html/app/library/Andrew13/Helpers/String.php:6 #0 Illuminate\Exception\Handler:handleShutdown in <#unknown>:0

Cannot use 'String' as class name as it is reserved

<?php namespace Andrew13\Helpers;
 
use Carbon\Carbon;
use tidy;
 
class String {
 
    /**
     * Capatilize first letter of each word of a string.
     *
<#unknown>
empty
empty
empty
empty
empty
Key Value
PATH /usr/local/bin:/bin:/usr/bin
HTTP_ACCEPT */*
HTTP_HOST www.andronesi.com
HTTP_REFERER http://www.andronesi.com/post/digital-nomads
HTTP_USER_AGENT claudebot
HTTP_X_HTTPS 1
DOCUMENT_ROOT /home/andronesi/public_html
REMOTE_ADDR 34.206.1.144
REMOTE_PORT 58656
SERVER_ADDR 185.199.220.87
SERVER_NAME www.andronesi.com
SERVER_ADMIN webmaster@andronesi.com
SERVER_PORT 443
REQUEST_SCHEME https
REQUEST_URI /post/digital-nomads
PATH_INFO /post/digital-nomads
PATH_TRANSLATED /home/andronesi/public_html/post/digital-nomads
ORIG_PATH_INFO /post/digital-nomads
REDIRECT_URL /post/digital-nomads
REDIRECT_REQUEST_METHOD GET
HTTPS on
REDIRECT_STATUS 200
X_SPDY HTTP2
SSL_PROTOCOL TLSv1.3
SSL_CIPHER TLS_AES_256_GCM_SHA384
SSL_CIPHER_USEKEYSIZE 256
SSL_CIPHER_ALGKEYSIZE 256
SCRIPT_FILENAME /home/andronesi/public_html/index.php
QUERY_STRING
SCRIPT_URI https://www.andronesi.com/post/digital-nomads
SCRIPT_URL /post/digital-nomads
CUR_REQUEST_URI /index.php/post/digital-nomads
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE LiteSpeed
REQUEST_METHOD GET
X-LSCACHE on
PHP_SELF /index.php/post/digital-nomads
REQUEST_TIME_FLOAT 1711714505.5366
REQUEST_TIME 1711714505
Key Value
PATH /usr/local/bin:/bin:/usr/bin
0. Whoops\Handler\PrettyPageHandler