• My Worpress installation was running well, no problems. But then I upgraded my entire installation, all plug-ins, themes, php, and wordpress. Got no errors or anything. Now running WordPress 6.3.1

    Trying to log in to my Dashboard I get message:

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    I’ve checked my inbox but there’s no message.

    I tried logging in to the Dahboard without any of the plug-ins activated (via renaming plugins directory) and it works correctly, I can log in successfully. So I started activating plugins to see which might be the problem. I found I can only activate up to 6 plug-ins, activating the seventh one gives the error message as stated for logging in. It can be any 6 of the plug-ins activated, whichever plug-in is the 7th to be activated, it gives the error.

    Any idea what is going on? I’ve checked there’s plenty of disc space.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The message you are seeing indicates a Fatal PHP error, and the issue appearing after activating a number of plugins indicates that any of the plugins activated causes the issue, potentially also only if activated together with other plugins.

    You should activate the WP Debug mode, repeat the steps that lead to the issue, and then read the debug.log file that gets generated inside your wp-content folder.
    It will, at some line, probably indicate a PHP Fatal error:.

    These details will then allow you to spot the potential issue, and either report it to the causing plugin, or perhaps fix it on your own, if it is an easy to fix issue.

    Thread Starter Griffinit

    (@griffinit)

    @bedas

    Thanks for this. I ran it using the debug and got this:

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 2621440 bytes) in /home/networkm/public_html/text/wordpress/wp-admin/includes/file.php on line 1675

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Curious my site admin inbox is empty but at least I know the fatal error.

    However, I have no idea what to do about this. The disc I have my WordPress system on has plenty of space and I don’t get why allowed memory size is exhausted or where the allowed limit is set.

    The code at line 1675 is :~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    for ( $i = 0; $i < $z->numFiles; $i++ ) {
        $info = $z->statIndex( $i );
    
        if ( ! $info ) {
            return new WP_Error( 'stat_failed_ziparchive', __( 'Could not retrieve file from archive.' ) );
        }
    
        if ( str_starts_with( $info['name'], '__MACOSX/' ) ) { // Skip the OS X-created __MACOSX directory.
            continue;
        }

    line 1675 is the return clause.

    Before I updated everything to latest versions everything worked fine!

    • This reply was modified 10 months, 3 weeks ago by Griffinit.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plug-Ins limit?’ is closed to new replies.