Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
require(): Failed opening required '/home/obdgr/public_html/libraries/tcpdf/tcpdf.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') Whoops\Exception\ErrorException thrown with message "require(): Failed opening required '/home/obdgr/public_html/libraries/tcpdf/tcpdf.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear')" Stacktrace: #3 Whoops\Exception\ErrorException in /home/obdgr/public_html/libraries/joomla/document/pdf/pdf.php:97 #2 Whoops\Run:handleError in /home/obdgr/public_html/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:434 #1 Whoops\Run:handleShutdown in /home/obdgr/public_html/libraries/gantry5/classes/Gantry/Component/Whoops/SystemFacade.php:155 #0 Gantry\Component\Whoops\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/home/obdgr/public_html/libraries/joomla/document/pdf/pdf.php97
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php434
1
Whoops\Run handleShutdown
/classes/Gantry/Component/Whoops/SystemFacade.php155
0
Gantry\Component\Whoops\SystemFacade handleShutdown
[internal]0
        }
 
        if (isset($options['image-scale'])) {
            $this->_image_scale = $options['image-scale'];
        }
 
        //set mime type
        $this->_mime = 'application/pdf';
 
        //set document type
        $this->_type = 'pdf';
 
    
 
 
        /*
         * Create the pdf document
         */
        // Default settings are a portrait layout with an A4 configuration using millimeters as units
        if(!class_exists('TCPDF')) require(JPATH_ROOT.DS.'libraries'.DS.'tcpdf'.DS.'tcpdf.php');
        $this->_engine = new TCPDF();
 
        //set margins
        $this->_engine->SetMargins($this->_margin_left, $this->_margin_top, $this->_margin_right);
        //set auto page breaks
        $this->_engine->SetAutoPageBreak(TRUE, $this->_margin_bottom);
        $this->_engine->SetHeaderMargin($this->_margin_header);
        $this->_engine->SetFooterMargin($this->_margin_footer);
        $this->_engine->setImageScale($this->_image_scale);
    }
 
     /**
     * Sets the document name
     *
     * @param   string   $name    Document name
     * @access  public
     * @return  void
     */
    function setName($name = 'joomla') {
        $this->_name = $name;
     * Special case to deal with Fatal errors and the like.
     */
    public function handleShutdown()
    {
        // If we reached this step, we are in shutdown handler.
        // An exception thrown in a shutdown handler will not be propagated
        // to the exception handler. Pass that information along.
        $this->canThrowExceptions = false;
 
        $error = $this->system->getLastError();
        if ($error && Misc::isLevelFatal($error['type'])) {
            // If there was a fatal error,
            // it was not handled in handleError yet.
            $this->allowQuit = false;
            $this->handleError(
                $error['type'],
                $error['message'],
                $error['file'],
                $error['line']
            );
        }
    }
 
    /**
     * In certain scenarios, like in shutdown handler, we can not throw exceptions
     * @var bool
     */
    private $canThrowExceptions = true;
 
    /**
     * Echo something to the browser
     * @param  string $output
     * @return $this
     */
    private function writeToOutputNow($output)
    {
        if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) {
            $this->system->setHttpResponseCode(
                $this->sendHttpCode()
            );
        }
 
        // Propagate error to the next handler.
        if ($this->platformExceptionHandler) {
            call_user_func_array($this->platformExceptionHandler, [&$exception]);
        }
    }
 
    /**
     * Special case to deal with Fatal errors and the like.
     */
    public function handleShutdown()
    {
        $handler = $this->whoopsShutdownHandler;
 
        $error = $this->getLastError();
 
        // Ignore core warnings and errors.
        if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
            $handler();
        }
    }
}
 

Environment & details:

Key Value
format pdf
empty
empty
empty
Key Value
joomla TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMTYzNjI1NztzOjQ6Imxhc3QiO2k6MTcxMTYzNjI1NztzOjM6Im5vdyI7aToxNzExNjM2MjU3O319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjoxO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086NToiSlVzZXIiOjE6e3M6MjoiaWQiO2k6MDt9fX1zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO30=
Key Value
CONTEXT_DOCUMENT_ROOT /home/obdgr/public_html
CONTEXT_PREFIX
DOCUMENT_ROOT /home/obdgr/public_html
GATEWAY_INTERFACE CGI/1.1
HTTPS on
HTTP_ACCEPT */*
HTTP_AUTHORIZATION
HTTP_HOST obd-2.gr
HTTP_USER_AGENT claudebot
HTTP_X_HTTPS 1
PATH /bin:/usr/bin
QUERY_STRING format=pdf
REDIRECT_HTTPS on
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_QUERY_STRING format=pdf
REDIRECT_SCRIPT_URI https://obd-2.gr/el/products/2010-04-09-21-30-24/2010-07-15-19-34-50/elmcan-usb
REDIRECT_SCRIPT_URL /el/products/2010-04-09-21-30-24/2010-07-15-19-34-50/elmcan-usb
REDIRECT_SSL_TLS_SNI obd-2.gr
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID ZgV_IbKWj6IBQzccuv6rywAAAAM
REDIRECT_URL /el/products/2010-04-09-21-30-24/2010-07-15-19-34-50/elmcan-usb
REMOTE_ADDR 3.87.133.69
REMOTE_PORT 34564
REQUEST_METHOD GET
REQUEST_SCHEME https
REQUEST_URI /el/products/2010-04-09-21-30-24/2010-07-15-19-34-50/elmcan-usb?format=pdf
SCRIPT_FILENAME /home/obdgr/public_html/index.php
SCRIPT_NAME /index.php
SCRIPT_URI https://obd-2.gr/el/products/2010-04-09-21-30-24/2010-07-15-19-34-50/elmcan-usb
SCRIPT_URL /el/products/2010-04-09-21-30-24/2010-07-15-19-34-50/elmcan-usb
SERVER_ADDR 67.23.226.169
SERVER_ADMIN webmaster@obd-2.gr
SERVER_NAME obd-2.gr
SERVER_PORT 443
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SSL_TLS_SNI obd-2.gr
TZ America/New_York
UNIQUE_ID ZgV_IbKWj6IBQzccuv6rywAAAAM
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711636257.812
REQUEST_TIME 1711636257
argv Array ( [0] => format=pdf )
argc 1
empty
0. Whoops\Handler\PrettyPageHandler