Fatal error: Call to a member function getType() on a non-object 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 a non-object Whoops\Exception\ErrorException thrown with message "Call to a member function getType() on a non-object" 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.php38
	 *
	 * @return  void
	 *
	 * @since   3.5
	 */
	public function onAfterDispatch()
	{
		$doc = $this->app->getDocument();
 
		if (!$this->app->isSite() || $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;

Environment & details:

empty
empty
empty
empty
Key Value
joomla TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjoyOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTQ3MjQxNjc0ODtzOjQ6Imxhc3QiO2k6MTQ3MjQxNjc0ODtzOjM6Im5vdyI7aToxNDcyNDE2NzQ4O31zOjU6InRva2VuIjtzOjMyOiJMNnh2VTAycVJsZnU1eWt1QUkzRG9VeFBkaWwwbDRiRiI7fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mjp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjowOnt9czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fXM6NDoidXNlciI7Tzo1OiJKVXNlciI6MTp7czoyOiJpZCI7aTowO319fXM6OToic2VwYXJhdG9yIjtzOjE6Ii4iO30=
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_ACCEPT_LANGUAGE en-us,en-gb,en;q=0.7,*;q=0.3
HTTP_CONNECTION close
HTTP_HOST francistapon.com
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_X_HTTP_PROTO HTTP/1.0
HTTP_X_LOG_7531 23.20.129.73
HTTP_X_REAL_IP 23.20.129.73
PATH /bin:/usr/bin
PHPRC /opt/php55/lib
QUERY_STRING
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID V8NL7MC5BFkAAcEEYbYAAACk
REDIRECT_URL /component/option,com_xmap/Itemid,62/sitemap,1/
REMOTE_ADDR 23.20.129.73
REMOTE_PORT 29072
REQUEST_METHOD GET
REQUEST_URI /component/option,com_xmap/Itemid,62/sitemap,1/
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 V8NL7MC5BFkAAcEEYbYAAACk
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1472416748.43
REQUEST_TIME 1472416748
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_ACCEPT_LANGUAGE en-us,en-gb,en;q=0.7,*;q=0.3
HTTP_CONNECTION close
HTTP_HOST francistapon.com
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_X_HTTP_PROTO HTTP/1.0
HTTP_X_LOG_7531 23.20.129.73
HTTP_X_REAL_IP 23.20.129.73
PATH /bin:/usr/bin
PHPRC /opt/php55/lib
QUERY_STRING
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID V8NL7MC5BFkAAcEEYbYAAACk
REDIRECT_URL /component/option,com_xmap/Itemid,62/sitemap,1/
REMOTE_ADDR 23.20.129.73
REMOTE_PORT 29072
REQUEST_METHOD GET
REQUEST_URI /component/option,com_xmap/Itemid,62/sitemap,1/
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 V8NL7MC5BFkAAcEEYbYAAACk
0. Whoops\Handler\PrettyPageHandler