Title: Database error filling up PHP Error Log
Last modified: December 12, 2017

---

# Database error filling up PHP Error Log

 *  Resolved [andyben85](https://wordpress.org/support/users/andyben85/)
 * (@andyben85)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/database-error-filling-up-php-error-log/)
 * Our PHP error log is filling up every second with the following error message
   from User Access Manager plugin:
 * [12-Dec-2017 12:12:03 UTC] WordPress database error Unknown column ‘from_date’
   in ‘field list’ for query SELECT object_id AS id, object_type AS objectType, 
   from_date AS fromDate, to_date AS toDate
    FROM news_uam_accessgroup_to_object
   WHERE group_id = ‘1’ AND group_type = ‘UserGroup’ AND object_id != ” AND (general_object_type
   = ‘_post_’ OR object_type = ‘_post_’) AND (from_date IS NULL OR from_date <= ‘
   2017-12-12 12:12:03’) AND (to_date IS NULL OR to_date >= ‘2017-12-12 12:12:03’)
   made by require(‘C:\inetpub\UniversityNews2\wp-blog-header.php’), wp, WP->main,
   WP->query_posts, WP_Query->query, WP_Query->get_posts, apply_filters_ref_array,
   WP_Hook->apply_filters, call_user_func_array, UserAccessManager\Controller\Frontend\
   PostController->showPostSql, UserAccessManager\Controller\Frontend\PostController-
   >addQueryExcludedPostFilter, UserAccessManager\Access\AccessHandler->getExcludedPosts,
   UserAccessManager\Access\AccessHandler->getExcludedObjects, UserAccessManager\
   UserGroup\AbstractUserGroup->getAssignedObjectsByType, UserAccessManager\ObjectMembership\
   PostMembershipHandler->getFullObjects, UserAccessManager\ObjectMembership\ObjectMembershipWithMapHandler-
   >getFullObjectsByMap, UserAccessManager\ObjectMembership\ObjectMembershipHandler-
   >getSimpleAssignedObjects, UserAccessManager\UserGroup\AbstractUserGroup->getAssignedObjects,
   UserAccessManager\Database\Database->getResults
 * We first noticed when the error log had used up all available disk space on our
   server. We’ve cleared that down but the error log is still filling up.
 * What is causing this error?

Viewing 1 replies (of 1 total)

 *  Plugin Author [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * (@gm_alex)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/database-error-filling-up-php-error-log/#post-9774906)
 * Please go to the UAM setup and run the database repair function. It that doesn’t
   solve your issue please notice the following:
 * Please create an issue here: [https://github.com/GM-Alex/user-access-manager/issues](https://github.com/GM-Alex/user-access-manager/issues)
   
   See also [https://wordpress.org/plugins/user-access-manager/](https://wordpress.org/plugins/user-access-manager/)
   and [https://wordpress.org/support/topic/read-before-you-post-a-support-request/](https://wordpress.org/support/topic/read-before-you-post-a-support-request/):
 * >  Please report bugs and feature requests here: [https://github.com/GM-Alex/user-access-manager/issues](https://github.com/GM-Alex/user-access-manager/issues)
   > 
   > If you are a developer and want to contribute please visit [https://github.com/GM-Alex/user-access-manager](https://github.com/GM-Alex/user-access-manager)
   > For general questions, like how to setup, best practice and so on please use
   > the support thread here (**don’t post issues here**): [https://wordpress.org/support/plugin/user-access-manager](https://wordpress.org/support/plugin/user-access-manager)
 * The topic here will marked as resolved because I will not provide support here
   due the lack of overview. Of course this place can be used for discussions between
   UAM users.

Viewing 1 replies (of 1 total)

The topic ‘Database error filling up PHP Error Log’ is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * 1 reply
 * 2 participants
 * Last reply from: [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/database-error-filling-up-php-error-log/#post-9774906)
 * Status: resolved