Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Getting error: No state field listed in checkout #63747
    Greta
    Participant

    I tried this and for about a week there were no issues. I am now getting the following error again:

    PHP Fatal error: Cannot redeclare class OAuthDataStore in /home/cmgerbil/public_html/wp-content/plugins/wc-vendors/classes/gateways/PayPal_AdvPayments/PayPal_AP/classes/adaptivepayments-sdk/lib/auth/PPAuth.php on line 825

    in reply to: Getting error: No state field listed in checkout #62641
    Greta
    Participant

    Hi Anna,

    I used the Store front theme and was able to select my state field, so I was able to determine it was a theme issue.

    I spoke with the theme developers and we updated the theme and the corresponding woo commerce theme files. After testing, I can now use my theme and see the state field at check out. thank you!

    We have run into another problem, however, with our Adaptive Payments system. We are getting a 500 Internal Server error every time someone tries to check out. It should be noted that we are ONLY using Adaptive Payments PayPal and all other payment options (including PayPal standard) are disabled.

    Here is what I have found so far. I was getting the PHP Log error:

    PHP Fatal error: Cannot redeclare class OAuthDataStore in /home/fabianscott8/public_html/wp-content/plugins/wc-vendors/classes/gateways/PayPal_AdvPayments/PayPal_AP/classes/adaptivepayments-sdk/lib/auth/PPAuth.php on line 825

    I went to line 825 and found this:

    // if ( !class_exists( ‘OAuthDataStore’ ) ) { // If you experience clashes with other OAuthDataStore classes, uncommenting this line and the closing curly brace
    // at the end of the class declaration MAY help you.
    class OAuthDataStore
    {
    function lookup_consumer( $consumer_key )
    {
    // implement me
    }

    function lookup_token( $consumer, $token_type, $token )
    {
    // implement me
    }

    function lookup_nonce( $consumer, $token, $nonce, $timestamp )
    {
    // implement me
    }

    function new_request_token( $consumer, $callback = null )
    {
    // return a new token attached to this consumer
    }

    function new_access_token( $token, $consumer, $verifier = null )
    {
    // return a new access token attached to this consumer
    // for the user associated with this token if the request token
    // is authorized
    // should also invalidate the request token
    }

    }
    // } // This is the curly brace to uncomment

    Sooo I went ahead and uncommented the } and saved the file and re-uploaded it to the WC Vendor plugin directory which is home/cmgerbil/public_html/wp-content/plugins/wc-vendors/classes/gateways/PayPal_AdvPayments/PayPal_AP/classes/adaptivepayments-sdk/lib/auth/PPAuth.php

    After refreshing and trying a test payment again at the check out page, I am STILL getting a 500 Internal Error. The PHP error log is now showing this:

    PHP Parse error: syntax error, unexpected ‘}’ in /home/cmgerbil/public_html/wp-content/plugins/wc-vendors/classes/gateways/PayPal_AdvPayments/PayPal_AP/classes/adaptivepayments-sdk/lib/auth/PPAuth.php on line 856

    THAT IS THE EXACT LINE I JUST UNCOMMENTED!

    } // This is the curly brace to uncomment

    PayPal and my host provider and my theme provider have updated everything and all my permissions are working correctly. PLEASE PLEASE help me fix this. I’ve already lost 4 customers this week and we are a very small business so that is a HUGE loss for us. HELP!

    Here is the lastest WOO COMMERCE STATUS REPORT:

    
    ### WordPress Environment ###
    
    Home URL: http://moonbreezegerbils.com
    Site URL: http://moonbreezegerbils.com
    WC Version: 3.0.4
    Log Directory Writable: ✔
    WP Version: 4.7.4
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.30
    PHP Post Max Size: 8 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 1000
    cURL Version: 7.53.1
    OpenSSL/1.0.1e
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.35
    Max Upload Size: 8 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.0.4
    WC Database Prefix: wp_
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    MaxMind GeoIP Database: ✔
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (21) ###
    
    LayerSlider WP: by Kreatura Media – 6.3.0
    Breedr: by Lazhar Ichir – 1.52
    CMSMasters Contact Form Builder: by cmsmasters – 1.3.3
    CMSMasters Content Composer: by cmsmasters – 1.5.0
    CMSMasters Mega Menu: by cmsmasters – 1.2.4
    Contact Form 7 MailChimp Extension: by Renzo Johnson – 0.4.43
    Contact Form 7: by Takayuki Miyoshi – 4.7
    Custom Facebook Feed: by Smash Balloon – 2.4.5
    Duplicate Post: by Enrico Battocchi – 3.2
    Error Log Monitor: by Janis Elsts – 1.5.2
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 6.1.7
    Members: by Justin Tadlock – 1.1.3
    Slider Revolution: by ThemePunch – 5.4.3
    The Events Calendar: by Modern Tribe
    Inc. – 4.4.5
    
    TinyMCE Advanced: by Andrew Ozz – 4.4.3
    User Menus: by Jungle Plugins – 1.1.2
    Visitors Online by BestWebSoft: by BestWebSoft – 1.0.0
    WC Vendors: by WC Vendors – 1.9.10
    WooCommerce: by Automattic – 3.0.4
    Yoast SEO: by Team Yoast – 4.6
    YITH Custom Login: by YITHEMES – 1.1.3
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #2137 - /online-shop/
    Cart: #2138 - /cart/
    Checkout: #2139 - /checkout/
    My account: #2140 - /my-account/
    
    ### Theme ###
    
    Name: Pet Rescue
    Version: 1.1.8
    Author URL: http://cmsmasters.net/
    Child Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: pet-rescue/woocommerce/archive-product.php
    pet-rescue/woocommerce/checkout/form-shipping.php
    pet-rescue/woocommerce/checkout/thankyou.php
    pet-rescue/woocommerce/content-product.php
    pet-rescue/woocommerce/content-single-product.php
    pet-rescue/woocommerce/content-widget-product.php
    pet-rescue/woocommerce/global/sidebar.php
    pet-rescue/woocommerce/global/wrapper-end.php
    pet-rescue/woocommerce/global/wrapper-start.php
    pet-rescue/woocommerce/loop/loop-start.php
    pet-rescue/woocommerce/loop/pagination.php
    pet-rescue/woocommerce/single-product/meta.php
    pet-rescue/woocommerce/single-product/product-image.php
    pet-rescue/woocommerce/single-product/product-thumbnails.php
    pet-rescue/woocommerce/single-product/review.php
    pet-rescue/woocommerce/single-product/tabs/tabs.php
    pet-rescue/woocommerce/single-product-reviews.php
    pet-rescue/woocommerce/single-product.php
    
    
Viewing 2 posts - 1 through 2 (of 2 total)