Viewing 15 replies - 1 through 15 (of 15 total)
  • I would recommend changing hosts, but if that’s not a possibility try adding this line to the bottom of your wp-config.php file:

    ini_set('memory_limit', '1024M');

    Also create a php.ini file in your root web directory with this line:

    memory_limit = 1024M

    You can’t change it at the server level, but you might be able to change it at the local user level. One or the other will work if your host hasn’t prevented you access to those settings.

    [Link redacted]

    Thread Starter brewrecords

    (@brewrecords)

    OK I did that, the message has gone but now it is just showing a blank page.

    Any further advice?

    Thanks

    http://tickets.tonemgmt.com/cart/?wootickets_process=1

    Thread Starter brewrecords

    (@brewrecords)

    PHP Version : 5.6.8 / 64Bit OS
    Memory limit : 1024 MB
    Memory usage : 47.82 MB 5%

    Hmmm this is weird because it states I am only using 5% memory….

    Like I say I only have 3 plugins running,

    The Events Calendar
    The Events Calendar: WooCommerce Tickets
    WooCommerce

    All respectable, I dont have access to the ini file to delete, nor do I really have time to switch hosts, any other approaches welcome.

    Thanks

    Edit your wp-config.php

    define('WP_MEMORY_LIMIT', '64M');

    Why would you have him lower his memory limit? Besides, WP_MEMORY_LIMIT does the exact same as using ini_set(‘memory_limit’, …

    Thread Starter brewrecords

    (@brewrecords)

    None of these work, shame.

    Any other ideas?

    Fatal error: Out of memory (allocated 393740288) (tried to allocate 130968 bytes) in /customers/6/f/7/tonemgmt.com/httpd.www/tickets/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 260

    Thread Starter brewrecords

    (@brewrecords)

    The plot thickens.

    I read here for a fix: https://theeventscalendar.com/support/forums/topic/wootickets-not-working-after-updating-woocommerce-to-2-3-0-and-then-to-2-3-1/

    Installed the plugin fine, now when I add to cart I get the following 404 error

    404 – NOT FOUND

    Only other possible, but unlikely solution would be to install one of the caching plugins like WP Super Cache or APC Cache and hope that the optimization will be enough to get you within the memory limit. APC cache will only work if it already exists on your server.

    But as a PHP developer with over 10 years of experience, if you can’t increase your memory limit, there is no simple solution.

    Consider the act of switching hosts as a long term forward-looking solution. [Moderator note: Just forward people onto this page, thank you] WPengine.com actively maintains optimized and secure versions of common plugins. There is really no reason to suffer on outdated limited shared hosting.

    Thread Starter brewrecords

    (@brewrecords)

    Just getting a 404 error now so that is a seporate issue?

    Go to Settings -> Permalinks and hit “Save Changes.” Does that fix it?

    Thread Starter brewrecords

    (@brewrecords)

    No πŸ™

    Almost afraid to [CENSORED] anything [CENSORED] for it shall most likely [CENSORED].

    The 404 is most likely a permalink issue as I mentioned, but perhaps when you installed the plugin it modified a setting that sets the permalink.

    Have you tried at their support forums? They know the product much more intimately, I’m just taking stabs in the dark. Sorry, did my best.

    Sincerely,
    [CENSORED]

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @acchiappaprezzo, It may be worth reading the forum welcome if you’re still unsure. If you want to discuss any points about the WordPress.org forums then you can open a thread on the Misc. forum: https://wordpress.org/support/forum/miscellaneous#postform

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @brewrecords, Please make sure you post on your plugin’s support section: https://wordpress.org/support/plugin/woocommerce#postform

    @anevins, When one reaches the point of being censored for unwritten violations, it’s best he bites his tongue. I appreciate the offer though.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Fatal error: Allowed memory size (Again) :(’ is closed to new replies.