Hola,
tiene pinta de ser un tema del servidor. Verifica que versión de PHP tienes, si hay suficiente espacio en el disco, … esas cosas.
Iniciador del debate
day2022
(@day2022)
Hola @mpcdigital .. mira me sale estos errores por medio del error_log de diferentes archivos
06-Jul-2022 06:12:29 UTC] PHP Warning: Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in /home/artifexl/public_html/wp-includes/class-wp-http.php on line 11
[06-Jul-2022 06:12:29 UTC] PHP Warning: Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in /home/artifexl/public_html/wp-includes/class-wp-http.php on line 11
[06-Jul-2022 06:12:29 UTC] PHP Warning: require(ABSPATHWPINC/class-requests.php): failed to open stream: No such file or directory in /home/artifexl/public_html/wp-includes/class-wp-http.php on line 11
[06-Jul-2022 06:12:29 UTC] PHP Warning: require(ABSPATHWPINC/class-requests.php): failed to open stream: No such file or directory in /home/artifexl/public_html/wp-includes/class-wp-http.php on line 11
[06-Jul-2022 06:12:29 UTC] PHP Fatal error: require(): Failed opening required 'ABSPATHWPINC/class-requests.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/artifexl/public_html/wp-includes/class-wp-http.php on line 11
[06-Jul-2022 06:13:30 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_the_block_template_html() in /home/artifexl/public_html/wp-includes/template-canvas.php:12
Stack trace:
#0 {main}
thrown in /home/artifexl/public_html/wp-includes/template-canvas.php on line 12
Iniciador del debate
day2022
(@day2022)
[06-Jul-2022 06:15:18 UTC] PHP Warning: Use of undefined constant ABSPATH – assumed ‘ABSPATH’ (this will throw an Error in a future version of PHP) in /home/artifexl/public_html/wp-includes/blocks/index.php on line 9
[06-Jul-2022 06:15:18 UTC] PHP Warning: Use of undefined constant WPINC – assumed ‘WPINC’ (this will throw an Error in a future version of PHP) in /home/artifexl/public_html/wp-includes/blocks/index.php on line 9
[06-Jul-2022 06:15:18 UTC] PHP Warning: require(ABSPATHWPINC/blocks/archives.php): failed to open stream: No such file or directory in /home/artifexl/public_html/wp-includes/blocks/index.php on line 9
[06-Jul-2022 06:15:18 UTC] PHP Warning: require(ABSPATHWPINC/blocks/archives.php): failed to open stream: No such file or directory in /home/artifexl/public_html/wp-includes/blocks/index.php on line 9
[06-Jul-2022 06:15:18 UTC] PHP Fatal error: require(): Failed opening required ‘ABSPATHWPINC/blocks/archives.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/artifexl/public_html/wp-includes/blocks/index.php on line 9
Iniciador del debate
day2022
(@day2022)
[06-Jul-2022 06:16:17 UTC] PHP Fatal error: Uncaught Error: Class ‘WP_Widget’ not found in /home/artifexl/public_html/wp-includes/widgets/class-wp-widget-block.php:17
Stack trace:
#0 {main}
thrown in /home/artifexl/public_html/wp-includes/widgets/class-wp-widget-block.php on line 17
Iniciador del debate
day2022
(@day2022)
[01-Jul-2022 14:36:46 UTC] PHP Warning: Packets out of order. Expected 1 received 0. Packet size=145 in /home/artifexl/public_html/wp-includes/wp-db.php on line 2169
[05-Jul-2022 18:32:45 UTC] PHP Warning: Packets out of order. Expected 1 received 0. Packet size=145 in /home/artifexl/public_html/wp-includes/wp-db.php on line 2169
Iniciador del debate
day2022
(@day2022)
@mpcdigital agradezco mucho si me puedes orientar el como solucionar esos inconvenientes porq no se mucho del tema …
Muchas gracias
Hola,
son errores de PHP que indican que la versión que tienes es demasiado antigua o moderna. En el panel de control del hosting debes tener la opción de elegir la versión de PHP. Intenta elegir la versión 7.3 o 7.4
Iniciador del debate
day2022
(@day2022)
@mpcdigital buenas tardes … sabes q ya le cambie la version de php a una anterior, pero aun nada..
aparte me sale esto en el site heatlh
4 recommended improvements
You should remove inactive plugins Security
Your site is running an older version of PHP (7.3.33), which should be updated Performance
301 .htaccess redirect is not enabled. Security
Not all recommended security headers are installed Security
Your website does not send all recommended security headers.
Upgrade Insecure Requests
X-XSS protection
X-Content Type Options
Referrer-Policy
X-Frame-Options
Permissions-Policy
HTTP Strict Transport Security
Learn more about security headers
me podrias indicar a q se refiere, por favor te lo agradezco muchisisimo
Hola,
pues entonces intenta elegir PHP 8 que es casi la más moderna.
Lo que te indica site heatlh es:
* Que borres el plugin Security porque no está activado. Es más seguro borrarlo pero tampoco afecta en nada.
* Lo de PHP que se soluciona pasándolo a 8.
* .htaccessredirect in nor enabled se soluciona así: https://really-simple-ssl.com/recommended-htaccess-redirect-option/
* Sobre las cabecera de seguridad, esto es lo que hay que saber: https://ayudawp.com/cabeceras-seguridad-http-wordpress/