{"id":1507,"date":"2022-08-30T15:17:06","date_gmt":"2022-08-30T15:17:06","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/26\/problem-about-kohana-3-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:17:06","modified_gmt":"2022-08-30T15:17:06","slug":"problem-about-kohana-3-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-kohana-3-collection-of-common-programming-errors\/","title":{"rendered":"problem about kohana-3-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d29954ffe531db9e08c719e18a490a68?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKarem<br \/>\nphp kohana kohana-3<br \/>\nI have done this simple catch:try {echo Request::factory()-&gt;execute()-&gt;send_headers()-&gt;body(); }catch(Exception $e) {echo &#8216;You tried to reach: ?&#8217;; }in the bottom of my bootstrap.php and removed echo Request::factory()-&gt;execute()-&gt;send_headers()-&gt;body();From the root index.php. This works fine, and the output &#8220;You tried to reach ?&#8221; appears when there&#8217;s a request of something unhandled.I wish to mention the URI in this output message. My further plans are to check in the DB for URI that m<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6c42283aeb1521ae0e27bd41b7fdb227?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAnthony<br \/>\nphp kohana-3<br \/>\nHow do I require_once in my controller, a third party class that I put in kohana\\vendor\\twitter-api-php? I tried this answer which was similar but I kept getting errors (see below). My project&#8217;s file structure is as follows:kohana &#8211; application &#8211; modules &#8211; system &#8211; vendorI keep getting these errorsWarning: Uncaught exception &#8216;ErrorException&#8217; with message &#8216;require_once(C:\\wamp\\www\\kohana): failed to open stream: Permission denied&#8217; in C:\\wamp\\www\\kohana\\application\\classes\\Controller\\Twitter.php:8<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/041eb9eb2d4fb22a95c06cf2a0df260a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ndaniels<br \/>\nphp kohana-3<br \/>\nHow can this be done? I&#8217;m trying to do this for about half an hour and it&#8217;s getting pretty annoying. You would this this should be an basic and easy thing to setup for a framework like this. I hope maybe there&#8217;s an easy way i missed, because i&#8217;m starting to thing i should not chose this framework at all if such basic tings are so hard to setup.This is in my bootstrap.php file that should do the trick.if ( ! defined(&#8216;SUPPRESS_REQUEST&#8217;)) {\/*** Execute the main request. A source of the URI can be p<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e96a421d76c1fc107a5d291c6999b2ef?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nalex<br \/>\nphp exception-handling kohana kohana-3<br \/>\nI&#8217;ve got a web application that is used by a company for logging their employees&#8217; work.A lot of people are often logged in at once.The application runs on a shared host.I sometimes receive&#8230;Warning: mysql_connect() [function.mysql-connect]: Too many connectionsWhich then lets further errors cascade&#8230; like errors with mysql_select_db(), mysql_error(), mysql_errnon() and finally the uncaught Database_Eexception.When I run my main request, I wrap it in a try and capture any exception and display<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/acfeda29c615a77b4156f813381121a0?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAaron A<br \/>\nkohana-3 kohana-orm kohana-3.2<br \/>\nI have a model named permission. Permission has many roles permission has many users permission has many denied usersBelow is from the permissions model:protected $_has_many = array(&#8216;user&#8217; =&gt; array(&#8216;through&#8217; =&gt; &#8216;user_permission&#8217;),&#8217;permissiondeny&#8217; =&gt; array(&#8216;model&#8217; =&gt; &#8216;user&#8217;, &#8216;through&#8217; =&gt; &#8216;user_permissiondeny&#8217;,&#8217;foreign_key&#8217; =&gt; &#8216;permissiondeny_id&#8217;),&#8217;role&#8217; =&gt; array(&#8216;through&#8217; =&gt; &#8216;role_permission&#8217;), );The user and role relationships work as expected. I can select the deny perm<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f8f3db32ac21fcbc85c5464079a87c2b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmatino<br \/>\nphp unit-testing kohana kohana-3 spl-autoload-register<br \/>\nI 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;Passedarray does not specify an existing static method (class &#8216;Kohana&#8217; notfound)&#8217; in \/Users\/dananicula\/Sites\/mnib1\/application\/bootstrap.php:44in bootstrap, line 44 is: spl_autoload_register(array(&#8216;Kohana&#8217;, &#8216;auto_load&#8217;));and class Kohana actualy exist<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/40de750233b3ce8268f235ba0b6a489b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nteresko<br \/>\nphp kohana kohana-3<br \/>\nAt the moment I think about login script. Idea &#8211; when you submit login and password, they checks into model and if login and password is correct, script shows a message about completed login process. But if I put in view echo $message; and I am at login page, kohana shows error &#8211; Undefined variable $message. But when I am at page, where the variable defined, all working. How to realize this idea.EDIT!class Controller_About extends Controller_Template {public function action_index() {session_star<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/MGhY2.png?s=32&amp;g=1\" \/><br \/>\nhakre<br \/>\nphp validation exception kohana-3 php-errors<br \/>\nI am trying to add the error messages to my validation object.It says that errors is not a method of Validation_Exception. That I know&#8230; The thing is that I though the $e variable would be the instance of the Validation Class in the model. My question is how can attach the error messages?Error:ErrorException [ Fatal Error ]: Call to undefined method Validation_Exception::errors()Controller:208 \/\/ redirect to the user account 209 $this-&gt;request-&gt;redirect(&#8216;user\/profi<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/18b8a4a6f39d5603e5fe0ff75f48dd12?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nrandom<br \/>\nphp kohana-3 kohana-orm<br \/>\nI&#8217;m trying to connect to my database in Kohana 3 but it&#8217;s not connecting. This is the query I&#8217;m trying to run from one of my modules:$results = DB::select()-&gt;from(&#8216;users&#8217;)-&gt;where(&#8216;verified&#8217;, &#8216;=&#8217;, 0)-&gt;execute();Here&#8217;s the dump of the error: ErrorException [ Notice ]: Undefined property: Config_File::$default MODPATH\\database\\classes\\kohana\\database.php [67] if($config === NULL) {\/\/ Load the configuration for this database\/\/ echo &#8220;&lt;pre&gt;&#8221;;\/\/die(print_r(unserialize(Kohana::config(&#8216;dat<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/MGhY2.png?s=32&amp;g=1\" \/><br \/>\nhakre<br \/>\nphp form-validation try-catch kohana-3<br \/>\nHere is the code:try {$result = Model_User::update_user($_POST);\/\/ message: save successMessage::add(&#8216;success&#8217;, __(&#8216;Values saved.&#8217;));\/\/ redirect and exit$this-&gt;request-&gt;redirect(&#8216;user\/profile&#8217;);return;} catch (Exception $e) {\/\/ Get errors for display in view\/\/ Note how the first param is the path to the message file (e.g. \/messages\/register.php)Message::add(&#8216;error&#8217;, __(&#8216;Error: Values could not be saved.&#8217;));$errors = $e-&gt;errors(&#8216;register&#8217;);$errors = array_merge($errors, (isset($errors[&#8216;_<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/503db877725f86601b15c021b221f2e0?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nr4.<br \/>\nkohana smarty kohana-3 smarty3<br \/>\nI&#8217;m learning Kohana 3.2.0 together with KSmarty for Kohana 3. I&#8217;d like to write an anchor on the page like this:&lt;a href=&#8221;http:\/\/www.mysite.cz\/page\/list&#8221;&gt;Page list&lt;\/a&gt;I can build the url in the controller and pass it to Smarty as a variable but. Is there a way to build the anchor or URL in Smarty template (including &#8220;http:\/\/www.mysite.cz&#8221; part)?If it is not possible to build the anchor. Is it at least possible to build full URL?The Reason: I have a main template which includes another<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/dc645aca3d44234da5e2ed52594d4e34?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAdamB<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/fa861a05f375fc325202d9bcadfda50e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser342111223<br \/>\nobject orm kohana kohana-3<br \/>\nI have an object in a controller&#8217;s method:$post = ORM::factory(&#8216;post&#8217;, array(&#8216;slug&#8217; =&gt; $slug); that is sent to the view:$this-&gt;template-&gt;content = View::factory(&#8216;view&#8217;)-&gt;bind(&#8216;post&#8217;, $post);I&#8217;ve created 1-n relation between post and comments. So good so far.The main issue is: how should I pass post comments to the view? Currently I&#8217;m getting them in the view ($post-&gt;comments-&gt;find_all()) but I don&#8217;t feel it&#8217;s the best method (and not matching MVC standards in my humble opinion<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e96a421d76c1fc107a5d291c6999b2ef?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nalex<br \/>\nphp email kohana kohana-3 swiftmailer<br \/>\nMy current code is this$swift = email::connect();$swift-&gt;setSubject(&#8216;hello&#8217;)-&gt;setFrom(array(&#8216;alex@example.com.au&#8217; =&gt; &#8216;Alex&#8217;))-&gt;setTo(array(&#8216;alex@example.com.au&#8217; =&gt; &#8216;Alex&#8217;))-&gt;setBody(&#8216;hello&#8217;) -&gt;attach(Swift_Attachment::fromPath(DOCROOT . &#8216;assets\/attachments\/instructions.pdf&#8217;));$swift-&gt;send();The email::connect() returns an instance of SwiftMailer.As per these docs, it would seem that it should work.However, I get an errorFatal error: Call to undefined method Swift_Mailer:<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b3e7c8f08aa03235dc9687e17cea8a6e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser557108<br \/>\nkohana kohana-3<br \/>\nrowanparkerhttps:\/\/github.com\/rowanparker\/kohana-3-paypalI really need this module but I can not use it because it gives me this error:Call to undefined method PayPal_ExpressCheckout::SetExpressCheckout()NOTE: I did everything as in the example on GitHub.shadowhandhttps:\/\/github.com\/shadowhand\/paypalI get the same error with this module.Can someone help me on this? PLEASE!Thank you!<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/434d6ad623da43d14afbdefb9c0291c4?s=128&amp;d=identicon&amp;r=PG\" \/><br \/>\nJakub Hampl<br \/>\nkohana-3 hmvc<br \/>\nI followed the example http:\/\/www.dealtaker.com\/blog\/2010\/02\/25\/kohana-php-3-0-ko3-tutorial-part-5\/I get the following error:ErrorException [ Notice ]: Undefined property:Response::$response. APPPATH\\views\\pages\\hmvc.php [ 2 ].I don&#8217;t know how to fix it. Can you offer any suggestions?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/05cc587fa3108977443637f5cfdb4170?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBob0101<br \/>\nkohana kohana-3 kohana-orm kohana-auth<br \/>\nI&#8217;m using ORM Auth module and it&#8217;s difficult to figure out how to do it. I&#8217;ve tried this case:$user = ORM::factory(&#8216;user&#8217;, $id); $user-&gt;roles-&gt;delete_all();And got error ErrorException [ Fatal Error ]: Call to undefined method Database_Query_Builder_Delete::join()However $user-&gt;roles-&gt;find_all(); gives me exactly what i want.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/59518a0cf1680a269d55db5c480252b3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nHaradzieniec<br \/>\nsession action kohana session-variables kohana-3<br \/>\nI have Session::$default=&#8217;database&#8217;; $session=Session::instance(); and $session-&gt;id() displays session&#8217;s value now. The value is stored in the sessions table as well. Everything seems to work fine.My question is: how to check if session exists in another action. The $_SESSION array is undefined.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e96a421d76c1fc107a5d291c6999b2ef?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nalex<br \/>\nphp cron kohana kohana-3<br \/>\nI&#8217;ve set up a CRON to call a URL in Kohana 3.php \/home\/user\/public_html\/index.php my\/route\/in\/bootstrap.phpIt seems to access the URL fine. However, I have received this error (send back in an email that my host sends per CRON)Undefined index: HTTP_HOST SYSPATH\/classes\/kohana\/url.php [ 40 ]Source of url.phpWhich is in a Kohana system file. Is this because the CRON job is not sending HTTP headers?How would I fix this and get it to work (hopefully without hacking the core files).Or am I doing the<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/266e0a22f9e15bf90dddb1571640e88e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nChaoticLoki<br \/>\nkohana kohana-3<br \/>\nThis is the first time I have received this error, I have used a local server and my own personal hosting provider, this error only pops up on our production server.error:Fatal error: Undefined class constant &#8216;Log::EMERGENCY&#8217; in {Kohana Directory}\\system\\classes\\Kohana\\Kohana\\Exception.php on line 140Does anyone have any experience with this?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d792df8d71cdd919daf59ef2fec048bf?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKemo<br \/>\nphp orm kohana kohana-3<br \/>\nI&#8217;ve now a Problem with the newest Version of KohanaPHP (kohanaphp.com).After I&#8217;ve registered me and logged in into my test page, some minutes later, there is now the error:ErrorException [ Notice ]: Undefined index: idMODPATH\/orm\/classes\/kohana\/orm.php [ 1316 ] 1311 * 1312 * @return mixed primary key 1313 *\/ 1314 public function pk() 1315 { 1316 return $this-&gt;_object[$this-&gt;_primary_key]; 1317 } 1318 1319 \/** 1320 * Returns whether or not primary key is empty 1321 *I&#8217;ve<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/MGhY2.png?s=32&amp;g=1\" \/><br \/>\nhakre<br \/>\nphp orm kohana-3 php-errors<br \/>\nI&#8217;m trying to add an ORM object to another one (one to many relationship) in Kohana:$item = $cart-&gt;cartitems-&gt;where(&#8216;productid&#8217;, &#8216;=&#8217;, $product-&gt;id);\/\/if($item == null)\/\/This apparently doesn&#8217;t work in Kohana, it returns an object, even if not loaded, using the following:if (!$item-&gt;loaded()) {$item = new Model_Cartitem();$item-&gt;productid = $product-&gt;id;$item-&gt;quantity = 1; \/\/TODO: Change to incrementation$item-&gt;totalprice = $product-&gt;price; \/\/TODO: Change to incrementa<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b1fd377d0fc4c62ca3e89af3033c53f1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1715545<br \/>\nkohana-3<br \/>\nI&#8217;m using Kohana 3.3.0 and i have a controller which is supposed to save blog articles to a database then redirect to the homepage, my code is as follows:-class Controller_Article extends Controller {const INDEX_PAGE = &#8216;index.php\/article&#8217;;public function action_post() {$article_id = $this-&gt;request-&gt;param(&#8216;id&#8217;); $article = new Model_Article($article_id); $article-&gt;values($_POST); \/\/ populate $article object from $_POST array $article-&gt;save(); \/\/ saves article to database$this-&gt;requ<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a887c3de7f5051c9d0d88a5f7c04287d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAdam Wagner<br \/>\nphp orm kohana kohana-3<br \/>\nI posted this on official forum but with no result.I am getting Undefined index enrollment error when trying to save data.My pivot model:class Model_Enrollment extends ORM {protected $_belongs_to = array(&#8216;page&#8217; =&gt; array(), &#8216;menugroup&#8217; =&gt; array());}Model_Pageprotected $_has_many = array(&#8216;templates&#8217; =&gt; array(), &#8216;menugroups&#8217; =&gt; array(&#8216;through&#8217; =&gt; &#8216;enrollment&#8217;));Model_Menugroupprotected $_has_many = array(&#8216;menuitems&#8217; =&gt; array(), &#8216;pages&#8217; =&gt; array(&#8216;through&#8217; =&gt; &#8216;enrollment&#8217;));<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e7dd4f7fc45e4eef3bb8284724206a37?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSadaf Siddiqui<br \/>\nmysql kohana kohana-3 kohana-orm<br \/>\ni m bit confuse how to convert my query :&gt; SELECT COUNT(`id`) AS `total_logs`, `userlog`.* FROM `user_log` AS &gt; `userlog` WHERE `user_id` = &#8217;31&#8217; AND date(`date_created`) = &gt; &#8216;2012-04-30&#8217;to Kohana 3.1 ORM? currently i m using :&gt; $isLoged = ORM::factory(&#8216;Userlog&#8217;)-&gt;select(array(&#8216;COUNT(&#8220;id&#8221;)&#8217;, &gt; &#8216;total_logs&#8217;)) &gt; -&gt;where(&#8216;user_id&#8217;, &#8216;=&#8217;, $user-&gt;id) &gt; -&gt;and_where(&#8216;Date(date_created)&#8217;, &#8216;=&#8217;, date(&#8216;Y-m-d&#8217;)) &gt; -&gt;find_a<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/29d8cebbe623530bd4f33818cdf7ee8a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKenneth<br \/>\nkohana kohana-3<br \/>\nI have a products model with 2 many to many relationships defined. protected $_has_many = array ( &#8216;foodcats&#8217; =&gt; array(&#8216;model&#8217; =&gt; &#8216;foodcat&#8217;, &#8216;through&#8217; =&gt; &#8216;products_foodcats&#8217;), &#8216;foodgroups&#8217; =&gt; array(&#8216;model&#8217; =&gt; &#8216;foodgroup&#8217;, &#8216;through&#8217; =&gt; &#8216;products_foodgroups&#8217;) )I need a query where I find products with a given foodcat id and a given foodgroup name. I know I can do the following to get all products with a given foodcat id$foodcat = ORM::factory(&#8216;foodcat&#8217;,$foodCatId); $products = $<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/806a48606025fcee2b1804bf8cf1763b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAmit<br \/>\nphp kohana imap kohana-3 php-fpm<br \/>\nThe following error gets logged in php-fpm log at random times.[25-Jan-2013 12:07:57 GMT] PHP Fatal error: Uncaught exception &#8216;ErrorException&#8217; with message &#8216;Unknown: Retrying PLAIN authentication after [UNAVAILABLE] LOGIN failure. Server error&#8211;please try again after some time. Err (errflg=1)&#8217; in Unknown:0 Stack trace: #0 [internal function]: Kohana_Core::error_handler(8, &#8216;Unknown: Retryi&#8230;&#8217;, &#8216;Unknown&#8217;, 0, Array) #1 {main} thrown in Unknown on line 0The php-fpm process\/thread handling this par<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-11-26 01:41:28. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Karem php kohana kohana-3 I have done this simple catch:try {echo Request::factory()-&gt;execute()-&gt;send_headers()-&gt;body(); }catch(Exception $e) {echo &#8216;You tried to reach: ?&#8217;; }in the bottom of my bootstrap.php and removed echo Request::factory()-&gt;execute()-&gt;send_headers()-&gt;body();From the root index.php. This works fine, and the output &#8220;You tried to reach ?&#8221; appears when there&#8217;s a request of something unhandled.I wish to mention [&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-1507","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1507","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=1507"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1507\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}