PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to all
-
Hola! Desde les agraedezco sus comentarios y sugerencias.
Tengo instalado el plugin All In One WordPress Security and Firewall en mi web.
Por ahora la web esta en mantenimiento.
Tengo también instalado en el archivo wp-config.php el código para depuración de errores.Entonces revisando el archivo debug.log en el directorio wp-content me arroja un codigo de error este :PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 188416 bytes) in /home/mariamin/agenciaseolima.com/public_html/wp-includes/wp-db.php on line 2056
[14-Sep-2021 06:35:20 UTC] PHP Stack trace:
[14-Sep-2021 06:35:20 UTC] PHP 1. {main}() /home/mariamin/agenciaseolima.com/public_html/wp-cron.php:0
[14-Sep-2021 06:35:20 UTC] PHP 2. do_action_ref_array($hook_name = ‘aiowps_hourly_cron_event’, $args = []) /home/mariamin/agenciaseolima.com/public_html/wp-cron.php:138
[14-Sep-2021 06:35:20 UTC] PHP 3. WP_Hook->do_action($args = []) /home/mariamin/agenciaseolima.com/public_html/wp-includes/plugin.php:518
[14-Sep-2021 06:35:20 UTC] PHP 4. WP_Hook->apply_filters($value = ”, $args = []) /home/mariamin/agenciaseolima.com/public_html/wp-includes/class-wp-hook.php:327
[14-Sep-2021 06:35:20 UTC] PHP 5. AIOWPSecurity_Cronjob_Handler->aiowps_hourly_cron_event_handler() /home/mariamin/agenciaseolima.com/public_html/wp-includes/class-wp-hook.php:303
[14-Sep-2021 06:35:20 UTC] PHP 6. do_action($hook_name = ‘aiowps_perform_scheduled_backup_tasks’) /home/mariamin/agenciaseolima.com/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-cronjob-handler.php:16
[14-Sep-2021 06:35:20 UTC] PHP 7. WP_Hook->do_action($args = [0 => ”]) /home/mariamin/agenciaseolima.com/public_html/wp-includes/plugin.php:470
[14-Sep-2021 06:35:20 UTC] PHP 8. WP_Hook->apply_filters($value = ”, $args = [0 => ”]) /home/mariamin/agenciaseolima.com/public_html/wp-includes/class-wp-hook.php:327
[14-Sep-2021 06:35:20 UTC] PHP 9. AIOWPSecurity_Backup->aiowps_scheduled_backup_handler(”) /home/mariamin/agenciaseolima.com/public_html/wp-includes/class-wp-hook.php:303
[14-Sep-2021 06:35:20 UTC] PHP 10. AIOWPSecurity_Backup->execute_backup() /home/mariamin/agenciaseolima.com/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-backup.php:314
[14-Sep-2021 06:35:20 UTC] PHP 11. AIOWPSecurity_Backup->write_db_backup_file($handle = resource(1335) of type (stream), $tables = [0 => [0 => ‘wp_aiowps_events’], 1 => [0 => ‘wp_aiowps_failed_logins’], 2 => [0 => ‘wp_aiowps_global_meta’], 3 => [0 => ‘wp_aiowps_login_activity’], 4 => [0 => ‘wp_aiowps_login_lockdown’], 5 => [0 => ‘wp_aiowps_permanent_block’], 6 => [0 => ‘wp_commentmeta’], 7 => [0 => ‘wp_comments’], 8 => [0 => ‘wp_db7_forms’], 9 => [0 => ‘wp_e_submissions’], 10 => [0 => ‘wp_e_submissions_actions_log’], 11 => [0 => ‘wp_e_submissions_values’], 12 => [0 => ‘wp_links’], 13 => [0 => ‘wp_options’], 14 => [0 => ‘wp_postmeta’], 15 => [0 => ‘wp_posts’], 16 => [0 => ‘wp_smush_dir_images’], 17 => [0 => ‘wp_term_relationships’], 18 => [0 => ‘wp_term_taxonomy’], 19 => [0 => ‘wp_termmeta’], 20 => [0 => ‘wp_terms’], 21 => [0 => ‘wp_usermeta’], 22 => [0 => ‘wp_users’], 23 => [0 => ‘wp_wfblockediplog’], 24 => [0 => ‘wp_wfblocks7’], 25 => [0 => ‘wp_wfconfig’], 26 => [0 => ‘wp_wfcrawlers’], 27 => [0 => ‘wp_wffilechanges’], 28 => [0 => ‘wp_wffilemods’], 29 => [0 => ‘wp_wfhits’], 30 => [0 => ‘wp_wfhoover’], 31 => [0 => ‘wp_wfissues’], 32 => [0 => ‘wp_wfknownfilelist’], 33 => [0 => ‘wp_wflivetraffichuman’], 34 => [0 => ‘wp_wflocs’], 35 => [0 => ‘wp_wflogins’], 36 => [0 => ‘wp_wfls_2fa_secrets’], 37 => [0 => ‘wp_wfls_settings’], 38 => [0 => ‘wp_wfnotifications’], 39 => [0 => ‘wp_wfpendingissues’], 40 => [0 => ‘wp_wfreversecache’], 41 => [0 => ‘wp_wfsnipcache’], 42 => [0 => ‘wp_wfstatus’], 43 => [0 => ‘wp_wftrafficrates’], 44 => [0 => ‘wp_wpr_rucss_resources’], 45 => [0 => ‘wp_wpr_rucss_used_css’], 46 => [0 => ‘wp_yoast_indexable’], 47 => [0 => ‘wp_yoast_indexable_hierarchy’], 48 => [0 => ‘wp_yoast_migrations’], 49 => [0 => ‘wp_yoast_primary_term’], 50 => [0 => ‘wp_yoast_seo_links’]]) /home/mariamin/agenciaseolima.com/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-backup.php:186
[14-Sep-2021 06:35:20 UTC] PHP 12. wpdb->get_results($query = ‘SELECT * FROMwp_postmeta
;’, $output = ‘OBJECT’) /home/mariamin/agenciaseolima.com/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-backup.php:69
[14-Sep-2021 06:35:20 UTC] PHP 13. wpdb->query($query = ‘SELECT * FROMwp_postmeta
;’) /home/mariamin/agenciaseolima.com/public_html/wp-includes/wp-db.php:2695
[14-Sep-2021 06:35:20 UTC] PHP 14. wpdb->_do_query($query = ‘SELECT * FROMwp_postmeta
;’) /home/mariamin/agenciaseolima.com/public_html/wp-includes/wp-db.php:1945
[14-Sep-2021 06:35:20 UTC] PHP 15. mysqli_query($link = class mysqli { public $affected_rows = -1; public $client_info = ‘mysqlnd 7.4.20’; public $client_version = 70420; public $connect_errno = 0; public $connect_error = NULL; public $errno = 0; public $error = ”; public $error_list = []; public $field_count = 4; public $host_info = ‘Localhost via UNIX socket’; public $info = NULL; public $insert_id = 0; public $server_info = ‘5.5.5-10.1.48-MariaDB’; public $server_version = 100148; public $sqlstate = ‘00000’; public $protocol_version = 10; public $thread_id = 426029; public $warning_count = 0 }, $query = ‘SELECT * FROMwp_postmeta
;’) /home/mariamin/agenciaseolima.com/public_html/wp-includes/wp-db.php:2056
[14-Sep-2021 06:35:20 UTC] Error Commands out of sync; you can’t run this command now de la base de datos de WordPress para la consulta SELECT *, CASE`He escrito al soporte de Elementor pro y me ha dicho esto:
If you are referring to the “Fatal error: Allowed memory size” memory issue, based on the error log you’ve provided, it seems to be caused by a plugin, “All In One WP Security & Firewall”
Nuevamente consulte al soporte de elementor pro y me han respondido esta otra cosa:
You will need to bring this up to the plugin’s support (All In One WP Security & Firewall) since this is caused by their plugin’s code. Based on the error log, it’s likely an issue with the plugin’s backup feature.
Necesito la ayuda de ustedes por favor. Como se soluciona esta situación.
Muchísimas gracias.
- The topic ‘PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to all’ is closed to new replies.