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 TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjoyOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTQ2OTY5NDYwMTtzOjQ6Imxhc3QiO2k6MTQ2OTY5NDYwMTtzOjM6Im5vdyI7aToxNDY5Njk0NjAxO31zOjU6InRva2VuIjtzOjMyOiJkWENhaXQzVVI5NlpSQjhRS3hSZzA3Qko2QVN0UndUaCI7fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mjp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjowOnt9czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fXM6NDoidXNlciI7Tzo1OiJKVXNlciI6MjY6e3M6OToiACoAaXNSb290IjtiOjA7czoyOiJpZCI7aTowO3M6NDoibmFtZSI7TjtzOjg6InVzZXJuYW1lIjtOO3M6NToiZW1haWwiO047czo4OiJwYXNzd29yZCI7TjtzOjE0OiJwYXNzd29yZF9jbGVhciI7czowOiIiO3M6NToiYmxvY2siO047czo5OiJzZW5kRW1haWwiO2k6MDtzOjEyOiJyZWdpc3RlckRhdGUiO047czoxMzoibGFzdHZpc2l0RGF0ZSI7TjtzOjEwOiJhY3RpdmF0aW9uIjtOO3M6NjoicGFyYW1zIjtOO3M6NjoiZ3JvdXBzIjthOjE6e2k6MDtzOjE6IjkiO31zOjU6Imd1ZXN0IjtpOjE7czoxMzoibGFzdFJlc2V0VGltZSI7TjtzOjEwOiJyZXNldENvdW50IjtOO3M6MTI6InJlcXVpcmVSZXNldCI7TjtzOjEwOiIAKgBfcGFyYW1zIjtPOjI0OiJKb29tbGFcUmVnaXN0cnlcUmVnaXN0cnkiOjI6e3M6NzoiACoAZGF0YSI7Tzo4OiJzdGRDbGFzcyI6MDp7fXM6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjE0OiIAKgBfYXV0aEdyb3VwcyI7YToyOntpOjA7aToxO2k6MTtpOjk7fXM6MTQ6IgAqAF9hdXRoTGV2ZWxzIjthOjM6e2k6MDtpOjE7aToxO2k6MTtpOjI7aTo1O31zOjE1OiIAKgBfYXV0aEFjdGlvbnMiO047czoxMjoiACoAX2Vycm9yTXNnIjtOO3M6MTM6IgAqAHVzZXJIZWxwZXIiO086MTg6IkpVc2VyV3JhcHBlckhlbHBlciI6MDp7fXM6MTA6IgAqAF9lcnJvcnMiO2E6MDp7fXM6MzoiYWlkIjtpOjA7fX19czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ==
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 54.225.13.58
HTTP_X_REAL_IP 54.225.13.58
PATH /bin:/usr/bin
PHPRC /opt/php55/lib
QUERY_STRING
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID V5nCicC5BFkAAaoRDCIAAAEQ
REDIRECT_URL /component/option,com_xmap/Itemid,62/sitemap,1/
REMOTE_ADDR 54.225.13.58
REMOTE_PORT 32403
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 V5nCicC5BFkAAaoRDCIAAAEQ
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1469694601.14
REQUEST_TIME 1469694601
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 54.225.13.58
HTTP_X_REAL_IP 54.225.13.58
PATH /bin:/usr/bin
PHPRC /opt/php55/lib
QUERY_STRING
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID V5nCicC5BFkAAaoRDCIAAAEQ
REDIRECT_URL /component/option,com_xmap/Itemid,62/sitemap,1/
REMOTE_ADDR 54.225.13.58
REMOTE_PORT 32403
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 V5nCicC5BFkAAaoRDCIAAAEQ
0. Whoops\Handler\PrettyPageHandler