• Resolved dimal

    (@dimalifragis)


    Hi,

    WP Version 6.5.5 and PHP 8.2 (tried also 8.1).

    The error:

    [13-Oct-2025 09:09:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wp_generate_attachment_metadata() in /home/public_html/wp-content/plugins/directorist/includes/classes/class-background-image-process.php:83
    Stack trace:
    #0 /home/public_html/wp-content/plugins/directorist/includes/classes/class-abstract-background-process.php(107): Directorist\Background_Image_Process->task()
    #1 /home/public_html/wp-content/plugins/directorist/includes/classes/class-background-image-process.php(52): Directorist\Background_Process->handle()
    #2 /home/public_html/wp-includes/class-wp-hook.php(324): Directorist\Background_Image_Process->handle_cron_healthcheck()
    #3 /home/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #4 /home/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    #5 /home/public_html/wp-cron.php(191): do_action_ref_array()
    #6 {main}
      thrown in /home/public_html/wp-content/plugins/directorist/includes/classes/class-background-image-process.php on line 83

    Any ideas?

    I wun Directorist Version 7.12.7 because updating to 8x doesn’t work well for me and i can’t solve the issue.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dimal

    (@dimalifragis)

    I thin i found the issue of the error. Recent TAGS started with an “#” and removing those seems to fix the issue.

    Not 100% sure since it has been a few hours but i think so. I will update here after 1 day.

    Thread Starter dimal

    (@dimalifragis)

    Fixed.

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

The topic ‘PHP Fatal error: Uncaught Error: Call to undefined function wp_generate_attachm’ is closed to new replies.