Forums

[resolved] eShop plugin gives error at checkout - Cannot redeclare class paypal_class (10 posts)

  1. Mike
    Member
    Posted 11 months ago #

    I am using eShop on the site I am currently building at https://colorpuncture.org/newsite/products-page/. When I add a product and then go to checkout I can give all my info like address, etc. however, when I click "Proceed to Conrmation" I get this error:

    Fatal error: Cannot redeclare class paypal_class in /home/content/48/7578448/html/newsite/wp-content/plugins/eshop/paypal/paypal.class.php on line 78

    Other threads suggested deleting the plugin and reinstalling. I tried this but no luck. Any help would be greatly appreciated!

  2. elfin
    Moderator
    Posted 11 months ago #

    what other plugins have you got installed? have you tried deactivating them? what theme do you use? have you tried in the default twentyten theme?

  3. Mike
    Member
    Posted 11 months ago #

    Thanks for your reply!! I disabled Event Espresso and that fixed the problem. However, I need Event Espresso also.. Any ideas how to get these plugins to work together?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 11 months ago #

    Since you also posted this on eShop's own forum, why don't you stick to just the one thread at a time? Answering the same question in multiple places is unnecessary work that we could do without: :-/

  5. Mike
    Member
    Posted 11 months ago #

    I didn't know you watched both forums and was looking for a wider audience, my apologies.

    So is the answer here just to go to Event Espresso? Do you have any idea where I could edit out paypal_class in eShop?

  6. elfin
    Moderator
    Posted 11 months ago #

    It will be changed in the next update within eShop.

  7. Mike
    Member
    Posted 11 months ago #

    Thanks for the update. Since I'll be live on this site very soon, would it be possible to point me in the right direction to edit the code for the paypal_class?

    In the mean time I'll chcek with Event Espresso support to see if I can make a change there to avoid the conflict.

  8. Mike
    Member
    Posted 10 months ago #

    I believe I have this fixed so just want to post an update.

    For those of you that use Event Espresso you will find that there is a conflict with eShop. The fix for this is easily put into Event Espresso.

    Rename the file includes/paypal.class.php to something else (i.e. eventpaypal.class.php)

    Update the require statement in the primary event_regis.php file to reflect the new filename of paypal.class.php.

    That seemed to do it..

  9. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    The new version of eShop was released yesterday - with the paypal class file also renamed. :-)

  10. Mike
    Member
    Posted 10 months ago #

    Hilarious.. I just downloaded it today and I saw that it fixed a "minor PayPal issue." I was wondering if that was the update..

    Thanks for your help. I guess I can make Event Espresso standard again.

    Mike

Reply

You must log in to post.

About this Topic