Fatal error: Class ContentViewArticle cannot extend from interface JView in /home/robertp/public_html/components/com_content/views/article/view.pdf.php on line 27
Crikey! There was an error...
Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Class ContentViewArticle cannot extend from interface JView Whoops\Exception\ErrorException thrown with message "Class ContentViewArticle cannot extend from interface JView" Stacktrace: #3 Whoops\Exception\ErrorException in /home/robertp/public_html/components/com_content/views/article/view.pdf.php:27 #2 Whoops\Run:handleError in /home/robertp/public_html/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:486 #1 Whoops\Run:handleShutdown in /home/robertp/public_html/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php:167 #0 Gantry\Component\Whoops\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/home/robertp/public_html/components/com_content/views/article/view.pdf.php27
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php486
1
Whoops\Run handleShutdown
/src/classes/Gantry/Component/Whoops/SystemFacade.php167
0
Gantry\Component\Whoops\SystemFacade handleShutdown
[internal]0
 * Joomla! is free software. This version may have been modified pursuant to the
 * GNU General Public License, and as distributed it includes or is derivative
 * of works licensed under the GNU General Public License or other free or open
 * source software licenses. See COPYRIGHT.php for copyright notices and
 * details.
 */
 
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );
 
jimport( 'joomla.application.component.view');
 
/**
 * HTML Article View class for the Content component
 *
 * @package        Joomla
 * @subpackage    Content
 * @since 1.5
 */
class ContentViewArticle extends JView
{
    function display($tpl = null)
    {
        global $mainframe;
        $user        =& JFactory::getUser();
        $dispatcher    =& JDispatcher::getInstance();
 
        // Initialize some variables
        $article    = & $this->get( 'Article' );
        $params     = & $article->parameters;
 
        // Create a user access object for the current user
        $access = new stdClass();
        $access->canEdit    = $user->authorize('com_content', 'edit', 'content', 'all');
        $access->canEditOwn    = $user->authorize('com_content', 'edit', 'content', 'own');
        $access->canPublish    = $user->authorize('com_content', 'publish', 'content', 'all');
 
        // Check to see if the user has access to view the full article
        $aid    = $user->get('aid');
 
     *
     * @return void
     */
    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']
            );
        }
    }
 
    /**
     * @param Throwable $exception
     *
     * @return Inspector
     */
    private function getInspector($exception)
    {
        return new Inspector($exception);
    }
 
    /**
     * Resolves the giving handler.
     *
     * @param callable|HandlerInterface $handler
     *
     * @return HandlerInterface
        }
 
        // 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 TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMTYzNDIzMztzOjQ6Imxhc3QiO2k6MTcxMTYzNDIzMztzOjM6Im5vdyI7aToxNzExNjM0MjMzO31zOjY6ImNsaWVudCI7Tzo4OiJzdGRDbGFzcyI6MTp7czo5OiJmb3J3YXJkZWQiO3M6MTE6IjUyLjkwLjQwLjg0Ijt9fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mzp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjowOnt9czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9czo0OiJ1c2VyIjtPOjIwOiJKb29tbGFcQ01TXFVzZXJcVXNlciI6MTp7czoyOiJpZCI7aTowO319fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ==
Key Value
CONTEXT_DOCUMENT_ROOT /home/robertp/public_html
CONTEXT_PREFIX
DOCUMENT_ROOT /home/robertp/public_html
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_AUTHORIZATION
HTTP_HOST robertphipps.com
HTTP_USER_AGENT claudebot
HTTP_X_FORWARDED_FOR 52.90.40.84
HTTP_X_FORWARDED_HOST robertphipps.com
HTTP_X_FORWARDED_PORT 80
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_SERVER robertphipps.com
HTTP_X_REAL_IP 52.90.40.84
PATH /bin:/usr/bin
PHP_INI_SCAN_DIR /opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.
QUERY_STRING format=pdf
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_QUERY_STRING format=pdf
REDIRECT_SCRIPT_URI http://robertphipps.com/component/content/article/1-latest-news/264-leaders-debate-2015-body-language-
REDIRECT_SCRIPT_URL /component/content/article/1-latest-news/264-leaders-debate-2015-body-language-
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID ZgV3OQh45vg6lrnWwWKVDgAAAAU
REDIRECT_URL /component/content/article/1-latest-news/264-leaders-debate-2015-body-language-
REDIRECT_isproxyrequest 1
REMOTE_ADDR 52.90.40.84
REMOTE_PORT 49522
REQUEST_METHOD GET
REQUEST_SCHEME http
REQUEST_URI /component/content/article/1-latest-news/264-leaders-debate-2015-body-language-?format=pdf
SCRIPT_FILENAME /home/robertp/public_html/index.php
SCRIPT_NAME /index.php
SCRIPT_URI http://robertphipps.com/component/content/article/1-latest-news/264-leaders-debate-2015-body-language-
SCRIPT_URL /component/content/article/1-latest-news/264-leaders-debate-2015-body-language-
SERVER_ADDR 5.77.63.165
SERVER_ADMIN webmaster@robertphipps.com
SERVER_NAME robertphipps.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
TZ Europe/London
UNIQUE_ID ZgV3OQh45vg6lrnWwWKVDgAAAAU
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711634233.216
REQUEST_TIME 1711634233
argv Array ( [0] => format=pdf )
argc 1
empty
0. Whoops\Handler\PrettyPageHandler