{"id":224,"date":"2014-08-26T21:34:15","date_gmt":"2014-08-26T21:34:15","guid":{"rendered":"http:\/\/www.confidant.ca\/blog\/?p=224"},"modified":"2014-08-26T21:34:15","modified_gmt":"2014-08-26T21:34:15","slug":"fixing-invalid-token-on-joomla-front-end","status":"publish","type":"post","link":"https:\/\/www.confidant.ca\/blog\/2014\/fixing-invalid-token-on-joomla-front-end\/","title":{"rendered":"Fixing \u201cInvalid token\u201d on Joomla front end"},"content":{"rendered":"<p>In Joomla I had a problem with doing a logout from the front end. Clicking once would seemingly have no result. Clicking twice would take you to an &#8220;invalid token&#8221; page.<\/p>\n<p>After a lot of unsuccessful internet searching I ended up turning setting error reporting to \u2018maximum\u2019 in System&gt;Global Configuration&gt;Server.<!--more--><\/p>\n<p>The errors shown were:<\/p>\n<p>Strict Standards: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in \/home\/userp\/public_html\/plugins\/system\/expiresheaders\/expiresheaders.php on line 24<\/p>\n<p>Strict Standards: Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in \/home\/userp\/public_html\/libraries\/cms\/application\/site.php on line 266<\/p>\n<p>Strict Standards: Only variables should be assigned by reference in \/home\/userp\/public_html\/plugins\/system\/expiresheaders\/expiresheaders.php on line 24<br \/>\nInvalid Token<\/p>\n<p>I decided to take a look at the Expires Headers plugin settings. I discovered that checking the &#8220;no store&#8221; option under Cache-Control Header Values fixed the problem I was having.<\/p>\n<p>I hope this helps someone out there!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Joomla I had a problem with doing a logout from the front end. Clicking once would seemingly have no result. Clicking twice would take you to an &#8220;invalid token&#8221; page. After a lot of unsuccessful internet searching I ended up turning setting error reporting to \u2018maximum\u2019 in System&gt;Global Configuration&gt;Server.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3],"tags":[40,41,19],"class_list":["post-224","post","type-post","status-publish","format-standard","hentry","category-development","tag-cache","tag-header","tag-joomla"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p28GE6-3C","_links":{"self":[{"href":"https:\/\/www.confidant.ca\/blog\/wp-json\/wp\/v2\/posts\/224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.confidant.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.confidant.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.confidant.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.confidant.ca\/blog\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":1,"href":"https:\/\/www.confidant.ca\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"predecessor-version":[{"id":225,"href":"https:\/\/www.confidant.ca\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions\/225"}],"wp:attachment":[{"href":"https:\/\/www.confidant.ca\/blog\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.confidant.ca\/blog\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.confidant.ca\/blog\/wp-json\/wp\/v2\/tags?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}