• Resolved Simon Blackbourn

    (@lumpysimon)


    Hi

    I’ve just upgraded to 1.12 (from 1.11.9) and am seeing the following error, which wasn’t there before the upgrade:

    Warning! Jigoshop requires at least 64M of memory for WordPress! Your system currently has: 40M.

    My default PHP memory limit on my system is 128M, and WordPress assigns 40M to the WP_MEMORY_LIMIT constant by default.

    When in the admin area, the amount of memory available is defined by the WP_MAX_MEMORY_LIMIT, which in my case is the WordPress default of 256M.

    So it seems to me that Jigoshop should not be reporting an error in this case, as it in fact has 256M available in the admin area, and there is no reason for it to require more than the WordPress default on the front-end.

    Many thanks
    Simon

    https://www.ads-software.com/plugins/jigoshop/

Viewing 15 replies - 1 through 15 (of 16 total)
  • I am getting the same error after the upgrade and I have the same setup as the previous poster.

    Hello,

    Please add the following line:
    define( 'WP_MEMORY_LIMIT', '96M' );
    before wp-settings.php inclusion.

    Thread Starter Simon Blackbourn

    (@lumpysimon)

    Can you explain why this is needed? Everything ran fine before upgrading to 1.12, and I’ve never had to change the memory limit for any other plugins.

    Of course the line has to be added to the wp-config.php file in the main WP directory (forgot to mention it, sorry). It is needed as Jigoshop needs a little more memory to work now. This is the little cost of its great functionality, you could say!

    Where in wp-settings.php or wp-config.php do I add the line? I was trying to go by these instructions but they didn’t really specify where to add the code.

    Thanks!

    I added the following line in wp-config.php before the sentence ‘That’s all, stop editing! Happy blogging’.

    /* increase WP Memory Limit */
    define(‘WP_MEMORY_LIMIT’, ’64M’);

    and it work perfect.

    THANK YOU!!!

    Marking as resolved.

    stevemeyers

    (@stevemeyers)

    Where is this done at? In the Jigoshop plugin under edit or Wp I have no clue.Thanks

    stevemeyers

    (@stevemeyers)

    My Host says my memory is 250m so I exceed the minimum. Why do I still have the warning?

    Breinbrouwsels

    (@breinbrouwsels)

    This is a WP-thing, nothing to do with your host. You have to increase the memory limit in wp-config-php as mentioned here above. You cannot change this in Jigoshop. Use a FTP-client and find wp-config.php in the public_html-file of your domain.

    stevemeyers

    (@stevemeyers)

    Thanks, yes I am now in my domain php. It says 256
    I have contacted Hostgator and they have confirmed I have 256m

    Breinbrouwsels

    (@breinbrouwsels)

    That is the limit from Hostgator. Nothing to do with WP. WP needs his own limit to be set. And this setting is to low for Jigoshop so change it. Find the file WP-CONFIG.PHP somewhere in the root of your domain by using an FTP-client or filehandler in your Hostgators’ Admin.

    Breinbrouwsels

    (@breinbrouwsels)

    Replace this:
    And this setting is to low for Jigoshop so change it.
    for:
    And the default setting in WP now is to low for Jigoshop so change it.

    Trying to add this

    define(‘WP_MEMORY_LIMIT’, ’64M’);

    ANYWHERE to the wp-config.php in my install has completely rendered the website off the web… Now only a white page appears and I cannot get it to come back!! I have even take out the line that I added to the file as instructed…. My site is just GONE!!!! HELP

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Memory limit error after upgrade to 1.12’ is closed to new replies.