A PHP Error was encountered

Severity: 8192

Message: Return type of Whoops\Exception\FrameCollection::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: Exception/FrameCollection.php

Line Number: 101

Backtrace:

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php
Line: 20
Function: _error_handler

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 444
Function: include

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 322
Function: Composer\Autoload\includeFile

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Run.php
Line: 165
Function: class_exists

File: /home/betdwekg/public_html/application/hooks/WhoopsHook.php
Line: 8
Function: register

File: /home/betdwekg/public_html/index.php
Line: 266
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of Whoops\Exception\FrameCollection::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: Exception/FrameCollection.php

Line Number: 110

Backtrace:

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php
Line: 20
Function: _error_handler

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 444
Function: include

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 322
Function: Composer\Autoload\includeFile

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Run.php
Line: 165
Function: class_exists

File: /home/betdwekg/public_html/application/hooks/WhoopsHook.php
Line: 8
Function: register

File: /home/betdwekg/public_html/index.php
Line: 266
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of Whoops\Exception\FrameCollection::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: Exception/FrameCollection.php

Line Number: 119

Backtrace:

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php
Line: 20
Function: _error_handler

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 444
Function: include

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 322
Function: Composer\Autoload\includeFile

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Run.php
Line: 165
Function: class_exists

File: /home/betdwekg/public_html/application/hooks/WhoopsHook.php
Line: 8
Function: register

File: /home/betdwekg/public_html/index.php
Line: 266
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of Whoops\Exception\FrameCollection::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: Exception/FrameCollection.php

Line Number: 128

Backtrace:

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php
Line: 20
Function: _error_handler

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 444
Function: include

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 322
Function: Composer\Autoload\includeFile

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Run.php
Line: 165
Function: class_exists

File: /home/betdwekg/public_html/application/hooks/WhoopsHook.php
Line: 8
Function: register

File: /home/betdwekg/public_html/index.php
Line: 266
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of Whoops\Exception\FrameCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: Exception/FrameCollection.php

Line Number: 92

Backtrace:

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php
Line: 20
Function: _error_handler

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 444
Function: include

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 322
Function: Composer\Autoload\includeFile

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Run.php
Line: 165
Function: class_exists

File: /home/betdwekg/public_html/application/hooks/WhoopsHook.php
Line: 8
Function: register

File: /home/betdwekg/public_html/index.php
Line: 266
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Whoops\Exception\FrameCollection implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)

Filename: Exception/FrameCollection.php

Line Number: 20

Backtrace:

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php
Line: 20
Function: _error_handler

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 444
Function: include

File: /home/betdwekg/public_html/vendor/composer/ClassLoader.php
Line: 322
Function: Composer\Autoload\includeFile

File: /home/betdwekg/public_html/vendor/filp/whoops/src/Whoops/Run.php
Line: 165
Function: class_exists

File: /home/betdwekg/public_html/application/hooks/WhoopsHook.php
Line: 8
Function: register

File: /home/betdwekg/public_html/index.php
Line: 266
Function: require_once

Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Cannot modify header information - headers already sent by (output started at /home/betdwekg/public_html/system/core/Exceptions.php:271) Whoops\Exception\ErrorException thrown with message "Cannot modify header information - headers already sent by (output started at /home/betdwekg/public_html/system/core/Exceptions.php:271)" Stacktrace: #6 Whoops\Exception\ErrorException in /home/betdwekg/public_html/system/core/Security.php:282 #5 setcookie in /home/betdwekg/public_html/system/core/Security.php:282 #4 CI_Security:csrf_set_cookie in /home/betdwekg/public_html/system/core/Security.php:213 #3 CI_Security:csrf_verify in /home/betdwekg/public_html/system/core/Input.php:159 #2 CI_Input:__construct in /home/betdwekg/public_html/system/core/Common.php:196 #1 load_class in /home/betdwekg/public_html/system/core/CodeIgniter.php:342 #0 require_once in /home/betdwekg/public_html/index.php:266
Stack frames (7)
6
Whoops\Exception\ErrorException
/system/core/Security.php282
5
setcookie
/system/core/Security.php282
4
CI_Security csrf_set_cookie
/system/core/Security.php213
3
CI_Security csrf_verify
/system/core/Input.php159
2
CI_Input __construct
/system/core/Common.php196
1
load_class
/system/core/CodeIgniter.php342
0
require_once
/index.php266
/home/betdwekg/public_html/system/core/Security.php
     * @return    CI_Security
     */
    public function csrf_set_cookie()
    {
        $expire = time() + $this->_csrf_expire;
        $secure_cookie = (bool) config_item('cookie_secure');
 
        if ($secure_cookie && ! is_https())
        {
            return FALSE;
        }
 
        setcookie(
            $this->_csrf_cookie_name,
            $this->_csrf_hash,
            $expire,
            config_item('cookie_path'),
            config_item('cookie_domain'),
            $secure_cookie,
            config_item('cookie_httponly')
        );
        log_message('info', 'CSRF cookie sent');
 
        return $this;
    }
 
    // --------------------------------------------------------------------
 
    /**
     * Show CSRF Error
     *
     * @return    void
     */
    public function csrf_show_error()
    {
        show_error('The action you have requested is not allowed.', 403);
    }
 
    // --------------------------------------------------------------------
 
/home/betdwekg/public_html/system/core/Security.php
     * @return    CI_Security
     */
    public function csrf_set_cookie()
    {
        $expire = time() + $this->_csrf_expire;
        $secure_cookie = (bool) config_item('cookie_secure');
 
        if ($secure_cookie && ! is_https())
        {
            return FALSE;
        }
 
        setcookie(
            $this->_csrf_cookie_name,
            $this->_csrf_hash,
            $expire,
            config_item('cookie_path'),
            config_item('cookie_domain'),
            $secure_cookie,
            config_item('cookie_httponly')
        );
        log_message('info', 'CSRF cookie sent');
 
        return $this;
    }
 
    // --------------------------------------------------------------------
 
    /**
     * Show CSRF Error
     *
     * @return    void
     */
    public function csrf_show_error()
    {
        show_error('The action you have requested is not allowed.', 403);
    }
 
    // --------------------------------------------------------------------
 
/home/betdwekg/public_html/system/core/Security.php
        }
 
        $this->charset = strtoupper(config_item('charset'));
 
        log_message('info', 'Security Class Initialized');
    }
 
    // --------------------------------------------------------------------
 
    /**
     * CSRF Verify
     *
     * @return    CI_Security
     */
    public function csrf_verify()
    {
        // If it's not a POST request we will set the CSRF cookie
        if (strtoupper($_SERVER['REQUEST_METHOD']) !== 'POST')
        {
            return $this->csrf_set_cookie();
        }
 
        // Check if URI has been whitelisted from CSRF checks
        if ($exclude_uris = config_item('csrf_exclude_uris'))
        {
            $uri = load_class('URI', 'core');
            foreach ($exclude_uris as $excluded)
            {
                if (preg_match('#^'.$excluded.'$#i'.(UTF8_ENABLED ? 'u' : ''), $uri->uri_string()))
                {
                    return $this;
                }
            }
        }
 
        // Check CSRF token validity, but don't error on mismatch just yet - we'll want to regenerate
        $valid = isset($_POST[$this->_csrf_token_name], $_COOKIE[$this->_csrf_cookie_name])
            && is_string($_POST[$this->_csrf_token_name]) && is_string($_COOKIE[$this->_csrf_cookie_name])
            && hash_equals($_POST[$this->_csrf_token_name], $_COOKIE[$this->_csrf_cookie_name]);
 
/home/betdwekg/public_html/system/core/Input.php
        $this->_allow_get_array        = (config_item('allow_get_array') !== FALSE);
        $this->_enable_xss        = (config_item('global_xss_filtering') === TRUE);
        $this->_enable_csrf        = (config_item('csrf_protection') === TRUE);
        $this->_standardize_newlines    = (bool) config_item('standardize_newlines');
 
        $this->security =& load_class('Security', 'core');
 
        // Do we need the UTF-8 class?
        if (UTF8_ENABLED === TRUE)
        {
            $this->uni =& load_class('Utf8', 'core');
        }
 
        // Sanitize global arrays
        $this->_sanitize_globals();
 
        // CSRF Protection check
        if ($this->_enable_csrf === TRUE && ! is_cli())
        {
            $this->security->csrf_verify();
        }
 
        log_message('info', 'Input Class Initialized');
    }
 
    // --------------------------------------------------------------------
 
    /**
     * Fetch from array
     *
     * Internal method used to retrieve values from global arrays.
     *
     * @param    array    &$array        $_GET, $_POST, $_COOKIE, $_SERVER, etc.
     * @param    mixed    $index        Index for item to be fetched from $array
     * @param    bool    $xss_clean    Whether to apply XSS filtering
     * @return    mixed
     */
    protected function _fetch_from_array(&$array, $index = NULL, $xss_clean = NULL)
    {
        is_bool($xss_clean) OR $xss_clean = $this->_enable_xss;
/home/betdwekg/public_html/system/core/Common.php
                require_once(APPPATH.$directory.'/'.$name.'.php');
            }
        }
 
        // Did we find the class?
        if ($name === FALSE)
        {
            // Note: We use exit() rather than show_error() in order to avoid a
            // self-referencing loop with the Exceptions class
            set_status_header(503);
            echo 'Unable to locate the specified class: '.$class.'.php';
            exit(5); // EXIT_UNK_CLASS
        }
 
        // Keep track of what we just loaded
        is_loaded($class);
 
        $_classes[$class] = isset($param)
            ? new $name($param)
            : new $name();
        return $_classes[$class];
    }
}
 
// --------------------------------------------------------------------
 
if ( ! function_exists('is_loaded'))
{
    /**
     * Keeps track of which libraries have been loaded. This function is
     * called by the load_class() function above
     *
     * @param    string
     * @return    array
     */
    function &is_loaded($class = '')
    {
        static $_is_loaded = array();
 
        if ($class !== '')
/home/betdwekg/public_html/system/core/CodeIgniter.php
 * ------------------------------------------------------
 */
    if ($EXT->call_hook('cache_override') === FALSE && $OUT->_display_cache($CFG, $URI) === TRUE)
    {
        exit;
    }
 
/*
 * -----------------------------------------------------
 * Load the security class for xss and csrf support
 * -----------------------------------------------------
 */
    $SEC =& load_class('Security', 'core');
 
/*
 * ------------------------------------------------------
 *  Load the Input class and sanitize globals
 * ------------------------------------------------------
 */
    $IN    =& load_class('Input', 'core');
 
/*
 * ------------------------------------------------------
 *  Load the Language class
 * ------------------------------------------------------
 */
    $LANG =& load_class('Lang', 'core');
 
/*
 * ------------------------------------------------------
 *  Load the app controller and local controller
 * ------------------------------------------------------
 *
 */
    // Load the base controller class
    require_once BASEPATH.'core/Controller.php';
 
    /**
     * Reference to the CI_Controller method.
     *
/home/betdwekg/public_html/index.php
            DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
        );
    }
    else
    {
        header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
        echo 'Your view folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
        exit(3); // EXIT_CONFIG
    }
 
    define('VIEWPATH', $view_folder.DIRECTORY_SEPARATOR);
 
/*
 * --------------------------------------------------------------------
 * LOAD THE BOOTSTRAP FILE
 * --------------------------------------------------------------------
 *
 * And away we go...
 */
require_once BASEPATH.'core/CodeIgniter.php';
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH /usr/local/bin:/bin:/usr/bin
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br
HTTP_HOST betdevbd.com
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR 3.133.87.156,172.70.126.16
HTTP_CF_RAY 87d442c75a0ce180-ORD
HTTP_X_FORWARDED_PROTO https
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_CF_CONNECTING_IP 3.133.87.156
HTTP_CDN_LOOP cloudflare
HTTP_CF_IPCOUNTRY US
DOCUMENT_ROOT /home/betdwekg/public_html
REMOTE_ADDR 3.133.87.156
REMOTE_PORT 56162
SERVER_ADDR 199.188.200.56
SERVER_NAME betdevbd.com
SERVER_ADMIN webmaster@betdevbd.com
SERVER_PORT 443
REQUEST_SCHEME https
REQUEST_URI /
PROXY_REMOTE_ADDR 199.188.200.56
HTTPS on
SCRIPT_FILENAME /home/betdwekg/public_html/index.php
QUERY_STRING
SCRIPT_URI https://betdevbd.com/
SCRIPT_URL /
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE LiteSpeed
REQUEST_METHOD GET
X-LSCACHE on
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1714613582.1393
REQUEST_TIME 1714613582
empty
0. Whoops\Handler\PrettyPageHandler