memory waste

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  CTHthemes 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33249

    codefather
    Participant

    Support Expired

    Hi
    I’ve got
    PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2097152 bytes) in /home/w/wpelement/wordpress_1/public_html/wp-content/plugins/citybook-add-ons/elementor/listings_slider.php on line 345

    while i have memory limit 256М
    I think it is quite enough for WP. what can be done with your add-ons to use memory more frugally?

    #33254

    CTHthemes
    Keymaster

    In this case you must set number of listings display to smaller value ( 50 or 100 instead of -1 ): http://prntscr.com/o0d48t

    Or trying set memory limit to 512М

    #33433

    codefather
    Participant

    Support Expired

    is there ability to change this setting from Admin Panel or DB? I can’t open Slider Editor from your screen because of th error

    #33451

    CTHthemes
    Keymaster

    You can edit CityBook Add-Ons plugin’s file with the code bellow: http://prntscr.com/o376cm

    $post_args['posts_per_page'] = 10;

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

New featues: CityBook - Listing & Directory WordPress Theme version 2.1.8 was outUpdate now
+