Support » Plugin: Mailchimp for WooCommerce » addPromoRule() in class-mailchimp-woocommerce-single-coupon.php

  • Resolved applina

    (@applina)


    My System Info

    
    // Generated by the Send System Info Plugin //
    
    Multisite:                No
    
    SITE_URL:                 https://birsciukids.com
    HOME_URL:                 https://birsciukids.com
    
    WordPress Version:        4.9
    Permalink Structure:      /%post_id%_%postname%/
    Active Theme:             Birsciu Kids 1.0
    
    Registered Post Stati:    publish, future, draft, pending, private, trash, auto-draft, inherit, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed, spam
    
    Platform:                 Windows 
    Browser Name:             Chrome  
    Browser Version:          62.0.3202.94 
    User Agent String:        Mozilla/5.0 (Windows NT 10.0; Wi 
    			  n64; x64) AppleWebKit/537.36 (KH
                              TML, like Gecko) Chrome/62.0.320
                              2.94 Safari/537.36
                              
    PHP Version:              7.0.25
    MySQL Version:            5.6.37-log
    Web Server Info:          Apache
    
    WordPress Memory Limit:   256MB
    PHP Safe Mode:            No
    PHP Memory Limit:         1024m
    PHP Upload Max Size:      150M
    PHP Post Max Size:        150M
    PHP Upload Max Filesize:  150M
    PHP Time Limit:           180
    PHP Max Input Vars:       12000
    PHP Arg Separator:        &
    PHP Allow URL File Open:  Yes
    WP_DEBUG:                 Disabled
    
    WP Table Prefix:          Length: 3 Status: Acceptable
    
    Show On Front:            posts
    Page On Front:             (#0)
    Page For Posts:            (#0)
    
    WP Remote Post:           wp_remote_post() works
    
    Session:                  Enabled
    Session Name:             PHPSESSID
    Cookie Path:              /
    Save Path:                /home2/ybirscin/php_sessions
    Use Cookies:              On
    Use Only Cookies:         On
    
    DISPLAY ERRORS:           On (1)
    FSOCKOPEN:                Your server supports fsockopen.
    cURL:                     Your server supports cURL.
    SOAP Client:              Your server has the SOAP Client enabled.
    SUHOSIN:                  Your server does not have SUHOSIN installed.
    
    ACTIVE PLUGINS:
    
    Advanced Custom Fields Multilingual: 0.6
    Akismet Anti-Spam: 4.0.1
    BJ Lazy Load: 1.0.9
    Bulk Edit Products, Prices & Attributes for Woocommerce (Basic): 2.3.1
    CMB2: 2.2.6
    Cookie Notice: 1.2.40
    DHL Express/DHL Paket WooCommerce Shipping with Print Label: 3.3.5
    Duplicate Post: 3.2
    Duplicator: 1.2.30
    Easy Google Fonts: 1.4.3
    Enhanced E-commerce for Woocommerce store: 1.2.0.1
    Facebook for WooCommerce: 1.6.6
    Google XML Sitemaps: 4.0.9
    Jetpack by WordPress.com: 5.5
    Logo Carousel Slider: 2.0
    MailChimp for WooCommerce: 2.1.1
    Password Strength for WooCommerce: 1.0.1
    Regenerate Thumbnails: 2.3.1
    Send System Info: 1.3
    Simple Google reCAPTCHA: 2.7
    SiteOrigin CSS: 1.1.5
    Under Construction: 2.70
    UpdraftPlus - Backup/Restore: 1.13.12
    WooCommerce: 3.2.4
    WooCommerce Multilingual: 4.2.5
    WooCommerce PayPal Express Checkout Gateway: 1.4.5
    WooCommerce PDF Invoices & Packing Slips: 2.0.15
    WooCommerce Product CSV Import Suite: 1.10.16
    WooCommerce Product Image Flipper: 0.4.0
    Woo Product Images Slider: 1.3.0
    Wordfence Security: 6.3.21
    WP-Optimize: 2.1.1
    WP Content Copy Protection & No Right Click: 1.6
    WPML All Import: 2.0.4
    WPML CMS Nav: 1.4.21
    WPML Media: 2.2.1
    WPML Multilingual CMS: 3.8.4
    WPML Sticky Links: 1.4.2
    WPML String Translation: 2.6.3
    WPML Translation Management: 2.4.3
    WP Smush: 2.7.6
    WP Super Cache: 1.5.8
    WP Super Minify: 1.5.1
    YITH WooCommerce Ajax Product Filter: 3.4.6
    YITH WooCommerce Ajax Search: 1.5.4
    YITH WooCommerce Points and Rewards: 1.1.0
    YITH WooCommerce Wishlist: 2.1.2
    

    the error in my error_log_php are

    
    	Line 13407: [20-Nov-2017 13:38:04 UTC] PHP Fatal error:  Uncaught Error: Call to a member function addPromoRule() on boolean in /home2/ybirscin/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/processes/class-mailchimp-woocommerce-single-coupon.php:42
    	Line 13409: #0 /home2/ybirscin/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/vendor/queue/classes/worker/wp-worker.php(57): MailChimp_WooCommerce_SingleCoupon->handle()
    	Line 13410: #1 /home2/ybirscin/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/vendor/queue/classes/worker/wp-http-worker.php(63): WP_Worker->process_next_job()
    	Line 13416:   thrown in /home2/ybirscin/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/processes/class-mailchimp-woocommerce-single-coupon.php on line 42
    
Viewing 1 replies (of 1 total)
  • Hey there @applina

    Sorry for the delay in getting to your post here. Thanks for providing this report and the logging you were able to find.

    I was hoping you could provide some additional insight on how you’re seeing this error present itself. Specifically:
    – Do you see any unexpected behavior appear as a result of this logging?
    – Are you able to use the plugin as normal with making purchases and using e-commerce features in MailChimp?
    – Do these errors affect other parts of the site behaving normally?

    Thanks for providing this additional insight on symptoms of this for us. We’ll keep an eye out for your reply.

    – Malachite

Viewing 1 replies (of 1 total)
  • The topic ‘addPromoRule() in class-mailchimp-woocommerce-single-coupon.php’ is closed to new replies.