{"id":7421,"date":"2014-06-12T03:16:22","date_gmt":"2014-06-12T03:16:22","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/06\/12\/parse-error-syntax-error-unexpected-end-in-home-disco-public_html-wp-includes-option-php-on-line-1231-closed-collection-of-common-programming-errors\/"},"modified":"2014-06-12T03:16:22","modified_gmt":"2014-06-12T03:16:22","slug":"parse-error-syntax-error-unexpected-end-in-home-disco-public_html-wp-includes-option-php-on-line-1231-closed-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/06\/12\/parse-error-syntax-error-unexpected-end-in-home-disco-public_html-wp-includes-option-php-on-line-1231-closed-collection-of-common-programming-errors\/","title":{"rendered":"Parse error: syntax error, unexpected $end in \/home\/disco\/public_html\/wp-includes\/option.php on line 1231 [closed]-Collection of common programming errors"},"content":{"rendered":"<p>Here is my code in option.php, the error is in the last line<\/p>\n<pre><code>if ( $result ) {\n\n    \/**\n     * Fires after the value of a specific site option has been successfully updated.\n     *\n     * The dynamic portion of the hook name, $option, refers to the option name.\n     *\n     * @since 2.9.0 As \"update_site_option_{$key}\"\n     * @since 3.0.0\n     *\n     * @param string $option    Name of site option.\n     * @param mixed  $value     Current value of site option.\n     * @param mixed  $old_value Old value of site option.\n     *\/\n    do_action( \"update_site_option_{$option}\", $option, $value, $old_value );\n\n    \/**\n     * Fires after the value of a site option has been successfully updated.\n     *\n     * @since 3.0.0\n     *\n     * @param string $option    Name \n<\/code><\/pre>\n<p>(I got the error here in this line)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is my code in option.php, the error is in the last line if ( $result ) { \/** * Fires after the value of a specific site option has been successfully updated. * * The dynamic portion of the hook name, $option, refers to the option name. * * @since 2.9.0 As &#8220;update_site_option_{$key}&#8221; * [&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-7421","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7421","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=7421"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7421\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}