Support » Fixing WordPress » HUGE ERROR LOG

  • maridadi


    I am a NEWBIE – and need help, please.
    I am getting Error_log filling my site quota at a rate of over 20MB/second. It appears to be on a loop, going to 1.05GB in size, in no time at all, so I am unable to work on the site as it is constantly full.
    As soon as I delete the error_log ( which I am often unable to do ), it fills up again within moments.
    I made a new folder ‘Plug-ins off’, and have moved all plug-ins from the server into this new folder, the only ones still active are Maintenance Mode and a Back up Utility.
    I also moved the theme directory and the child theme directory into the ‘Plug-ins off’ folder, but the error is still occurring.
    I have spoken to the site host, and he has reduced the disk quota from 4GB to 2GB so the CPU does not get taxed for so long.
    I have seen this sort of problem raised before, but they are now closed to further comment.
    This is what is look like:

    [05-Aug-2019 11:01:08 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /home/bazarafrica/public_html/wp-includes/class-wp-hook.php on line 275
    [05-Aug-2019 11:01:08 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/bazarafrica/public_html/wp-includes/class-wp-hook.php on line 277
    [05-Aug-2019 11:01:08 UTC] PHP Warning: next() expects parameter 1 to be array, null given in /home/bazarafrica/public_html/wp-includes/class-wp-hook.php on line 291

    • This topic was modified 10 months ago by maridadi.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steve Stern


    Support Team Volunteer

    Try doing a manual reinstallation of WordPress.

    Delete wp-admin, wp-includes and all the “loose” PHP files in the site root except for wp-config.php. Download the latest WP from, unzip locally, and upload the resulting files/directories via FTP.



    Thank you for this information. However, I did that a couple of days ago, when I moved the plugins, and it made no difference. The problem is still occurring.

    Moderator Steve Stern


    Support Team Volunteer

    Please install the health check plugin and report back its detailed findings:



    This is what shows in Site Health/info (87%)
    ### wp-core ###

    version: 5.2.2
    site_language: en_GB
    user_language: en_GB
    permalink: /%postname%/
    https_status: true
    user_registration: 0
    default_comment_status: closed
    multisite: false
    user_count: 33
    dotorg_communication: true

    ### wp-paths-sizes ###

    wordpress_path: /home/bazarafrica/public_html
    wordpress_size: 1.51 GB (1617603579 bytes)
    uploads_path: /home/bazarafrica/public_html/wp-content/uploads
    uploads_size: 953.32 MB (999629114 bytes)
    themes_path: /home/bazarafrica/public_html/wp-content/themes
    themes_size: 3.05 MB (3200933 bytes)
    plugins_path: /home/bazarafrica/public_html/wp-content/plugins
    plugins_size: 29.32 MB (30739858 bytes)
    database_size: 107.64 MB (112866402 bytes)
    total_size: 2.57 GB (2764039886 bytes)

    ### wp-active-theme ###

    name: Twenty Nineteen
    version: 1.4
    author: WordPress Team
    parent_theme: none
    theme_features: automatic-feed-links, title-tag, post-thumbnails, menus, html5, custom-logo, customize-selective-refresh-widgets, wp-block-styles, align-wide, editor-styles, editor-style, editor-font-sizes, editor-color-palette, responsive-embeds, widgets
    theme_path: /home/bazarafrica/public_html/wp-content/themes/twentynineteen

    ### wp-themes (2) ###

    Twenty Seventeen: version: 2.2, author: the WordPress team
    Twenty Sixteen: version: 2.0, author: The WordPress Team

    ### wp-mu-plugins (1) ###

    Health Check Troubleshooting Mode: author: (undefined), version: 1.6.0

    ### wp-plugins-active (3) ###

    Health Check & Troubleshooting: version: 1.3.2, author: The community
    UpdraftPlus – Backup/Restore: version: 1.16.16, author: UpdraftPlus.Com, DavidAnderson
    WP Maintenance Mode: version: 2.2.4, author: Designmodo

    ### wp-media ###

    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1684
    imagemagick_version: ImageMagick 6.9.4-10 Q16 x86_64 2017-05-23
    imagick::RESOURCETYPE_AREA: 125 GB
    imagick::RESOURCETYPE_DISK: 1.844674407371E+19
    imagick::RESOURCETYPE_FILE: 7500
    imagick::RESOURCETYPE_MAP: 125 GB
    gd_version: bundled (2.1.0 compatible)
    ghostscript_version: 9.07

    ### wp-server ###

    server_architecture: Linux 3.10.0-962.3.2.lve1.5.24.8.el7.x86_64 x86_64
    httpd_software: LiteSpeed
    php_version: 7.2.20 64bit
    php_sapi: litespeed
    max_input_variables: 5000
    time_limit: 30
    memory_limit: 256M
    max_input_time: -1
    upload_max_size: 128M
    php_post_max_size: 128M
    curl_version: 7.62.0 OpenSSL/1.0.2k
    suhosin: false
    imagick_availability: true
    htaccess_extra_rules: true

    ### wp-database ###

    extension: mysqli
    server_version: 10.1.41-MariaDB
    client_version: 10.1.40-MariaDB

    ### wp-constants ###

    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/bazarafrica/public_html/wp-content
    WP_PLUGIN_DIR: /home/bazarafrica/public_html/wp-content/plugins
    WP_DEBUG: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined

    ### wp-filesystem ###

    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable


    Moderator Steve Stern


    Support Team Volunteer

    Drat. I was hoping that something there would stand out but it all looks OK.



    Thank you for trying. Any help gratefully received, as cannot use my site at all.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘HUGE ERROR LOG’ is closed to new replies.