{"id":6263,"date":"2021-05-14T02:20:33","date_gmt":"2021-05-14T02:20:33","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=6263"},"modified":"2021-05-15T05:25:59","modified_gmt":"2021-05-15T05:25:59","slug":"call-to-a-member-function-createtoken-on-null","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/","title":{"rendered":"Call to a member function createtoken() on null"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Error: yesterday, when i open site without login in any other browser by direct  url<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"http:\/\/hl-events\/touroperator\/dashboards\">http:\/\/hl-events\/touroperator\/dashboards<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"547\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-1024x547.png\" alt=\"\" class=\"wp-image-6264\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-1024x547.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-300x160.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-768x410.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-1536x820.png 1536w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Solution:<\/strong>open site by homepage url like  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">http:\/\/hl-events\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error: yesterday, when i open site without login in any other browser by direct url http:\/\/hl-events\/touroperator\/dashboards Solution:open site by homepage [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5049],"tags":[5052],"class_list":["post-6263","post","type-post","status-publish","format-standard","hentry","category-laravel","tag-laravel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Call to a member function createtoken() on null - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Call to a member function createtoken() on null - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Error: yesterday, when i open site without login in any other browser by direct url http:\/\/hl-events\/touroperator\/dashboards Solution:open site by homepage [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-14T02:20:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-15T05:25:59+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-1024x547.png\" \/>\n<meta name=\"author\" content=\"Rakesh K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rakesh K\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/\"},\"author\":{\"name\":\"Rakesh K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/00a5bea1933de2df743213c119a73645\"},\"headline\":\"Call to a member function createtoken() on null\",\"datePublished\":\"2021-05-14T02:20:33+00:00\",\"dateModified\":\"2021-05-15T05:25:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/\"},\"wordCount\":36,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/call-to-member-function-on-create-token-url-1024x547.png\",\"keywords\":[\"laravel\"],\"articleSection\":[\"Laravel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/\",\"name\":\"Call to a member function createtoken() on null - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/call-to-member-function-on-create-token-url-1024x547.png\",\"datePublished\":\"2021-05-14T02:20:33+00:00\",\"dateModified\":\"2021-05-15T05:25:59+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/00a5bea1933de2df743213c119a73645\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/call-to-member-function-on-create-token-url-1024x547.png\",\"contentUrl\":\"http:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/call-to-member-function-on-create-token-url-1024x547.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/call-to-a-member-function-createtoken-on-null\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Call to a member function createtoken() on null\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/00a5bea1933de2df743213c119a73645\",\"name\":\"Rakesh K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g\",\"caption\":\"Rakesh K\"},\"description\":\"Hi I am Rakesh Experienced Web Developer with a demonstrated history of working in the information technology and services industry.\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/rakesh\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Call to a member function createtoken() on null - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/","og_locale":"en_US","og_type":"article","og_title":"Call to a member function createtoken() on null - scmGalaxy","og_description":"Error: yesterday, when i open site without login in any other browser by direct url http:\/\/hl-events\/touroperator\/dashboards Solution:open site by homepage [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/","og_site_name":"scmGalaxy","article_published_time":"2021-05-14T02:20:33+00:00","article_modified_time":"2021-05-15T05:25:59+00:00","og_image":[{"url":"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-1024x547.png","type":"","width":"","height":""}],"author":"Rakesh K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rakesh K"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/"},"author":{"name":"Rakesh K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/00a5bea1933de2df743213c119a73645"},"headline":"Call to a member function createtoken() on null","datePublished":"2021-05-14T02:20:33+00:00","dateModified":"2021-05-15T05:25:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/"},"wordCount":36,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/#primaryimage"},"thumbnailUrl":"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-1024x547.png","keywords":["laravel"],"articleSection":["Laravel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/","name":"Call to a member function createtoken() on null - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/#primaryimage"},"thumbnailUrl":"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-1024x547.png","datePublished":"2021-05-14T02:20:33+00:00","dateModified":"2021-05-15T05:25:59+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/00a5bea1933de2df743213c119a73645"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/#primaryimage","url":"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-1024x547.png","contentUrl":"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/05\/call-to-member-function-on-create-token-url-1024x547.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/call-to-a-member-function-createtoken-on-null\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Call to a member function createtoken() on null"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/00a5bea1933de2df743213c119a73645","name":"Rakesh K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9cced70fe2d3021e1d865e7bb99782c4e69a5fa8c913adb83fae7aa47e692d5f?s=96&d=mm&r=g","caption":"Rakesh K"},"description":"Hi I am Rakesh Experienced Web Developer with a demonstrated history of working in the information technology and services industry.","url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/rakesh\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=6263"}],"version-history":[{"count":3,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6263\/revisions"}],"predecessor-version":[{"id":6270,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6263\/revisions\/6270"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=6263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=6263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=6263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}