{"id":12203129,"date":"2021-10-02T07:26:10","date_gmt":"2021-10-02T07:26:10","guid":{"rendered":"https:\/\/es.wordpress.org\/support\/topic\/error-en-mi-web-wordpress\/"},"modified":"2021-10-02T10:24:12","modified_gmt":"2021-10-02T10:24:12","slug":"error-en-mi-web-wordpress","status":"publish","type":"topic","link":"https:\/\/es.wordpress.org\/support\/topic\/error-en-mi-web-wordpress\/","title":{"rendered":"Error en mi web wordpress"},"content":{"rendered":"<p>Hola amigos, tengo un problemilla con mi web y me gustar\u00eda saber si alguien me puede echar un cable, llevo poco en esto y no me aclaro demasiado.<br \/>\nResulta que durante mucho tiempo no ha habido nadie que haya mantenido wordpress, ni actualizado plugins y menos wordpress. He visto en la web un error al entrar c\u00f3mo un usuario normal y cuando intento entrar al panel de administraci\u00f3n para ver que ocurre, no puedo.<\/p>\n<p>Intentando entrar en el panel de administrador ocurre lo siquiente:<\/p>\n<p>Warning: \u00abcontinue\u00bb targeting switch is equivalent to \u00abbreak\u00bb. Did you mean to use \u00abcontinue 2\u00bb? in \/homepages\/18\/d686480843\/htdocs\/clickandbuilds\/peluqueria\/wp-includes\/pomo\/plural-forms.php on line 210<\/p>\n<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at \/homepages\/18\/d686480843\/htdocs\/clickandbuilds\/peluqueria\/wp-includes\/pomo\/plural-forms.php:210) in \/homepages\/18\/d686480843\/htdocs\/clickandbuilds\/peluqueria\/wp-includes\/pluggable.php on line 1216<\/p>\n<p>Entro al administrador de archivos por FTP y veo que las carpetas y las rutas existen. He intentado entrar renombrando la carpeta, pero nada. Tambi\u00e9n renombr\u00e9 la carpeta de plugins, por si fuera debido a un plugin, pero tampoco.<br \/>\nSi entro en (wp-includes\/pomo\/mo.php) l\u00ednea 102 sale esto:<\/p>\n<p>$size_of_hash = 0;<\/p>\n<p>Os pongo el c\u00f3digo completo de esa ruta:<\/p>\n<pre><code>&lt;?php\n\/**\n * Class for working with MO files\n *\n * @version $Id: mo.php 1157 2015-11-20 04:30:11Z dd32 $\n * @package pomo\n * @subpackage mo\n *\/\n\nrequire_once dirname(__FILE__) . &#039;\/translations.php&#039;;\nrequire_once dirname(__FILE__) . &#039;\/streams.php&#039;;\n\nif ( ! class_exists( &#039;MO&#039;, false ) ):\nclass MO extends Gettext_Translations {\n\n\tvar $_nplurals = 2;\n\n\t\/**\n\t * Loaded MO file.\n\t *\n\t * @var string\n\t *\/\n\tprivate $filename = &#039;&#039;;\n\n\t\/**\n\t * Returns the loaded MO file.\n\t *\n\t * @return string The loaded MO file.\n\t *\/\n\tpublic function get_filename() {\n\t\treturn $this-&gt;filename;\n\t}\n\n\t\/**\n\t * Fills up with the entries from MO file $filename\n\t *\n\t * @param string $filename MO file to load\n\t *\/\n\tfunction import_from_file($filename) {\n\t\t$reader = new POMO_FileReader( $filename );\n\n\t\tif ( ! $reader-&gt;is_resource() ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t$this-&gt;filename = (string) $filename;\n\n\t\treturn $this-&gt;import_from_reader( $reader );\n\t}\n\n\t\/**\n\t * @param string $filename\n\t * @return bool\n\t *\/\n\tfunction export_to_file($filename) {\n\t\t$fh = fopen($filename, &#039;wb&#039;);\n\t\tif ( !$fh ) return false;\n\t\t$res = $this-&gt;export_to_file_handle( $fh );\n\t\tfclose($fh);\n\t\treturn $res;\n\t}\n\n\t\/**\n\t * @return string|false\n\t *\/\n\tfunction export() {\n\t\t$tmp_fh = fopen(&quot;php:\/\/temp&quot;, &#039;r+&#039;);\n\t\tif ( !$tmp_fh ) return false;\n\t\t$this-&gt;export_to_file_handle( $tmp_fh );\n\t\trewind( $tmp_fh );\n\t\treturn stream_get_contents( $tmp_fh );\n\t}\n\n\t\/**\n\t * @param Translation_Entry $entry\n\t * @return bool\n\t *\/\n\tfunction is_entry_good_for_export( $entry ) {\n\t\tif ( empty( $entry-&gt;translations ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif ( !array_filter( $entry-&gt;translations ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\t\/**\n\t * @param resource $fh\n\t * @return true\n\t *\/\n\tfunction export_to_file_handle($fh) {\n\t\t$entries = array_filter( $this-&gt;entries, array( $this, &#039;is_entry_good_for_export&#039; ) );\n\t\tksort($entries);\n\t\t$magic = 0x950412de;\n\t\t$revision = 0;\n\t\t$total = count($entries) + 1; \/\/ all the headers are one entry\n\t\t$originals_lenghts_addr = 28;\n\t\t$translations_lenghts_addr = $originals_lenghts_addr + 8 * $total;\n\t\t$size_of_hash = 0;\n\t\t$hash_addr = $translations_lenghts_addr + 8 * $total;\n\t\t$current_addr = $hash_addr;\n\t\tfwrite($fh, pack(&#039;V*&#039;, $magic, $revision, $total, $originals_lenghts_addr,\n\t\t\t$translations_lenghts_addr, $size_of_hash, $hash_addr));\n\t\tfseek($fh, $originals_lenghts_addr);\n\n\t\t\/\/ headers&#039; msgid is an empty string\n\t\tfwrite($fh, pack(&#039;VV&#039;, 0, $current_addr));\n\t\t$current_addr++;\n\t\t$originals_table = chr(0);\n\n\t\t$reader = new POMO_Reader();\n\n\t\tforeach($entries as $entry) {\n\t\t\t$originals_table .= $this-&gt;export_original($entry) . chr(0);\n\t\t\t$length = $reader-&gt;strlen($this-&gt;export_original($entry));\n\t\t\tfwrite($fh, pack(&#039;VV&#039;, $length, $current_addr));\n\t\t\t$current_addr += $length + 1; \/\/ account for the NULL byte after\n\t\t}\n\n\t\t$exported_headers = $this-&gt;export_headers();\n\t\tfwrite($fh, pack(&#039;VV&#039;, $reader-&gt;strlen($exported_headers), $current_addr));\n\t\t$current_addr += strlen($exported_headers) + 1;\n\t\t$translations_table = $exported_headers . chr(0);\n\n\t\tforeach($entries as $entry) {\n\t\t\t$translations_table .= $this-&gt;export_translations($entry) . chr(0);\n\t\t\t$length = $reader-&gt;strlen($this-&gt;export_translations($entry));\n\t\t\tfwrite($fh, pack(&#039;VV&#039;, $length, $current_addr));\n\t\t\t$current_addr += $length + 1;\n\t\t}\n\n\t\tfwrite($fh, $originals_table);\n\t\tfwrite($fh, $translations_table);\n\t\treturn true;\n\t}\n\n\t\/**\n\t * @param Translation_Entry $entry\n\t * @return string\n\t *\/\n\tfunction export_original($entry) {\n\t\t\/\/TODO: warnings for control characters\n\t\t$exported = $entry-&gt;singular;\n\t\tif ($entry-&gt;is_plural) $exported .= chr(0).$entry-&gt;plural;\n\t\tif ($entry-&gt;context) $exported = $entry-&gt;context . chr(4) . $exported;\n\t\treturn $exported;\n\t}\n\n\t\/**\n\t * @param Translation_Entry $entry\n\t * @return string\n\t *\/\n\tfunction export_translations($entry) {\n\t\t\/\/TODO: warnings for control characters\n\t\treturn $entry-&gt;is_plural ? implode(chr(0), $entry-&gt;translations) : $entry-&gt;translations[0];\n\t}\n\n\t\/**\n\t * @return string\n\t *\/\n\tfunction export_headers() {\n\t\t$exported = &#039;&#039;;\n\t\tforeach($this-&gt;headers as $header =&gt; $value) {\n\t\t\t$exported.= &quot;$header: $value\\n&quot;;\n\t\t}\n\t\treturn $exported;\n\t}\n\n\t\/**\n\t * @param int $magic\n\t * @return string|false\n\t *\/\n\tfunction get_byteorder($magic) {\n\t\t\/\/ The magic is 0x950412de\n\n\t\t\/\/ bug in PHP 5.0.2, see https:\/\/savannah.nongnu.org\/bugs\/?func=detailitem&amp;item_id=10565\n\t\t$magic_little = (int) - 1794895138;\n\t\t$magic_little_64 = (int) 2500072158;\n\t\t\/\/ 0xde120495\n\t\t$magic_big = ((int) - 569244523) &amp; 0xFFFFFFFF;\n\t\tif ($magic_little == $magic || $magic_little_64 == $magic) {\n\t\t\treturn &#039;little&#039;;\n\t\t} else if ($magic_big == $magic) {\n\t\t\treturn &#039;big&#039;;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\t\/**\n\t * @param POMO_FileReader $reader\n\t *\/\n\tfunction import_from_reader($reader) {\n\t\t$endian_string = MO::get_byteorder($reader-&gt;readint32());\n\t\tif (false === $endian_string) {\n\t\t\treturn false;\n\t\t}\n\t\t$reader-&gt;setEndian($endian_string);\n\n\t\t$endian = (&#039;big&#039; == $endian_string)? &#039;N&#039; : &#039;V&#039;;\n\n\t\t$header = $reader-&gt;read(24);\n\t\tif ($reader-&gt;strlen($header) != 24)\n\t\t\treturn false;\n\n\t\t\/\/ parse header\n\t\t$header = unpack(&quot;{$endian}revision\/{$endian}total\/{$endian}originals_lenghts_addr\/{$endian}translations_lenghts_addr\/{$endian}hash_length\/{$endian}hash_addr&quot;, $header);\n\t\tif (!is_array($header))\n\t\t\treturn false;\n\n\t\t\/\/ support revision 0 of MO format specs, only\n\t\tif ( $header[&#039;revision&#039;] != 0 ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t\/\/ seek to data blocks\n\t\t$reader-&gt;seekto( $header[&#039;originals_lenghts_addr&#039;] );\n\n\t\t\/\/ read originals&#039; indices\n\t\t$originals_lengths_length = $header[&#039;translations_lenghts_addr&#039;] - $header[&#039;originals_lenghts_addr&#039;];\n\t\tif ( $originals_lengths_length != $header[&#039;total&#039;] * 8 ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t$originals = $reader-&gt;read($originals_lengths_length);\n\t\tif ( $reader-&gt;strlen( $originals ) != $originals_lengths_length ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t\/\/ read translations&#039; indices\n\t\t$translations_lenghts_length = $header[&#039;hash_addr&#039;] - $header[&#039;translations_lenghts_addr&#039;];\n\t\tif ( $translations_lenghts_length != $header[&#039;total&#039;] * 8 ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t$translations = $reader-&gt;read($translations_lenghts_length);\n\t\tif ( $reader-&gt;strlen( $translations ) != $translations_lenghts_length ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t\/\/ transform raw data into set of indices\n\t\t$originals    = $reader-&gt;str_split( $originals, 8 );\n\t\t$translations = $reader-&gt;str_split( $translations, 8 );\n\n\t\t\/\/ skip hash table\n\t\t$strings_addr = $header[&#039;hash_addr&#039;] + $header[&#039;hash_length&#039;] * 4;\n\n\t\t$reader-&gt;seekto($strings_addr);\n\n\t\t$strings = $reader-&gt;read_all();\n\t\t$reader-&gt;close();\n\n\t\tfor ( $i = 0; $i &lt; $header[&#039;total&#039;]; $i++ ) {\n\t\t\t$o = unpack( &quot;{$endian}length\/{$endian}pos&quot;, $originals[$i] );\n\t\t\t$t = unpack( &quot;{$endian}length\/{$endian}pos&quot;, $translations[$i] );\n\t\t\tif ( !$o || !$t ) return false;\n\n\t\t\t\/\/ adjust offset due to reading strings to separate space before\n\t\t\t$o[&#039;pos&#039;] -= $strings_addr;\n\t\t\t$t[&#039;pos&#039;] -= $strings_addr;\n\n\t\t\t$original    = $reader-&gt;substr( $strings, $o[&#039;pos&#039;], $o[&#039;length&#039;] );\n\t\t\t$translation = $reader-&gt;substr( $strings, $t[&#039;pos&#039;], $t[&#039;length&#039;] );\n\n\t\t\tif (&#039;&#039; === $original) {\n\t\t\t\t$this-&gt;set_headers($this-&gt;make_headers($translation));\n\t\t\t} else {\n\t\t\t\t$entry = &amp;$this-&gt;make_entry($original, $translation);\n\t\t\t\t$this-&gt;entries[$entry-&gt;key()] = &amp;$entry;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\n\t\/**\n\t * Build a Translation_Entry from original string and translation strings,\n\t * found in a MO file\n\t *\n\t * @static\n\t * @param string $original original string to translate from MO file. Might contain\n\t * \t0x04 as context separator or 0x00 as singular\/plural separator\n\t * @param string $translation translation string from MO file. Might contain\n\t * \t0x00 as a plural translations separator\n\t *\/\n\tfunction &amp;make_entry($original, $translation) {\n\t\t$entry = new Translation_Entry();\n\t\t\/\/ look for context\n\t\t$parts = explode(chr(4), $original);\n\t\tif (isset($parts[1])) {\n\t\t\t$original = $parts[1];\n\t\t\t$entry-&gt;context = $parts[0];\n\t\t}\n\t\t\/\/ look for plural original\n\t\t$parts = explode(chr(0), $original);\n\t\t$entry-&gt;singular = $parts[0];\n\t\tif (isset($parts[1])) {\n\t\t\t$entry-&gt;is_plural = true;\n\t\t\t$entry-&gt;plural = $parts[1];\n\t\t}\n\t\t\/\/ plural translations are also separated by \\0\n\t\t$entry-&gt;translations = explode(chr(0), $translation);\n\t\treturn $entry;\n\t}\n\n\t\/**\n\t * @param int $count\n\t * @return string\n\t *\/\n\tfunction select_plural_form($count) {\n\t\treturn $this-&gt;gettext_select_plural_form($count);\n\t}\n\n\t\/**\n\t * @return int\n\t *\/\n\tfunction get_plural_forms_count() {\n\t\treturn $this-&gt;_nplurals;\n\t}\n}\nendif;<\/code><\/pre>\n<p>Si entro en wp-settings.php l\u00ednea 102 sale esto:<\/p>\n<p>require( ABSPATH . WPINC . &#8216;\/pomo\/mo.php&#8217; );<\/p>\n<p>Os pongo c\u00f3digo completo del archivo:<\/p>\n<pre><code>&lt;?php\n\/**\n * Used to set up and fix common variables and include\n * the WordPress procedural and class library.\n *\n * Allows for some configuration in wp-config.php (see default-constants.php)\n *\n * @package WordPress\n *\/\n\n\/**\n * Stores the location of the WordPress directory of functions, classes, and core content.\n *\n * @since 1.0.0\n *\/\ndefine( &#039;WPINC&#039;, &#039;wp-includes&#039; );\n\n\/\/ Include files required for initialization.\nrequire( ABSPATH . WPINC . &#039;\/load.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/default-constants.php&#039; );\nrequire_once( ABSPATH . WPINC . &#039;\/plugin.php&#039; );\n\n\/*\n * These can&#039;t be directly globalized in version.php. When updating,\n * we&#039;re including version.php from another installation and don&#039;t want\n * these values to be overridden if already set.\n *\/\nglobal $wp_version, $wp_db_version, $tinymce_version, $required_php_version, $required_mysql_version, $wp_local_package;\nrequire( ABSPATH . WPINC . &#039;\/version.php&#039; );\n\n\/**\n * If not already configured, &lt;code&gt;$blog_id&lt;\/code&gt; will default to 1 in a single site\n * configuration. In multisite, it will be overridden by default in ms-settings.php.\n *\n * @global int $blog_id\n * @since 2.0.0\n *\/\nglobal $blog_id;\n\n\/\/ Set initial default constants including WP_MEMORY_LIMIT, WP_MAX_MEMORY_LIMIT, WP_DEBUG, SCRIPT_DEBUG, WP_CONTENT_DIR and WP_CACHE.\nwp_initial_constants();\n\n\/\/ Check for the required PHP version and for the MySQL extension or a database drop-in.\nwp_check_php_mysql_versions();\n\n\/\/ Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php.\n@ini_set( &#039;magic_quotes_runtime&#039;, 0 );\n@ini_set( &#039;magic_quotes_sybase&#039;,  0 );\n\n\/\/ WordPress calculates offsets from UTC.\ndate_default_timezone_set( &#039;UTC&#039; );\n\n\/\/ Turn register_globals off.\nwp_unregister_GLOBALS();\n\n\/\/ Standardize $_SERVER variables across setups.\nwp_fix_server_vars();\n\n\/\/ Check if we have received a request due to missing favicon.ico\nwp_favicon_request();\n\n\/\/ Check if we&#039;re in maintenance mode.\nwp_maintenance();\n\n\/\/ Start loading timer.\ntimer_start();\n\n\/\/ Check if we&#039;re in WP_DEBUG mode.\nwp_debug_mode();\n\n\/**\n * Filters whether to enable loading of the advanced-cache.php drop-in.\n *\n * This filter runs before it can be used by plugins. It is designed for non-web\n * run-times. If false is returned, advanced-cache.php will never be loaded.\n *\n * @since 4.6.0\n *\n * @param bool $enable_advanced_cache Whether to enable loading advanced-cache.php (if present).\n *                                    Default true.\n *\/\nif ( WP_CACHE &amp;&amp; apply_filters( &#039;enable_loading_advanced_cache_dropin&#039;, true ) ) {\n\t\/\/ For an advanced caching plugin to use. Uses a static drop-in because you would only want one.\n\tWP_DEBUG ? include( WP_CONTENT_DIR . &#039;\/advanced-cache.php&#039; ) : @include( WP_CONTENT_DIR . &#039;\/advanced-cache.php&#039; );\n\n\t\/\/ Re-initialize any hooks added manually by advanced-cache.php\n\tif ( $wp_filter ) {\n\t\t$wp_filter = WP_Hook::build_preinitialized_hooks( $wp_filter );\n\t}\n}\n\n\/\/ Define WP_LANG_DIR if not set.\nwp_set_lang_dir();\n\n\/\/ Load early WordPress files.\nrequire( ABSPATH . WPINC . &#039;\/compat.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-list-util.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/functions.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-matchesmapregex.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-error.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/pomo\/mo.php&#039; );\n\n\/\/ Include the wpdb class and, if present, a db.php database drop-in.\nglobal $wpdb;\nrequire_wp_db();\n\n\/\/ Set the database table prefix and the format specifiers for database table columns.\n$GLOBALS[&#039;table_prefix&#039;] = $table_prefix;\nwp_set_wpdb_vars();\n\n\/\/ Start the WordPress object cache, or an external object cache if the drop-in is present.\nwp_start_object_cache();\n\n\/\/ Attach the default filters.\nrequire( ABSPATH . WPINC . &#039;\/default-filters.php&#039; );\n\n\/\/ Initialize multisite if enabled.\nif ( is_multisite() ) {\n\trequire( ABSPATH . WPINC . &#039;\/class-wp-site-query.php&#039; );\n\trequire( ABSPATH . WPINC . &#039;\/class-wp-network-query.php&#039; );\n\trequire( ABSPATH . WPINC . &#039;\/ms-blogs.php&#039; );\n\trequire( ABSPATH . WPINC . &#039;\/ms-settings.php&#039; );\n} elseif ( ! defined( &#039;MULTISITE&#039; ) ) {\n\tdefine( &#039;MULTISITE&#039;, false );\n}\n\nregister_shutdown_function( &#039;shutdown_action_hook&#039; );\n\n\/\/ Stop most of WordPress from being loaded if we just want the basics.\nif ( SHORTINIT )\n\treturn false;\n\n\/\/ Load the L10n library.\nrequire_once( ABSPATH . WPINC . &#039;\/l10n.php&#039; );\nrequire_once( ABSPATH . WPINC . &#039;\/class-wp-locale.php&#039; );\nrequire_once( ABSPATH . WPINC . &#039;\/class-wp-locale-switcher.php&#039; );\n\n\/\/ Run the installer if WordPress is not installed.\nwp_not_installed();\n\n\/\/ Load most of WordPress.\nrequire( ABSPATH . WPINC . &#039;\/class-wp-walker.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-ajax-response.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/formatting.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/capabilities.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-roles.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-role.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-user.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-query.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/query.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/date.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/theme.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-theme.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/template.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/user.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-user-query.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-session-tokens.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-user-meta-session-tokens.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/meta.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-meta-query.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-metadata-lazyloader.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/general-template.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/link-template.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/author-template.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/post.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-walker-page.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-walker-page-dropdown.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-post-type.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-post.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/post-template.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/revision.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/post-formats.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/post-thumbnail-template.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/category.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-walker-category.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-walker-category-dropdown.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/category-template.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/comment.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-comment.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-comment-query.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-walker-comment.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/comment-template.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rewrite.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-rewrite.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/feed.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/bookmark.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/bookmark-template.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/kses.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/cron.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/deprecated.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/script-loader.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/taxonomy.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-taxonomy.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-term.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-term-query.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-tax-query.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/update.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/canonical.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/shortcodes.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/embed.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-embed.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-oembed.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-oembed-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/media.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/http.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-http.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-http-streams.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-http-curl.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-http-proxy.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-http-cookie.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-http-encoding.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-http-response.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-http-requests-response.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-http-requests-hooks.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/widgets.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-widget.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/class-wp-widget-factory.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/nav-menu.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/nav-menu-template.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/admin-bar.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/class-wp-rest-server.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/class-wp-rest-response.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/class-wp-rest-request.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-posts-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-attachments-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-post-types-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-post-statuses-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-revisions-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-taxonomies-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-terms-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-users-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-comments-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/endpoints\/class-wp-rest-settings-controller.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/fields\/class-wp-rest-meta-fields.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/fields\/class-wp-rest-comment-meta-fields.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/fields\/class-wp-rest-post-meta-fields.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/fields\/class-wp-rest-term-meta-fields.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/rest-api\/fields\/class-wp-rest-user-meta-fields.php&#039; );\n\n$GLOBALS[&#039;wp_embed&#039;] = new WP_Embed();\n\n\/\/ Load multisite-specific files.\nif ( is_multisite() ) {\n\trequire( ABSPATH . WPINC . &#039;\/ms-functions.php&#039; );\n\trequire( ABSPATH . WPINC . &#039;\/ms-default-filters.php&#039; );\n\trequire( ABSPATH . WPINC . &#039;\/ms-deprecated.php&#039; );\n}\n\n\/\/ Define constants that rely on the API to obtain the default value.\n\/\/ Define must-use plugin directory constants, which may be overridden in the sunrise.php drop-in.\nwp_plugin_directory_constants();\n\n$GLOBALS[&#039;wp_plugin_paths&#039;] = array();\n\n\/\/ Load must-use plugins.\nforeach ( wp_get_mu_plugins() as $mu_plugin ) {\n\tinclude_once( $mu_plugin );\n}\nunset( $mu_plugin );\n\n\/\/ Load network activated plugins.\nif ( is_multisite() ) {\n\tforeach ( wp_get_active_network_plugins() as $network_plugin ) {\n\t\twp_register_plugin_realpath( $network_plugin );\n\t\tinclude_once( $network_plugin );\n\t}\n\tunset( $network_plugin );\n}\n\n\/**\n * Fires once all must-use and network-activated plugins have loaded.\n *\n * @since 2.8.0\n *\/\ndo_action( &#039;muplugins_loaded&#039; );\n\nif ( is_multisite() )\n\tms_cookie_constants(  );\n\n\/\/ Define constants after multisite is loaded.\nwp_cookie_constants();\n\n\/\/ Define and enforce our SSL constants\nwp_ssl_constants();\n\n\/\/ Create common globals.\nrequire( ABSPATH . WPINC . &#039;\/vars.php&#039; );\n\n\/\/ Make taxonomies and posts available to plugins and themes.\n\/\/ @plugin authors: warning: these get registered again on the init hook.\ncreate_initial_taxonomies();\ncreate_initial_post_types();\n\nwp_start_scraping_edited_file_errors();\n\n\/\/ Register the default theme directory root\nregister_theme_directory( get_theme_root() );\n\n\/\/ Load active plugins.\nforeach ( wp_get_active_and_valid_plugins() as $plugin ) {\n\twp_register_plugin_realpath( $plugin );\n\tinclude_once( $plugin );\n}\nunset( $plugin );\n\n\/\/ Load pluggable functions.\nrequire( ABSPATH . WPINC . &#039;\/pluggable.php&#039; );\nrequire( ABSPATH . WPINC . &#039;\/pluggable-deprecated.php&#039; );\n\n\/\/ Set internal encoding.\nwp_set_internal_encoding();\n\n\/\/ Run wp_cache_postload() if object cache is enabled and the function exists.\nif ( WP_CACHE &amp;&amp; function_exists( &#039;wp_cache_postload&#039; ) )\n\twp_cache_postload();\n\n\/**\n * Fires once activated plugins have loaded.\n *\n * Pluggable functions are also available at this point in the loading order.\n *\n * @since 1.5.0\n *\/\ndo_action( &#039;plugins_loaded&#039; );\n\n\/\/ Define constants which affect functionality if not already defined.\nwp_functionality_constants();\n\n\/\/ Add magic quotes and set up $_REQUEST ( $_GET + $_POST )\nwp_magic_quotes();\n\n\/**\n * Fires when comment cookies are sanitized.\n *\n * @since 2.0.11\n *\/\ndo_action( &#039;sanitize_comment_cookies&#039; );\n\n\/**\n * WordPress Query object\n * @global WP_Query $wp_the_query\n * @since 2.0.0\n *\/\n$GLOBALS[&#039;wp_the_query&#039;] = new WP_Query();\n\n\/**\n * Holds the reference to @see $wp_the_query\n * Use this global for WordPress queries\n * @global WP_Query $wp_query\n * @since 1.5.0\n *\/\n$GLOBALS[&#039;wp_query&#039;] = $GLOBALS[&#039;wp_the_query&#039;];\n\n\/**\n * Holds the WordPress Rewrite object for creating pretty URLs\n * @global WP_Rewrite $wp_rewrite\n * @since 1.5.0\n *\/\n$GLOBALS[&#039;wp_rewrite&#039;] = new WP_Rewrite();\n\n\/**\n * WordPress Object\n * @global WP $wp\n * @since 2.0.0\n *\/\n$GLOBALS[&#039;wp&#039;] = new WP();\n\n\/**\n * WordPress Widget Factory Object\n * @global WP_Widget_Factory $wp_widget_factory\n * @since 2.8.0\n *\/\n$GLOBALS[&#039;wp_widget_factory&#039;] = new WP_Widget_Factory();\n\n\/**\n * WordPress User Roles\n * @global WP_Roles $wp_roles\n * @since 2.0.0\n *\/\n$GLOBALS[&#039;wp_roles&#039;] = new WP_Roles();\n\n\/**\n * Fires before the theme is loaded.\n *\n * @since 2.6.0\n *\/\ndo_action( &#039;setup_theme&#039; );\n\n\/\/ Define the template related constants.\nwp_templating_constants(  );\n\n\/\/ Load the default text localization domain.\nload_default_textdomain();\n\n$locale = get_locale();\n$locale_file = WP_LANG_DIR . &quot;\/$locale.php&quot;;\nif ( ( 0 === validate_file( $locale ) ) &amp;&amp; is_readable( $locale_file ) )\n\trequire( $locale_file );\nunset( $locale_file );\n\n\/**\n * WordPress Locale object for loading locale domain date and various strings.\n * @global WP_Locale $wp_locale\n * @since 2.1.0\n *\/\n$GLOBALS[&#039;wp_locale&#039;] = new WP_Locale();\n\n\/**\n *  WordPress Locale Switcher object for switching locales.\n *\n * @since 4.7.0\n *\n * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object.\n *\/\n$GLOBALS[&#039;wp_locale_switcher&#039;] = new WP_Locale_Switcher();\n$GLOBALS[&#039;wp_locale_switcher&#039;]-&gt;init();\n\n\/\/ Load the functions for the active theme, for both parent and child theme if applicable.\nif ( ! wp_installing() || &#039;wp-activate.php&#039; === $pagenow ) {\n\tif ( TEMPLATEPATH !== STYLESHEETPATH &amp;&amp; file_exists( STYLESHEETPATH . &#039;\/functions.php&#039; ) )\n\t\tinclude( STYLESHEETPATH . &#039;\/functions.php&#039; );\n\tif ( file_exists( TEMPLATEPATH . &#039;\/functions.php&#039; ) )\n\t\tinclude( TEMPLATEPATH . &#039;\/functions.php&#039; );\n}\n\n\/**\n * Fires after the theme is loaded.\n *\n * @since 3.0.0\n *\/\ndo_action( &#039;after_setup_theme&#039; );\n\n\/\/ Set up current user.\n$GLOBALS[&#039;wp&#039;]-&gt;init();\n\n\/**\n * Fires after WordPress has finished loading but before any headers are sent.\n *\n * Most of WP is loaded at this stage, and the user is authenticated. WP continues\n * to load on the {@see &#039;init&#039;} hook that follows (e.g. widgets), and many plugins instantiate\n * themselves on it for all sorts of reasons (e.g. they need a user, a taxonomy, etc.).\n *\n * If you wish to plug an action once WP is loaded, use the {@see &#039;wp_loaded&#039;} hook below.\n *\n * @since 1.5.0\n *\/\ndo_action( &#039;init&#039; );\n\n\/\/ Check site status\nif ( is_multisite() ) {\n\tif ( true !== ( $file = ms_site_check() ) ) {\n\t\trequire( $file );\n\t\tdie();\n\t}\n\tunset($file);\n}\n\n\/**\n * This hook is fired once WP, all plugins, and the theme are fully loaded and instantiated.\n *\n * Ajax requests should use wp-admin\/admin-ajax.php. admin-ajax.php can handle requests for\n * users not logged in.\n *\n * @link https:\/\/codex.wordpress.org\/AJAX_in_Plugins\n *\n * @since 3.0.0\n *\/\ndo_action( &#039;wp_loaded&#039; );<\/code><\/pre>\n<p>Alguien me puede ayudar sobre qu\u00e9 debo hacer para solucionarlo, gracias<\/p>\n","protected":false},"template":"","class_list":["post-12203129","topic","type-topic","status-publish","hentry","topic-tag-actualizacion","topic-tag-manual","topic-tag-resuelto"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12203129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/es.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":3,"href":"https:\/\/es.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12203129\/revisions"}],"predecessor-version":[{"id":12203132,"href":"https:\/\/es.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12203129\/revisions\/12203132"}],"wp:attachment":[{"href":"https:\/\/es.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12203129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}