Fatal error: Call to a member function getType() on null in /home3/ftapon/public_html/plugins/system/sef/sef.php on line 38
Crikey! There was an error...
Whoops \ Exception \ ErrorException (E_ERROR)
Call to a member function getType() on null Whoops\Exception\ErrorException thrown with message "Call to a member function getType() on null" Stacktrace: #0 Whoops\Exception\ErrorException in /home3/ftapon/public_html/plugins/system/sef/sef.php:38
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
home3
/
ftapon
/
public_html
/
plugins
/
system
/
sef
/
sef.php
38
    /**
     * Application object.
     *
     * @var    JApplicationCms
     * @since  3.5
     */
    protected $app;
 
    /**
     * Add the canonical uri to the head.
     *
     * @return  void
     *
     * @since   3.5
     */
    public function onAfterDispatch()
    {
        $doc = $this->app->getDocument();
 
        if (!$this->app->isClient('site') || $doc->getType() !== 'html')
        {
            return;
        }
 
        $sefDomain = $this->params->get('domain', '');
 
        // Don't add a canonical html tag if no alternative domain has added in SEF plugin domain field.
        if (empty($sefDomain))
        {
            return;
        }
 
        // Check if a canonical html tag already exists (for instance, added by a component).
        $canonical = '';
 
        foreach ($doc->_links as $linkUrl => $link)
        {
            if (isset($link['relation']) && $link['relation'] === 'canonical')
            {
                $canonical = $linkUrl;

Environment & details:

empty
empty
empty
empty
Key Value
joomla TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTUwMzM1MjE0MDtzOjQ6Imxhc3QiO2k6MTUwMzM1MjE0MDtzOjM6Im5vdyI7aToxNTAzMzUyMTQwO319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086NToiSlVzZXIiOjE6e3M6MjoiaWQiO2k6MDt9fX1zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO30=
Key Value
DOCUMENT_ROOT /home3/ftapon/public_html
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_CONNECTION close
HTTP_HOST francistapon.com
HTTP_IF_MODIFIED_SINCE Thu, 20 Jul 2017 18:47:40 GMT
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_X_HTTP_PROTO HTTP/1.0
HTTP_X_LOG_7531 54.156.32.80
HTTP_X_REAL_IP 54.156.32.80
PATH /bin:/usr/bin
PHPRC /opt/php56/lib
QUERY_STRING
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID WZtVTMC5BFkABWQlbrkAAACG
REDIRECT_URL /Travels/
REMOTE_ADDR 54.156.32.80
REMOTE_PORT 49384
REQUEST_METHOD GET
REQUEST_URI /Travels/
SCRIPT_FILENAME /home3/ftapon/public_html/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 192.185.21.167
SERVER_ADMIN webmaster@francistapon.com
SERVER_NAME francistapon.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
Apache Server at francistapon.com Port 80
SERVER_SOFTWARE Apache
UNIQUE_ID WZtVTMC5BFkABWQlbrkAAACG
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1503352140.68
REQUEST_TIME 1503352140
argv Array ( )
argc 0
Key Value
DOCUMENT_ROOT /home3/ftapon/public_html
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_CONNECTION close
HTTP_HOST francistapon.com
HTTP_IF_MODIFIED_SINCE Thu, 20 Jul 2017 18:47:40 GMT
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_X_HTTP_PROTO HTTP/1.0
HTTP_X_LOG_7531 54.156.32.80
HTTP_X_REAL_IP 54.156.32.80
PATH /bin:/usr/bin
PHPRC /opt/php56/lib
QUERY_STRING
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID WZtVTMC5BFkABWQlbrkAAACG
REDIRECT_URL /Travels/
REMOTE_ADDR 54.156.32.80
REMOTE_PORT 49384
REQUEST_METHOD GET
REQUEST_URI /Travels/
SCRIPT_FILENAME /home3/ftapon/public_html/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 192.185.21.167
SERVER_ADMIN webmaster@francistapon.com
SERVER_NAME francistapon.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
Apache Server at francistapon.com Port 80
SERVER_SOFTWARE Apache
UNIQUE_ID WZtVTMC5BFkABWQlbrkAAACG
0. Whoops\Handler\PrettyPageHandler