• Hi! When trying to access the “email log page” /admin.php?page=postman_email_log – I’m getting this “Fatal error”, and no log is displayed.

    (I’m using the latest Versions of WordPress as well the plugin; php 8, memory_limit is 256M.)

    The php error points to ln 2057 in wp-db.php, when I print_r the query, i get this query, which WP tries to executed, but fails:

    SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (6100,6099,6097,6091,6090, … 4805,4804,4803) ORDER BY meta_id ASC

    In the query there are about 600 Ids, since I have about 600 posts of post_type postman_sent_mail.

    When I delete 500 of that posts (of post_type postman_sent_mail) (via phpmyadmin), then everything works fine.

    So I assume this fatal error is somehow caused by your query which tries to query the meta info of all posts of type postman_sent_mail at once.

The topic ‘Fatal Error: Allowed memory size exhausted’ is closed to new replies.