• Immediately after auto-updating the plugin I get the following error message on my site:

    Fatal error: Cannot redeclare add_local_pickup_method() (previously declared in /nfs/c09/h04/mnt/140732/domains/chesapeakenaturalhealth.com/html/wp-content/plugins/woocommerce/classes/shipping/class-wc-local-pickup.php:74) in /nfs/c09/h04/mnt/140732/domains/chesapeakenaturalhealth.com/html/wp-content/plugins/woocommerce-shipping-local-pickup/woocommerce-shipping-local-pickup.php on line 99

    Now I’m dead in the water. How can I undo or fix this?

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Just access your site via FTP and delete the folder – make sure to download it first to your local site and then delete it from your remote side. That will do the trick.

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    You can remove the local pickup extension – its been bundled, hence your error.

    Thread Starter naturedoctor

    (@naturedoctor)

    Thanks, that gets me back into admin on the site. Any insight as to why this happened or how to prevent in the future? Looks like it might be tied to the local shipping plugin somehow.

    Is there a way to install the previous version of woo commerce?

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Local pickup is now *included* in WooCommerce – the author contributed it. So to avoid in future, don’t install it again 🙂

    Hi all,

    I just checked my webpage and saw this–> http://www.collegiatesilver.com
    I have access to my admin page I am a WP n00b and don’t yet know how to change via FTP…. or really much at all.

    Can someone walk me through the process of recovering my site or reworking code to revert to the older version? I have no clue where to begin.

    Any help would be greatly appreciated!

    W

    Fatal error: Cannot redeclare add_local_pickup_method() (previously declared in /home/witgoedshopper.nl/public_html/witgoedshopper.nl/wp-content/plugins/woocommerce/classes/shipping/class-wc-local-pickup.php:159) in /home/witgoedshopper.nl/public_html/witgoedshopper.nl/wp-content/plugins/woocommerce-shipping-local-pickup/woocommerce-shipping-local-pickup.php on line 99

    Woocommerce is my webshop. Have a plugin installation done
    of Woocommerce shipping local pickup. And then error! See website! http://www.witgoedshopper.nl.

    Now I have through my hosting company (yourhosting) understand how to FTP in folder ‘plugins’ this local shipping delete but nothing helps!

    Who can help me? thank you!

    Roy Ho

    (@splashingpixelscom)

    That error simply just means there are two functions with the same name causing “redeclare” error.

    Assuming it is coming from a plugin, you can either rename the function to something else yourself and update all references to it or simply don’t use that plugin if there is already a built in function in WooCommerce that does it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WooCommerce] Plugin Update Crashed my WP site’ is closed to new replies.