• Resolved stewartdan

    (@stewartdan)


    When I attempt to edit resumes I get this error message:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 19456 bytes) in /home/content/63/9591463/html/abilitiesforbusiness/wp-admin/includes/deprecated.php on line 535

    I looked in the drprecated.php file on line 535 and find this:

    if ( $this->role ) {
    $this->query_from .= ” INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id”;
    $this->query_where .= $wpdb->prepare(” AND $wpdb->usermeta.meta_key = ‘{$wpdb->prefix}capabilities’ AND $wpdb->usermeta.meta_value LIKE %s”, ‘%’ . $this->role . ‘%’);
    } elseif ( is_multisite() ) {
    $level_key = $wpdb->prefix . ‘capabilities’; // wpmu site admins don’t have user_levels
    $this->query_from .= “, $wpdb->usermeta”;
    $this->query_where .= ” AND $wpdb->users.ID = $wpdb->usermeta.user_id AND meta_key = ‘{$level_key}'”;
    }

    I am not a php programmer so I’m just posting the code for assistance.

    The site is hosted on godaddy.com.

    -dan

The topic ‘Cannot edit resumes’ is closed to new replies.