{"id":25218,"date":"2018-03-09T00:00:00","date_gmt":"2018-03-08T18:30:00","guid":{"rendered":"https:\/\/git-staging.wpastra.com\/?post_type=docs&#038;p=25218"},"modified":"2022-03-28T16:53:03","modified_gmt":"2022-03-28T11:23:03","slug":"fixing-parse-error-syntax-error-unexpected-t-function","status":"publish","type":"docs","link":"https:\/\/git-staging.wpastra.com\/es\/docs\/fixing-parse-error-syntax-error-unexpected-t-function\/","title":{"rendered":"Correcci\u00f3n para - Parse error: syntax error, unexpected T_FUNCTION"},"content":{"rendered":"<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2018\/03\/PHP-Parse-Error.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1700\" height=\"148\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2018\/03\/PHP-Parse-Error.png\" alt=\"PHP Parse Error\" class=\"wp-image-25219\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2018\/03\/PHP-Parse-Error.png 1700w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2018\/03\/PHP-Parse-Error-300x26.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2018\/03\/PHP-Parse-Error-768x67.png 768w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2018\/03\/PHP-Parse-Error-1024x89.png 1024w\" sizes=\"(max-width: 1700px) 100vw, 1700px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Este error se ve generalmente en los servidores que tienen una versi\u00f3n obsoleta de PHP que se ejecuta en su sitio.<\/p>\n\n\n\n<p>Todos conocemos la importancia de PHP en el n\u00facleo de WordPress. Es la tecnolog\u00eda de codificaci\u00f3n fundamental utilizada para el CMS.<\/p>\n\n\n\n<p>Las versiones de PHP inferiores a la 5.5 han sido declaradas no compatibles por el propio PHP y han pasado a \"<a href=\"https:\/\/www.php.net\/eol.php\/\">Final de la vida<\/a>\". Actualizar a la \u00faltima versi\u00f3n de PHP es esencial para garantizar que su sitio sea seguro y compatible con todas las versiones y funciones de WordPress.<\/p>\n\n\n\n<p>Para actualizar la versi\u00f3n de PHP de su sitio web, s\u00f3lo tiene que ponerse en contacto con su empresa de alojamiento y estar\u00e1n encantados de hacerlo por usted.<\/p>\n\n\n\n<p>M\u00e1s informaci\u00f3n <a href=\"https:\/\/wordpress.org\/support\/update-php\/\">\u00bfPor qu\u00e9 es importante actualizar PHP?<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Este error se ve generalmente en los servidores que tienen una versi\u00f3n obsoleta de PHP que se ejecuta en su sitio. Todos conocemos la importancia de PHP en el n\u00facleo de WordPress. Es la tecnolog\u00eda de codificaci\u00f3n fundamental utilizada para el CMS. Las versiones de PHP por debajo de la 5.5 son declaradas no soportadas por el propio PHP y han llegado al \"Fin de Vida\". [...]<\/p>","protected":false},"author":20,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"docs_category":[1598],"docs_tag":[],"class_list":{"0":"post-25218","1":"docs","2":"type-docs","3":"status-publish","5":"docs_category-troubleshooting"},"spectra_custom_meta":{"_yoast_wpseo_primary_docs_category":["1598"],"_wp_old_slug":["","fixing-parse-error-syntax-error-unexpected-t_function"],"_wp_page_template":["default"],"wpil_sync_report3":["1"],"wpil_links_inbound_internal_count":["0"],"wpil_links_inbound_internal_count_data":["a:0:{}"],"wpil_links_outbound_internal_count":["1"],"wpil_links_outbound_internal_count_data":["a:1:{i:0;a:9:{s:3:\"url\";s:78:\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2018\/03\/PHP-Parse-Error.png\";s:8:\"url_real\";s:78:\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2018\/03\/PHP-Parse-Error.png\";s:4:\"host\";s:11:\"wpastra.com\";s:9:\"host_real\";s:11:\"wpastra.com\";s:8:\"internal\";b:1;s:7:\"post_id\";i:0;s:6:\"anchor\";s:121:\"<img src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2018\/03\/PHP-Parse-Error.png\" alt=\"\" class=\"wp-image-25219\"\/>\";s:15:\"added_by_plugin\";b:0;s:10:\"post_title\";s:0:\"\";}}"],"wpil_links_outbound_external_count":["2"],"wpil_links_outbound_external_count_data":["a:2:{i:0;a:9:{s:3:\"url\";s:22:\"http:\/\/php.net\/eol.php\";s:8:\"url_real\";s:22:\"http:\/\/php.net\/eol.php\";s:4:\"host\";s:7:\"php.net\";s:9:\"host_real\";s:7:\"php.net\";s:8:\"internal\";b:0;s:7:\"post_id\";i:0;s:6:\"anchor\";s:11:\"End Of Life\";s:15:\"added_by_plugin\";b:0;s:10:\"post_title\";s:0:\"\";}i:1;a:9:{s:3:\"url\";s:42:\"https:\/\/wordpress.org\/support\/upgrade-php\/\";s:8:\"url_real\";s:42:\"https:\/\/wordpress.org\/support\/upgrade-php\/\";s:4:\"host\";s:13:\"wordpress.org\";s:9:\"host_real\";s:13:\"wordpress.org\";s:8:\"internal\";b:0;s:7:\"post_id\";i:0;s:6:\"anchor\";s:31:\"Why Upgrading PHP is important?\";s:15:\"added_by_plugin\";b:0;s:10:\"post_title\";s:0:\"\";}}"],"wpil_sync_report2_time":["2019-09-05T12:01:56+00:00"],"_edit_lock":["1648466585:77"],"_edit_last":["77"],"onesignal_meta_box_present":["1"],"onesignal_send_notification":[""],"site-sidebar-layout":["default"],"site-content-layout":["default"],"theme-transparent-header-meta":["default"],"_yoast_wpseo_content_score":["30"],"_ppc_meta_key":["a:11:{s:20:\"ppc_key5d92f85d42273\";s:60:\"Images &amp; Names Correctly. Title &amp; Alt Tags are Given\";s:8:\"ppc_key4\";s:15:\"Formatting Done\";s:8:\"ppc_key2\";s:23:\"Featured Image Assigned\";s:8:\"ppc_key3\";s:17:\"Category Selected\";s:8:\"ppc_key5\";s:15:\"Title is Catchy\";s:8:\"ppc_key6\";s:22:\"Social Images Assigned\";s:8:\"ppc_key7\";s:8:\"Done SEO\";s:8:\"ppc_key8\";s:28:\"Spelling and Grammar Checked\";s:20:\"ppc_key5ddf5ba19a347\";s:9:\"TOC Added\";s:20:\"ppc_key5ddf5b93dc6a6\";s:21:\"Affiliate Links Added\";s:20:\"ppc_key5ddf5c326920c\";s:59:\"Headings are in title-case and have appropriate heading tag\";}"],"tap_disable_autolinker":["no"],"tap_autolink_inside_heading":["global"],"tap_autolink_random_placement":["global"],"tap_post_autolinker_limit":["0"],"essb_pc_facebook":[""],"essb_pc_facebook_like":[""],"essb_pc_twitter":[""],"essb_pc_google":[""],"essb_pc_pinterest":[""],"essb_pc_linkedin":[""],"essb_pc_digg":[""],"essb_pc_del":[""],"essb_pc_stumbleupon":[""],"essb_pc_tumblr":[""],"essb_pc_vk":[""],"essb_pc_print":[""],"essb_pc_mail":[""],"essb_pc_flattr":[""],"essb_pc_reddit":[""],"essb_pc_buffer":[""],"essb_pc_love":[""],"essb_pc_weibo":[""],"essb_pc_pocket":[""],"essb_pc_xing":[""],"essb_pc_ok":[""],"essb_pc_mwp":[""],"essb_pc_more":[""],"essb_pc_whatsapp":[""],"essb_pc_meneame":[""],"essb_pc_blogger":[""],"essb_pc_amazon":[""],"essb_pc_yahoomail":[""],"essb_pc_gmail":[""],"essb_pc_aol":[""],"essb_pc_newsvine":[""],"essb_pc_hackernews":[""],"essb_pc_evernote":[""],"essb_pc_myspace":[""],"essb_pc_mailru":[""],"essb_pc_viadeo":[""],"essb_pc_line":[""],"essb_pc_flipboard":[""],"essb_pc_comments":[""],"essb_pc_yummly":[""],"essb_pc_sms":[""],"essb_pc_viber":[""],"essb_pc_telegram":[""],"essb_pc_subscribe":[""],"essb_pc_skype":[""],"essb_pc_messenger":[""],"essb_pc_kakaotalk":[""],"essb_pc_share":[""],"essb_pc_livejournal":[""],"essb_pc_yammer":[""],"essb_pc_meetedgar":[""],"essb_pc_fintel":[""],"essb_pc_mix":[""],"essb_pc_instapaper":[""],"essb_pc_copy":[""],"_ht_kb_post_views_count":["4"],"_ht_kb_usefulness":["0"],"_ht_article_order_1598":["25218"],"wp_last_modified_info":["March 28, 2022 @ 4:53 PM"],"wplmi_shortcode":["[lmt-post-modified-info]"],"views":["3428"],"helpful":["0"],"unhelpful":["2"],"redirects":["4"],"rank_math_primary_docs_category":["1598"],"rank_math_news_sitemap_robots":["index"],"rank_math_robots":["a:1:{i:0;s:5:\"index\";}"],"rank_math_analytic_object_id":["1183"],"rank_math_seo_score":["18"],"rank_math_internal_links_processed":["1"],"pfd_related_docs":[""],"rank_math_og_content_image":["a:2:{s:5:\"check\";s:32:\"841f2db37f6fc30cb6612887a66831bf\";s:6:\"images\";a:1:{i:0;i:25219;}}"],"_wpml_media_duplicate":["1"],"_trp_automatically_translated_slug_es_ES":["fixing-parse-error-syntax-error-unexpected-t-function"],"_uag_page_assets":["a:9:{s:3:\"css\";s:2495:\".wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape-top svg{width: calc( 100% + 1.3px );}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape.uagb-container__shape-top .uagb-container__shape-fill{fill: rgba(51,51,51,1);}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape-bottom svg{width: calc( 100% + 1.3px );}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape.uagb-container__shape-bottom .uagb-container__shape-fill{fill: rgba(51,51,51,1);}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__video-wrap video{opacity: 1;}.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{max-width: 100%;width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 1200px);max-width: var(--inner-content-custom-width);width: 100%;flex-direction: column;align-items: center;justify-content: center;flex-wrap: nowrap;row-gap: 0px;column-gap: 0px;}.wp-block-uagb-container.uagb-block-debf2792{box-shadow: 0px 0px   #00000070 ;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;overflow: visible;border-color: inherit;row-gap: 0px;column-gap: 0px;}@media only screen and (max-width: 976px) {.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 1024px);max-width: var(--inner-content-custom-width);width: 100%;}.wp-block-uagb-container.uagb-block-debf2792{padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;}}@media only screen and (max-width: 767px) {.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{max-width: 100%;width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 767px);max-width: var(--inner-content-custom-width);width: 100%;flex-wrap: wrap;}.wp-block-uagb-container.uagb-block-debf2792{padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;}}\";s:2:\"js\";s:0:\"\";s:18:\"current_block_list\";a:4:{i:0;s:10:\"core\/image\";i:1;s:14:\"core\/paragraph\";i:2;s:14:\"uagb\/container\";i:3;s:14:\"core\/shortcode\";}s:8:\"uag_flag\";b:1;s:11:\"uag_version\";s:10:\"1776541010\";s:6:\"gfonts\";a:0:{}s:10:\"gfonts_url\";s:0:\"\";s:12:\"gfonts_files\";a:0:{}s:14:\"uag_faq_layout\";b:0;}"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false},"uagb_author_info":{"display_name":"Anjali","author_link":"https:\/\/git-staging.wpastra.com\/es\/author\/anjalic\/"},"uagb_comment_info":0,"uagb_excerpt":"This error is generally seen on servers that have an outdated version of PHP running on your site. We all know the importance of PHP in core WordPress. It is the foundational coding technology used for the CMS. PHP versions below 5.5 are declared unsupported by PHP itself and have come to &#8220;End Of Life&#8220;.&hellip;","_links":{"self":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/25218"}],"collection":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/comments?post=25218"}],"version-history":[{"count":0,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/25218\/revisions"}],"wp:attachment":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/media?parent=25218"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_category?post=25218"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_tag?post=25218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}