Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Griffinit

    (@griffinit)

    @gappiah Thanks. I assigned 64MB and this has cured the issue. All plug-ins now activated.

    Forum: Fixing WordPress
    In reply to: Plug-Ins limit?
    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 1 year, 6 months ago by Griffinit.
    Thread Starter Griffinit

    (@griffinit)

    I’ve now also tried deleting the limit attempts directory by ftp, then re-installing via dashboard.

    This also makes no difference.

    Incidentally, when I did the delete plug-in from dashboard, and then re-installed, it remembered the settings I’d changed, which also seems odd.

    Actually I keep saying admin, but in fact it says only 1 attempt left before I put in username, so I guess I should be saying my IP adress. I also tried clearing cookies.

    A slight password mistype and I’ll lock myself out of my own wp site. Also, I’ve noticed that if by mistake I press the return key without having filled in any login username/password, it thinks it is a failed login so I only need to do this by mistake to lose my current 1 login allowed. It’s quite easy to do. I’ve done it more than once.

    So, I’ve tried everything suggested by other users and nothing has made any difference.

    I can’t continue with admin only having 1 more login attempt.

    Help!

Viewing 3 replies - 1 through 3 (of 3 total)