{"id":1622,"date":"2022-08-30T15:18:04","date_gmt":"2022-08-30T15:18:04","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/27\/kohana-3-14-fails-at-unit-testing-with-message-class-kohana-not-found-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:18:04","modified_gmt":"2022-08-30T15:18:04","slug":"kohana-3-14-fails-at-unit-testing-with-message-class-kohana-not-found-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/kohana-3-14-fails-at-unit-testing-with-message-class-kohana-not-found-collection-of-common-programming-errors\/","title":{"rendered":"Kohana 3.14 fails at unit testing with message class &#39;Kohana&#39; not found-Collection of common programming errors"},"content":{"rendered":"<p>I have a kohana website that works okay, and I started unit testing (retrospectively, I know it is not the best practice)<\/p>\n<p>The first error I get and I cannot get rid of is quite puzzling:<\/p>\n<blockquote>\n<p>Fatal error: Uncaught exception &#8216;LogicException&#8217; with message &#8216;Passed array does not specify an existing static method (class &#8216;Kohana&#8217; not found)&#8217; in \/Users\/dananicula\/Sites\/mnib1\/application\/bootstrap.php:44<\/p>\n<\/blockquote>\n<p>in bootstrap, line 44 is:<\/p>\n<pre><code> spl_autoload_register(array('Kohana', 'auto_load'));\n<\/code><\/pre>\n<p>and class Kohana actualy exists in system\/classes\/kohana.php<\/p>\n<p>Any hints? Opinions? Suggestions? Thank you!<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-27 12:09:06. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I have a kohana website that works okay, and I started unit testing (retrospectively, I know it is not the best practice) The first error I get and I cannot get rid of is quite puzzling: Fatal error: Uncaught exception &#8216;LogicException&#8217; with message &#8216;Passed array does not specify an existing static method (class &#8216;Kohana&#8217; not [&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-1622","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1622","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=1622"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1622\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}