{"id":6393,"date":"2014-04-17T01:15:44","date_gmt":"2014-04-17T01:15:44","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/17\/problem-about-str-replace-collection-of-common-programming-errors\/"},"modified":"2014-04-17T01:15:44","modified_gmt":"2014-04-17T01:15:44","slug":"problem-about-str-replace-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/17\/problem-about-str-replace-collection-of-common-programming-errors\/","title":{"rendered":"problem about str-replace-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f26727beba01cfc9c65e469d5ef94abf?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1860536<br \/>\nphp function preg-replace str-replace<br \/>\nI try change characters by functions&lt;?php $string = &#8220;Hi everybody people [gal~images\/articles~100~100~4] here other imagen [gal~images\/products~100~100~3]&#8221;;$regex = &#8220;\/\\[(.*?)\\]\/&#8221;; preg_match_all($regex, $string, $matches);for($i=0; $i&lt;count($matches[1]);$i++) { $match = $matches[1][$i]; $array = explode(&#8216;~&#8217;, $match);\/\/$newValuet=&#8221;gal(&#8220;&#8221;.$array[1].&#8221;&#8221;,&#8221;&#8221;.$array[2].&#8221;&#8221;,&#8221;&#8221;.$array[3].&#8221;&#8221;,&#8221;&#8221;.$array[4].&#8221;&#8221;)&#8221;;$newValue=&#8221;gal(&#8220;.$array[1].&#8221;,&#8221;.$array[2].&#8221;,&#8221;.$array[3].&#8221;,&#8221;.$array[4].&#8221;)&#8221;;$string = str_repl<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/906316e01d72889e4c6a9d1d92c77f46?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nClay Smith<br \/>\nphp str-replace<br \/>\nI am getting an error on the str_replace line. I am trying to replace the $_SESSION variable with the constant of it. What am i missing?$resume = fopen(&#8216;creative\/&#8217;.$_SESSION[&#8216;user&#8217;].&#8217;\/resume.php&#8217;, &#8216;r&#8217;) or die(&#8216;error when opening the file&#8217;); $fp = fopen(&#8216;creative\/&#8217;.$_SESSION[&#8216;user&#8217;].&#8217;\/resume2.php&#8217;, &#8216;w&#8217;); $creative = $_SESSION[&#8216;creative&#8217;]; $user = $_SESSION[&#8216;user&#8217;]; if ($resume){ while (($buffer = fgets($resume, 4096)) !== false) {str_replace(&#8220;\\$_SESSION[creative]&#8221;, $creative, $buffer);str_replace<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9dd7a935dbeec0b548ca31b326133245?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nuser3185672<br \/>\njavascript php xmlhttprequest youtube-api str-replace<br \/>\nI have this PHP code, which try to get the description of a YouTube channel, and run it in a JS file (xhr_object), and I&#8217;ve got this error : Unexpected token ILLEGAL. But I found the problem : $channel_descr contains a simple quote in somes cases, which break the JS code. I&#8217;ve already tried to use str_replace() but it doesn&#8217;t change anything..$json = file_get_contents(&#8220;&#8230;?alt=json&amp;part=snippet&#8221;); $data = json_decode($json, true);$channel_descr = $data[&#8216;entry&#8217;][&#8216;content&#8217;][&#8216;$t&#8217;]; $channel_des<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d4f658f89a7df51ffee179ebf4657328?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nsparkle<br \/>\nphp str-replace<br \/>\nString (JSON): {&#8220;title&#8221;:&#8221;\\&#8221;Copper\\&#8221;&#8221;}I have tried$output = str_replace(&#8216;\\\\&#8221;&#8216;, &#8220;&#8221;, $output);but I got{&#8220;title&#8221;:&#8221;&#8221; Copper&#8221;&#8221;}What I expect{&#8220;title&#8221;:&#8221;Copper&#8221;}<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b655006566208390a086dff5158a5d9c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDevatoTech<br \/>\nphp str-replace<br \/>\n$embedCode = &lt;&lt;&lt;EOF getApplicationContent(&#8216;video&#8217;,&#8217;player&#8217;,array(&#8216;id&#8217; =&gt; $iFileId, &#8216;user&#8217; =&gt; $this-&gt;iViewer, &#8216;password&#8217; =&gt; clear_xss($_COOKIE[&#8216;memberPassword&#8217;])),true) EOF; $name = str_replace($embedCode,&#8221;test&#8221;,$content);I&#8217;m trying to replace a section of code with another piece of code. I can do it with smaller strings but once I added the larger strings to $embedCode, it throw an &#8220;unexpected T_ENCAPSED_AND_WHITESPACE&#8221; error<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a8defe14b1c80bc2bd59a1fab3848cfb?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nbinki<br \/>\nphp arrays str-replace<br \/>\nphp &gt; echo str_replace(array(&#8216;0&#8217;, &#8216;1&#8217;, &#8216;2&#8217;, &#8216;3&#8217;, &#8216;4&#8217;, &#8216;5&#8217;, &#8216;6&#8217;, &#8216;7&#8217;, &#8216;8&#8217;, &#8216;9&#8217;, &#8216;a&#8217;, &#8216;b&#8217;, &#8216;c&#8217;, &#8216;d&#8217;, &#8216;e&#8217;, &#8216;f&#8217;),array(&#8216;a&#8217;, &#8216;b&#8217;, &#8216;c&#8217;, &#8216;d&#8217;, &#8216;e&#8217;, &#8216;f&#8217;, &#8216;g&#8217;, &#8216;h&#8217;, &#8216;i&#8217;, &#8216;j&#8217;, &#8216;k&#8217;, &#8216;l&#8217;, &#8216;m&#8217;, &#8216;n&#8217;, &#8216;o&#8217;, &#8216;p&#8217;),&#8217;01234567890abcdef&#8217;) . PHP_EOL; klmnopghijkklmnopI expected this str_replace() call to give me something like abcdefghijklmnop. But it seems that the numeric strings in my search array are being treated as something other than strings.I am ultimately just going for the functionality of tr(1) (e.g., tr<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/adb0cdf5e7d7bb2bb566b7acf005f2f4?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nIsaac Boda<br \/>\nphp str-replace<br \/>\n&lt;?php $date = date(&#8216;n\/j\/Y&#8217;); $lines = file(&#8216;..\/lines.txt&#8217;);foreach($lines as $line)$line = str_replace($date, &#8221;, $line);echo $line; ?&gt;Why will the above str_replace work for me, no matter how I re-arrange it I get this error:Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in File line 20 ($line = str_replace &#8230;.)<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/Jh3mC.jpg?s=32&amp;g=1\" \/><br \/>\nHamZa<br \/>\nphp str-replace<br \/>\nI have to alter two things in this example text:example_1,example_2I need to appear this way: example 1, example 2So I need to replace the &#8220;_&#8221; with a space &#8221; &#8221; as well as the &#8220;,&#8221; to &#8220;, &#8221; with a space. Currently I have this code below and it replaces the underscore fine, but I don&#8217;t know how to also integrate the &#8220;,&#8221; part in this code. str_replace(&#8216;_&#8217;, &#8216; &#8216;, $test)Would it be something like this:str_replace((&#8216;_&#8217;, &#8216; &#8216;,),(&#8216;,&#8217;, &#8216; &#8216;), $test)<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a3456d5199075a698c2247c079733eb3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njoelrnorris<br \/>\nphp syntax str-replace autoloader psr-0<br \/>\nI&#8217;m dabbling w\/ a &#8216;lightweight&#8217; PSR-0 AutoLoader for a WordPress Plugin, it runs fine on my local dev server, but when i push it up to one of WPEngine&#8217;s staging servers, i get this:Parse error: syntax error, unexpected &#8216;[&#8216;, expecting &#8216;)&#8217; in \/nas\/wp\/www\/staging\/ahsodesigns\/wp-content\/plugins\/AhSoFunctionality\/start.php on line 30here&#8217;s the AutoLoader, \/\/ lightweight psr-0 autoloader spl_autoload_register(function ($classname) {\/\/ make sure we&#8217;re only loading classes from our directory,if (preg_m<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6a17de90749f7777d0dbaeeaef51f076?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nFuxi<br \/>\nphp str-replace<br \/>\ni&#8217;m having the following php code:$html = &#8216;&lt;p&gt;[tag]&lt;\/p&gt;&#8217;;$test = &#8220;&lt;a href=&#8217;#&#8217;&gt;&lt;div class=&#8217;test&#8217;&gt;button&lt;\/div&gt;&lt;\/a&gt;&#8221;;$html = str_replace(&#8220;[tag]&#8221;, $test, $html);when using echo htmlentities($html) i&#8217;m getting the expected result:&lt;p&gt;&lt;a href=&#8217;#&#8217;&gt;&lt;div class=&#8217;test&#8217;&gt;button&lt;\/div&gt;&lt;\/a&gt;&lt;\/p&gt; but when echoing the $html, firefox renders it like this:&lt;p&gt; &lt;a href=&#8221;#&#8221;&gt;&lt;\/a&gt; &lt;\/p&gt; &lt;div class=&#8221;test&#8221;&gt; &lt;p&gt;&lt;\/p&amp;g<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/291ddc5d555c7fbb880332f3665c87b4?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nHomunculus Reticulli<br \/>\nphp str-replace<br \/>\nI am writing a trivial templating system for running dynamic queries on a server.I originally had the following code in my templating class:$output = file_get_contents($this-&gt;file);foreach ($this-&gt;values as $key =&gt; $value) {$tagToReplace = &#8220;{$key}&#8221;;$output = str_replace($tagToReplace, $value, $output); }I notice that the strings were not being replaced as I expected (the &#8216;{}&#8217; characters were still left in the output) .I then changed the &#8216;offending&#8217; line to:$tagToReplace = &#8216;{&#8216;.&#8221;$key&#8221;.&#8217;}&#8217;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d3eba7f8f9195a30d49bdbbdd594b1e4?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nlserni<br \/>\nphp arrays str-replace<br \/>\nI&#8217;ve the following function and using str_replace gives an unexpected resultfunction repo($text) {$search = array(&#8220;0&#8243;,&#8221;1&#8243;,&#8221;2&#8243;,&#8221;3&#8243;,&#8221;4&#8243;,&#8221;5&#8243;,&#8221;6&#8243;,&#8221;7&#8243;,&#8221;8&#8243;,&#8221;9&#8221;);$replace = array(&#8220;z30&#8243;,&#8221;z31&#8243;,&#8221;z32&#8243;,&#8221;z33&#8243;,&#8221;z34&#8243;,&#8221;z35&#8243;,&#8221;z36&#8243;,&#8221;z37&#8243;,&#8221;z38&#8243;,&#8221;z99&#8221;);$text = str_replace($search,$replace,$text);return $text; }echo repo(&#8216;0&#8217;);The expected answer isz30and instead I getzz330What am I doing wrong?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6b409098b485a41cb7b542898c794dff?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nChristian<br \/>\nphp str-replace<br \/>\nI am working on a file that should replace a variable in another file. So far I tried:$File = &#8220;$dir\/submit.php&#8221;; $fh = fopen($File, &#8216;r&#8217;) or die(&#8220;Couldn&#8217;t edit the Config-file. Please report to admin.&#8221;); $chosendb = str_replace(&#8216;$chosendb = comments;&#8217;,&#8217;$chosendb = wuhuws_$dir;&#8217;,&#8217;$chosendb&#8217;); fclose($fh);$dir is a user input. comments is a table in the database that need to replaced with the prefix_$dir.What do I do wrong?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/VtqO8.jpg?s=32&amp;g=1\" \/><br \/>\nKaroumpas<br \/>\nphp str-replace<br \/>\nThis gives me error$illegal = array(&#8220;&amp;&#8221;, &#8220;&lt;&#8220;, &#8220;&gt;&#8221;, &#8220;\\&#8221;); $legal = array(&#8220;&amp;amp;&#8221;, &#8220;&amp;lt;&#8221;, &#8220;&amp;gt;&#8221;, &#8220;&amp;quot;&#8221;);$row[&#8216;name&#8217;] = str_replace($illegal, $legal, $row[&#8216;name&#8217;]);this is the main part of the code$xml_output = &#8220;&lt;?xml version=\\&#8221;1.0\\&#8221;?&gt;\\n&#8221;; $xml_output .= &#8220;&lt;products&gt;\\n&#8221;;for($x = 0 ; $x &lt; mysql_num_rows($resultID) ; $x++){$row = mysql_fetch_assoc($resultID);$xml_output .= &#8220;\\t&lt;product&gt;\\n&#8221;;$xml_output .= &#8220;\\t\\t&lt;id&gt;&#8221; . $row[&#8216;id&#8217;] . &#8220;&lt;\/id&gt;\\n&#8221;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9e6ea3611e992d2f17146fe2b13b2080?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nsea_1987<br \/>\nphp regex preg-replace str-replace ereg<br \/>\nI have a php system that uploads images and suffixes their files names with -med -slider etc dependant on what size the image is. However only one of the image filenames get saved to the database, so when I want to display an image and call the filename from the database, I get something like, filename-med.jpg how can I change that so I can replace -med with -slider? is this possible? I am no good at regex and I assume I would have to use that?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/cb791c8f12e687d3538677321cdc8d2a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDaniel<br \/>\nphp str-replace htmlspecialchars<br \/>\nI have this code to get the HTML source of a website\/file and replace some parts of its content. Later I print the modified result &lt;?php \/\/ Get a file into an array. In this example we&#8217;ll go through HTTP to get \/\/ the HTML source of a URL. $lines = file($link);\/\/ Loop through our array, show HTML source as HTML source; and line numbers too. foreach ($lines as $line_num =&gt; $line) {} ?&gt; &lt;?php $old = array(&#8220;document.write(&#8220;, &#8220;&#8216;&#8221;, &#8220;)&#8221;, &#8220;&amp;lt;a href=&amp;quot;&#8221;, &#8220;&amp;lt;\/a&amp;gt;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4f7e8e1c71f327206af087394ba0ce30?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nyckart<br \/>\njquery regex replace template-engine str-replace<br \/>\nI&#8217;ve written some days ago a simple templating function, problem now is that whitespace will kill the tag. So when I type something like this: &lt;div id=&#8221;str&#8221;&gt;#{my} #{name} #{is} #{#{a}}&lt;\/div&gt; it works well, however the following does not: &lt;div id=&#8221;str&#8221;&gt;#{my} #{name} #{is} #{ #{a} }&lt;\/div&gt;.Here&#8217;s what I&#8217;ve done so far:$.tmpl = function(str, obj) {do {var beforeReplace = str;for(var key in obj) {str = str.replace(&#8220;#{&#8221; + key + &#8220;}&#8221;, obj[key]);}var afterReplace = str !== beforeR<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2dbb5fb898efc8bbb286fb6454357276?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser841852<br \/>\nstring matlab str-replace numerical equation-solving<br \/>\nHello I am new to MATLAB , I wanted to know how can I make my string into function . I want to access the function as a string from user in standard Matlab format (e.g exp(-10*X)-sin(pi*X)-2*tanh(X) ) Here X is the variable. Then I want to replace &#8216;X&#8217; with &#8216;low&#8217; and &#8216;high&#8217; variables to calculate value of function at these limits. I have used &#8216;strrep&#8217; for this purpose. I am getting the following errors 1)Undefined function or variable &#8216;X&#8217;. 2) I cannot see whether &#8216;X&#8217; was replaced with &#8216;low&#8217; and &#8216;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f4977da71a50a0b1b2b37ad19849a4c6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nalladeen<br \/>\nphp templates str-replace<br \/>\nI have one array for data$data = array(title=&gt;&#8217;some title&#8217;, date=&gt;1350498600, story=&gt;&#8217;Some story&#8217;);I have a template$template = &#8220;#title#, &lt;br&gt;#date(d)#&lt;br&gt; #date(m)#&lt;br&gt;#date(Y)#&lt;br&gt; #story#&#8221;; All i want is to fit data into template and i know that can be done by str_replace but my problem is the date format. date format is coming from the template not from the data, in data date is stored as php date. yesterday i tried to ask the same question but i think my que<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/fd6ef21a6ff7eb64906ff7c1c33787bd?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGabriel Meono<br \/>\nphp str-replace<br \/>\nI&#8217;m working with a CMS spanish website, and I&#8217;m trying to replace the months to spanish.This is how it looks like with the date function date(&#8220;F j, Y, g:i a&#8221;):August 24, 2011, 1:47 pmNow I want it to look like this:Agosto 24, 2011, 1:47 pmUsing an example from the Php Documentation I made this:$p[&#8216;time&#8217;] = date(&#8220;F j, Y, g:i a&#8221;);$time_english = $p[&#8216;time&#8217;];$search = $time_english(&#8216;August&#8217;, &#8216;September&#8217;, &#8216;October&#8217;, &#8216;November&#8217;, &#8216;December&#8217;);$replace = $times_spanish(&#8216;Agosto&#8217;, &#8216;Septiembre&#8217;, &#8216;Octubre&#8217;,<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/db9bb6f265986f00b76e767170d5a8a6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1566521<br \/>\narrays fopen str-replace explode<br \/>\nI am having trouble understanding this. I&#8217;ve read many other posts here and elsewhere but I just don&#8217;t get it. I think maybe because I have a hard time visualizing other&#8217;s examples. Could someone please give me some insight as to what I am doing wrong here.1. $data = file_get_contents(&#8220;rawtext.txt&#8221;); 2. 3. $kList[0] = &#8220;uszips.txt&#8221;; 4. $kList[1] = &#8220;cities.txt&#8221;; 5. $kList[2] = &#8220;states.txt&#8221;; 6. 7. foreach($kList as $replacelist) 8. { 9. 10. 11. $fp = @fopen($kList, &#8216;r&#8217;); 12. if ($fp) { 13.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1b2b5d5007262ea3f9e21ab5b15f8b75?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ncasperOne<br \/>\nphp asp-classic replace str-replace<br \/>\nHi I want to do a simple replace using str_replace, like Classic ASP.$strName=&#8221;Blush \/ Black&#8221;; $strName=$strName(str_replace(&#8220;\/&#8221;,&#8221;&amp;&#8221;));It should read, when echo:Blush &amp; Black. I get an Fatal error: Call to undefined function<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>user1860536 php function preg-replace str-replace I try change characters by functions&lt;?php $string = &#8220;Hi everybody people [gal~images\/articles~100~100~4] here other imagen [gal~images\/products~100~100~3]&#8221;;$regex = &#8220;\/\\[(.*?)\\]\/&#8221;; preg_match_all($regex, $string, $matches);for($i=0; $i&lt;count($matches[1]);$i++) { $match = $matches[1][$i]; $array = explode(&#8216;~&#8217;, $match);\/\/$newValuet=&#8221;gal(&#8220;&#8221;.$array[1].&#8221;&#8221;,&#8221;&#8221;.$array[2].&#8221;&#8221;,&#8221;&#8221;.$array[3].&#8221;&#8221;,&#8221;&#8221;.$array[4].&#8221;&#8221;)&#8221;;$newValue=&#8221;gal(&#8220;.$array[1].&#8221;,&#8221;.$array[2].&#8221;,&#8221;.$array[3].&#8221;,&#8221;.$array[4].&#8221;)&#8221;;$string = str_repl Clay Smith php str-replace I am getting an error on the str_replace line. I am trying to replace [&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-6393","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6393","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=6393"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6393\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}