• Hi,

    I received a couple of emails from WordPress with the following error message

    Error Details
    =============
    An error of type E_ERROR was caused in line 80 of the file /home/xxxxxxx/xxxxxxxxx/public_html/wp-content/themes/urbango/framework/lib/icons-pack/font-awesome/fontawesome-class.php. Error message: Out of memory (allocated 35651584) (tried to allocate 20480 bytes)

    An error of type E_ERROR was caused in line 55 of the file /home/xxxxxxx/xxxxxxx/public_html/wp-content/plugins/s2member/src/includes/functions/class-autoloader.inc.php. Error message: Out of memory (allocated 35651584) (tried to allocate 16384 bytes)

    As it says, the memory limit is 34MB, but that is not the case.

    I have tested with PHPinfo file and the limits are as follows

    post_max_size            100M
    max_execution_time	 100
    max_file_uploads	 20M
    max_input_nesting_level  64
    max_input_time	         100
    max_input_vars	         5000
    memory_limit             256M

    I also checked the Site Health Info tab and this is what that looks like

    PHP version	        7.4.16 (Supports 64bit values)
    PHP SAPI	        fpm-fcgi
    PHP max input variables	5000
    PHP time limit	        1300
    PHP memory limit	256M
    Max input time	        100
    Upload max filesize	100M
    PHP post max size	100M

    Where is it getting the 34MB memory limit number from?

    • This topic was modified 3 years, 7 months ago by attiqfsd.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you checked your wp-config.php

    does it contain a line like define('WP_MEMORY_LIMIT',.... ?

    Thread Starter attiqfsd

    (@attiqfsd)

    Sorry for the late reply

    Yes, it contains these lines

    define( 'WP_MEMORY_LIMIT', '128M' );
    define( 'WP_MAX_MEMORY_LIMIT', '128M' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Limits Not Working’ is closed to new replies.