• Resolved l1z0b

    (@l1z0b)


    Hi,
    I’m encountering a fatal error when trying to edit a post using a user account with the Editor role. The error message is:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 192512 bytes) in /wp-includes/class-wp-scripts.php on line 524

    This happens only for Editors. If I log in with an Administrator account, everything works fine and I can edit posts without any issues.

    After some testing, I found that deactivating the Admin Columns plugin completely resolves the problem, so it seems to be related.

    Do you have any suggestions or workarounds to prevent this error while keeping the plugin active for Editors?

    Thanks in advance for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Thanks for your feedback. Just to be sure, do you have the issue when you’re on the edit post page and save a post? Our plugin does nothing on the edit page, so it is strange you have an issue on the edit page. If you can config if this is the case, we can dive in to the resourses being used on the edit page.

    Thread Starter l1z0b

    (@l1z0b)

    Thanks for your reply.
    The error occurs when I click to modify the post, before the edit screen even loads.
    It doesn’t happen for Administrator users, but it does happen for all other roles (e.g. Editor).

    Let me know if you need more details or if there’s anything I can check on my side.

    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Although our plugin doesn’t actively modify anything on the edit post page, it is loaded during that request, so it’s possible that something indirectly triggered by our plugin (e.g. third-party integration, column configuration, or memory-intensive hook) is contributing to the issue — especially if it only occurs for non-Administrator roles.

    To help us investigate further, could you let us know the following:

    1. Which version of Admin Columns are you running?
    2. Do you have any third-party integrations enabled (like ACF, WooCommerce, Pods, etc.)?
    3. Are there any custom columns or filters that behave differently depending on the user role?

    Also, could you check if increasing the memory limit temporarily resolves the issue? You can do this by adding the following line to your wp-config.php file (if it’s not already there):

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

    This would help us confirm whether the issue is indeed memory-related.

    If you’d prefer to troubleshoot this more directly with us, feel free to reach out via [email protected] and we’ll take a closer look with you.

    Thread Starter l1z0b

    (@l1z0b)

    Thank you for the follow-up.

    I’m currently using Admin Columns version 4.7.7.

    The site uses several plugins, here’s the full list:

    ACF Photo Gallery Field
    Advanced Custom Fields PRO
    Advanced WordPress Backgrounds
    Converter for Media
    Custom Post Type UI
    Forminator
    iubenda | All-in-one Compliance for GDPR / CCPA Cookie Consent + more
    Lightbox with PhotoSwipe
    Max Mega Menu
    Redux Framework
    Regenerate Thumbnails
    Safe SVG
    Site Kit by Google
    Trackserver
    Traduzione di stringhe Wpml
    WP Custom Admin Interface
    WPML Media Translation
    WPML Multilingual CMS
    Yoast SEO

    There are no custom columns or filters that behave differently based on user roles — at least, none that I’ve configured intentionally.

    I’ve tested the memory limit increase by adding define('WP_MEMORY_LIMIT', '256M'); to wp-config.php, but the error still appears. In fact, the message changes to indicate that even more memory would be needed.

    Let me know if you’d like me to send anything else that could help investigate further.

    Thanks again.

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

The topic ‘Fatal error with Editor role when editing posts – memory exhausted’ is closed to new replies.