Title: Directorist causing 503 errors
Last modified: February 9, 2025

---

# Directorist causing 503 errors

 *  Resolved [gleninnesnews](https://wordpress.org/support/users/gleninnesnews/)
 * (@gleninnesnews)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/directorist-causing-503-errors/)
 * Hi.
 * Earlier this evening I started encountering a 503 error whenever trying to navigate
   to a post on my website The text below is the reply I received from my host when
   I asked them about the problem. I have deactivated the Directorist plugin until
   we can get this resolved.
   The error appears to be caused by the Directorist plugin,
   specifically due to an undefined variable `$time_type` in the code of the plugin.
   Additionally, the error log shows the following issue:`<br>[09-Feb-2025 15:24:
   20 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_generate_attachment_metadata()
   in /home/ginews/public_html/wp-content/plugins/directorist/includes/classes/class-
   background-image-process.php:83<br>`This error originates from the plugin’s background
   image process functionality.We recommend reaching out to your developer or the
   Directorist plugin developer to address this issue.

Viewing 1 replies (of 1 total)

 *  [rashed848](https://wordpress.org/support/users/rashed848/)
 * (@rashed848)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/directorist-causing-503-errors/#post-18300416)
 * Hello [gleninnesnews](https://wordpress.org/support/users/gleninnesnews/) !
   Thank
   you for reaching out. The error you’re experiencing doesn’t seem to be occurring
   globally, so it may be site-specific. However, we understand the impact this 
   can have on your website, and we’d be happy to assist.
 * To resolve this efficiently, please reach out to our **technical support team**
   via our official support channel on our website. Our team can investigate the
   issue further and provide a solution tailored to your setup.
   Kind Regards.

Viewing 1 replies (of 1 total)

The topic ‘Directorist causing 503 errors’ is closed to new replies.

 * ![](https://ps.w.org/directorist/assets/icon-256x256.gif?rev=3185058)
 * [Directorist: AI-Powered Business Directory, Listings & Classified Ads](https://wordpress.org/plugins/directorist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/directorist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/directorist/)
 * [Active Topics](https://wordpress.org/support/plugin/directorist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/directorist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/directorist/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [rashed848](https://wordpress.org/support/users/rashed848/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/directorist-causing-503-errors/#post-18300416)
 * Status: resolved