• Resolved alx359

    (@alx359)


    I’m getting these in the logs from time to time:

    PHP Fatal error: Maximum execution time of 60 seconds exceeded in /plugins/pareto-security/pareto_functions.php on line 2545

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author te_taipo

    (@te_taipo)

    Kia ora

    Please see the latest update,

    Rangi

    Thread Starter alx359

    (@alx359)

    Kia ora rā

    Thank you very much for the quick update.

    Alex

    Thread Starter alx359

    (@alx359)

    Hi Rangi, the fatal error is back but in a different form:

    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function pareto_functions::update_admin_ip(), 1 passed in /plugins/pareto-security/pareto_functions.php on line 1261 and exactly 2 expected in /plugins/pareto-security/pareto_functions.php:1283

    Also:

    PHP Deprecated: Required parameter $options follows optional parameter $ip in /plugins/pareto-security/pareto_functions.php on line 1283

    That last one I’ve encountered before. In later PHP, it’s enforced optional parameters must always follow after the required ones.

    Plugin Author te_taipo

    (@te_taipo)

    Fixed now.

    Thread Starter alx359

    (@alx359)

    Great! The last issue seemed to side-effect in the ability of plugins of getting deleted upon deactivation, so it appears to be fixed now. Thanks again!

    Thread Starter alx359

    (@alx359)

    The fatal error from max exec time is still showing up in 3.1.7:

    [21-May-2022 01:20:45 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /plugins/pareto-security/pareto_functions.php on line 2546

    Thread Starter alx359

    (@alx359)

    [23-May-2022 17:42:45 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /plugins/pareto-security/pareto_functions.php on line 3203

    Plugin Author te_taipo

    (@te_taipo)

    I’ll take a look at this before the end of this week.

    Thread Starter alx359

    (@alx359)

    No problem. Here’s another one on a different line:

    [24-May-2022 10:20:00 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /plugins/pareto-security/pareto_functions.php on line 2613

    Thread Starter alx359

    (@alx359)

    Missed also this:

    [24-May-2022 12:25:10 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /plugins/pareto-security/pareto_functions.php on line 2548

    Plugin Author te_taipo

    (@te_taipo)

    Update released, let me know how this goes.

    Thread Starter alx359

    (@alx359)

    The update fix looks fine so far. Got another different one in some rather unusual circumstances. Here’s the full stack trace, HTH:

    [01-Jun-2022 13:43:48 UTC] PHP Warning:  Undefined property: pareto_functions::$_silent_mode in D:\domains\domain.com\wp-content\plugins\pareto-security\pareto_functions.php on line 208
    [01-Jun-2022 13:43:48 UTC] PHP Stack trace:
    [01-Jun-2022 13:43:48 UTC] PHP   1. {main}() D:\domains\domain.com\wp-cron.php:0
    [01-Jun-2022 13:43:48 UTC] PHP   2. do_action_ref_array($hook_name = 'upgrader_scheduled_cleanup', $args = [0 => 33197]) D:\domains\domain.com\wp-cron.php:138
    [01-Jun-2022 13:43:48 UTC] PHP   3. WP_Hook->do_action($args = [0 => 33197]) D:\domains\domain.com\wp-includes\plugin.php:524
    [01-Jun-2022 13:43:48 UTC] PHP   4. WP_Hook->apply_filters($value = '', $args = [0 => 33197]) D:\domains\domain.com\wp-includes\class-wp-hook.php:331
    [01-Jun-2022 13:43:48 UTC] PHP   5. wp_delete_attachment($post_id = 33197, $force_delete = *uninitialized*) D:\domains\domain.com\wp-includes\class-wp-hook.php:307
    [01-Jun-2022 13:43:48 UTC] PHP   6. wp_delete_attachment_files($post_id = 33197, $meta = FALSE, $backup_sizes = '', $file = 'D:\\domains\\domain.com/wp-content/uploads/woocommerce-email-template-customizer_1.1.9.zip') D:\domains\domain.com\wp-includes\post.php:6407
    [01-Jun-2022 13:43:48 UTC] PHP   7. wp_delete_file_from_directory($file = 'D:\\domains\\domain.com/wp-content/uploads/woocommerce-email-template-customizer_1.1.9.zip', $directory = 'D:\\domains\\domain.com/wp-content/uploads') D:\domains\domain.com\wp-includes\post.php:6498
    [01-Jun-2022 13:43:48 UTC] PHP   8. wp_delete_file($file = 'D:\\domains\\domain.com/wp-content/uploads/woocommerce-email-template-customizer_1.1.9.zip') D:\domains\domain.com\wp-includes\functions.php:7371
    [01-Jun-2022 13:43:48 UTC] PHP   9. apply_filters($hook_name = 'wp_delete_file', $value = 'D:\\domains\\domain.com/wp-content/uploads/woocommerce-email-template-customizer_1.1.9.zip') D:\domains\domain.com\wp-includes\functions.php:7335
    [01-Jun-2022 13:43:48 UTC] PHP  10. WP_Hook->apply_filters($value = 'D:\\domains\\domain.com/wp-content/uploads/woocommerce-email-template-customizer_1.1.9.zip', $args = [0 => 'D:\\domains\\domain.com/wp-content/uploads/woocommerce-email-template-customizer_1.1.9.zip']) D:\domains\domain.com\wp-includes\plugin.php:191
    [01-Jun-2022 13:43:48 UTC] PHP  11. pareto_functions->check_filenames($file = 'D:\\domains\\domain.com/wp-content/uploads/woocommerce-email-template-customizer_1.1.9.zip') D:\domains\domain.com\wp-includes\class-wp-hook.php:307
    [01-Jun-2022 13:43:48 UTC] PHP  12. pareto_functions->karo($req = 'Arbitrary File Deletion Attempt: D:\domains\evitaworks.com/wp-content/uploads/woocommerce-email-template-customizer_1.1.9.zip', $t = TRUE, $severity = 'Medium', $log_only = TRUE, $safelist_url = *uninitialized*) D:\domains\domain.com\wp-content\plugins\pareto-security\pareto_functions.php:1359
    Plugin Author te_taipo

    (@te_taipo)

    Thanks for that. It’s an error that occurs when WordPress crontab is called, or for example if pareto security is used on a non-wordpress website. It will be fixed in the next update in a week or so.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘PHP Fatal error debug.log’ is closed to new replies.