Title: Error functions-admin.php
Last modified: May 29, 2019

---

# Error functions-admin.php

 *  Resolved [bredgade54](https://wordpress.org/support/users/bredgade54/)
 * (@bredgade54)
 * [7 years ago](https://wordpress.org/support/topic/error-functions-admin-php/)
 * Hi,
 * Wordpress sends out an auto-generated mail with follow-up. error message:
 * Error Details
    ============= An error of type E_ERROR was caused in line 66 of
   the file /var/www/www.mypage.dk/www/wp-content/plugins/members/admin/functions-
   admin.php. Error message: Cannot redeclare () (previously declared in /var/www/
   www.mypage.dk/www/wp-content/plugins/members/admin/functions-admin.php:81) ==
   ===========
 * I have asked my hosting company and they say that the error is something about
   it being an old way to code it.
 * I use your plugin on several pages and there seems to be no problem logging in
   to admin etc..
 * Hope to still update this fine plugin.
 * BR, Pete

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

 *  [Justin Tadlock](https://wordpress.org/support/users/greenshady/)
 * (@greenshady)
 * [7 years ago](https://wordpress.org/support/topic/error-functions-admin-php/#post-11585677)
 * Sounds like you may have gotten a corrupted copy of the plugin or something else
   really odd is going on. That error message doesn’t make sense for that bit of
   code, at least not that I can see. I’d try deleting and reinstalling a fresh 
   copy to see if that clears things up.
 * If your host has any specific notes, I’ll be happy to look them over. Outside
   of that, the code on those lines looks fine to me.
 *  Thread Starter [bredgade54](https://wordpress.org/support/users/bredgade54/)
 * (@bredgade54)
 * [7 years ago](https://wordpress.org/support/topic/error-functions-admin-php/#post-11592439)
 * Hi Justin,
 * Thanks for quick response,
 * Backend log: The WC_Cart->taxes function is deprecated since version 3.2. Replace
   with getters (WC_Cart::get_cart_contents_taxes()) and setters (WC_Cart::set_cart_contents_taxes()).\
   n, referer: [https://www.mypage.dk/wp-admin/](https://www.mypage.dk/wp-admin/)
 * BR, Pete
 *  [Justin Tadlock](https://wordpress.org/support/users/greenshady/)
 * (@greenshady)
 * [7 years ago](https://wordpress.org/support/topic/error-functions-admin-php/#post-11593390)
 * That doesn’t have anything to do with the Members plugin. Looks like it’s from
   something called `WC_Cart`. Perhaps that’s a part of WooCommerce?

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

The topic ‘Error functions-admin.php’ is closed to new replies.

 * ![](https://ps.w.org/members/assets/icon-256x256.png?rev=3508404)
 * [Members - Membership & User Role Editor Plugin](https://wordpress.org/plugins/members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/members/)
 * [Active Topics](https://wordpress.org/support/plugin/members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/members/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Justin Tadlock](https://wordpress.org/support/users/greenshady/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/error-functions-admin-php/#post-11593390)
 * Status: resolved