Support » Plugin: Custom Sidebars - Dynamic Widget Area Manager » Allowed memory Exhausted

  • Resolved nitinmastermatics

    (@nitinmastermatics)


    We are using your plugin on SmartMag theme here: http://www.freepressjournal.net/business/wpi-inflation-at-6-month-high-of-3-59-onion-veggies-costlier/1170138

    Now if I go to admin to create a new sidebar for homepage, the Widget page does not load fully and in source I can see following:

    “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/fpjnet/public_html/wp-includes/wp-db.php on line 1889”

    To debug, I disabled “Custom Sidebars” temporarily and widget page started loading as expected.

    What might be causing the issue? I am using WP ver 4.9 and SmartMag ver 3.1.1.

    Please help.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hey @nitinmastermatics,

    Hope you’re well.

    How many Custom Sidebars are you using? Most of the time when users create lots of sidebars we can see memory out errors. Did you try to increase PHP memory_limit?

    Cheers,
    Oguz

    Plugin Author jdailey

    (@jdailey)

    Thank you for using Custom Sidebars. I am going to close this topic for now. If you still need help let us know and we can reopen the thread.

    Hi.
    I face this problem in my solution.
    I increase the memey_limit siz in php.ini file to 2048M ,and I still have the same error (Allowed memory Exhausted)

    Plugin Contributor Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @khudair

    Could you please access your server through FTP, edit wp-config.php file and insert the following line just above the /* That’s all, stop editing! Happy blogging. */ comment

    define('WP_MEMORY_LIMIT', '1024M');
    define('WP_MAX_MEMORY_LIMIT', '2048M');

    If this is still troubling you, please create a new thread about it here
    https://wordpress.org/support/plugin/custom-sidebars/#new-post
    let us know what my colleague mentioned above

    How many Custom Sidebars are you using? Most of the time when users create lots of sidebars we can see memory out errors.

    and we will carry on there shortly.

    Warm regards,
    Dimitris

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Allowed memory Exhausted’ is closed to new replies.