{"id":1046,"date":"2022-08-30T15:11:29","date_gmt":"2022-08-30T15:11:29","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/tank_auth-set_value-undefined-on-custom-login-page-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:11:29","modified_gmt":"2022-08-30T15:11:29","slug":"tank_auth-set_value-undefined-on-custom-login-page-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/tank_auth-set_value-undefined-on-custom-login-page-collection-of-common-programming-errors\/","title":{"rendered":"Tank_auth set_value() undefined on custom login page-Collection of common programming errors"},"content":{"rendered":"<p>On the default tank_auth login view, there are no errors whatsoever. However, I wanted to style it to match the rest of the site, so I took the code and pasted it into a custom login page (thus replacing the form element, but leaving everything else). However, I end up with this error where the form element should be:<\/p>\n<blockquote>\n<p>Fatal error: Call to undefined function set_value() in \/home\/tester\/public_html\/testsite\/application\/views\/login.php on line 247<\/p>\n<\/blockquote>\n<p>I should note that the view is not in the \/auth\/ directory, like the default tank_auth login view is. Does it have to be moved, or is there a way to use it as is?<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:18:40. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>On the default tank_auth login view, there are no errors whatsoever. However, I wanted to style it to match the rest of the site, so I took the code and pasted it into a custom login page (thus replacing the form element, but leaving everything else). However, I end up with this error where the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1046","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1046"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1046\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}