• Resolved bredgade54

    (@bredgade54)


    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)
  • 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

    (@bredgade54)

    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/

    BR, Pete

    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.