MailChimp Addon: error page 500

This topic contains 10 replies, has 4 voices, and was last updated by  Patrik 5 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #3691

    lorenzo m.
    Free User
    Post count: 3

    Hi,

    I purchased the MailChimp extension, I entered the required values (Api KEY and List ID) but at the time of registration I get a page 500 error …
    So I tried to activate WP_DEBUG and get the following message:

    Fatal error: Uncaught Error: Class ‘UWP_MailChimp’ not found in /home/ygpsejgq/public_html/wp-content/plugins/uwp_mailchimp/includes/functions.php:12 Stack trace: #0 /home/ygpsejgq/public_html/wp-content/plugins/uwp_mailchimp/includes/functions.php(79): uwp_mailchimp_send_subscription(‘lorenzo974@gmai…’) #1 /home/ygpsejgq/public_html/wp-includes/class-wp-hook.php(286): uwp_mailchimp_subscribe_user(true, Array, ‘register’, 30) #2 /home/ygpsejgq/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(true, Array) #3 /home/ygpsejgq/public_html/wp-content/plugins/userswp/includes/class-forms.php(370): apply_filters(‘uwp_after_extra…’, true, Array, ‘register’, 30) #4 /home/ygpsejgq/public_html/wp-content/plugins/userswp/includes/class-forms.php(51): UsersWP_Forms->process_register(Array, Array) #5 /home/ygpsejgq/public_html/wp-includes/class-wp-hook.php(286): UsersWP_Forms->handler(”) #6 /home/ygpsejgq/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #7 /home/ygpsejgq/public_html/w in /home/ygpsejgq/public_html/wp-content/plugins/uwp_mailchimp/includes/functions.php on line 12

    I think there’s something that’s not working …
    I am using WordPress 5.0.3

    Can you solve?
    Thank you

    #3696

    Paolo
    Site Admin
    Post count: 31206

    That’s very strange. Could you please provide a link and admin credentials and possibly FTP credentials too?

    A developer will have a look as soon as possible.

    Thank you,

    #3704

    lorenzo m.
    Free User
    Post count: 3
    This reply has been marked as private.
    #3707

    Paolo
    Site Admin
    Post count: 31206

    Thanks, the develop is looking into it and we’ll get back to you asap.

    #3709

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #3711

    lorenzo m.
    Free User
    Post count: 3
    This reply has been marked as private.
    #3712

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #3713

    lorenzo m.
    Free User
    Post count: 3

    I checked the registration form and now it works fine, thanks for the fix!
    Lorenzo

    #3723

    zodiac1978
    Free User
    Post count: 3

    I have the same problem but I can’t see any solution as most of the posts are marked private. How can I fix this problem?

    Any help is much appreciated!

    All the best,
    Torsten

    #3724

    zodiac1978
    Free User
    Post count: 3

    I think I have found the problem:

    In line 103 of uwp_mailchimp.php the line:

    if ( !class_exists( 'MailChimp' ) ) {

    needs to be changed to:

    if ( !class_exists( 'UWP_MailChimp' ) ) {

    Then it works for me.

    All the best,
    Torsten

    #3725

    Patrik
    Moderator
    Post count: 1971

    Hi,

    It doesn’t need to check if the class exists for ‘UWP_MailChimp’ as only our add on will be using that class. We have put the condition to check if ‘MailChimp’ class exists or not because there might be other plugins using the same library which we are using so it may be possible they already defined that class. So you can now remove that condition and it should work fine.

    We are working on changing settings interface for UsersWP and it’s add ons so we will release the changes asap after testing.

    Regards,
    Patrik

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket