Home Forums WC Vendors Pro Support Error on Vendor "Settings -> Shipping" page

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

  • This topic has 4 replies, 2 voices, and was last updated 7 years ago by Anna.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #57705
    Dylan Moore
    Participant

    Hey there. I’ve uploaded an image of the error and I’ll explain my problem within store-settings.php.

    I then went promptly to the file and line that the error describes and notice a block of PHP that is loading a bunch of forms, passing the $shipping_details variable to the forms.

    However, in the rest of that PHP, I don’t see $shipping_details, it appears to be a dead variable.

    I’ve compared with the original file to make sure I didn’t edit something, resulting in the error. There appears to be no difference officially.

    I’ve deleted the block of PHP with the shipping details textboxes chunk and obviously that fixed the error while getting rid of the forms.

    What’s with the undeclared variable?

    #57707
    Dylan Moore
    Participant
    
    ### WordPress Environment ###
    
    Home URL: https://harddy.com
    Site URL: https://harddy.com
    WC Version: 2.6.13
    Log Directory Writable: ✔
    WP Version: 4.7.2
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.18 (Ubuntu)
    PHP Version: 7.0.15-0ubuntu0.16.04.2
    PHP Post Max Size: 2 GB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.47.0
    OpenSSL/1.0.2g
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.17
    Max Upload Size: 2 GB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 2.6.13
    : 
    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: ✔
    
    ### Active Plugins (21) ###
    
    Hide My WP: by AUB Media – 5.5.1
    Redux Framework: by Team Redux – 3.6.3
    Coming Soon Page & Maintenance Mode by SeedProd: by SeedProd – 5.0.7
    WPBakery Visual Composer: by Michael M - WPBakery.com – 5.0.1
    MailChimp for WordPress: by ibericode – 4.0.13
    Nav Menu Roles: by Kathy Darling – 1.8.6
    Nexthemes Plugins: by Nexthemes – 1.2.6
    WooCommerce Product Enquiry Form: by WooThemes – 1.2.1
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6
    Slider Revolution: by ThemePunch – 5.3.1.5
    Simple CSS: by Tom Usborne – 0.4
    SparkPost: by SparkPost – 2.6.4
    WC Vendors - Stripe Commissions & Gateway: by WC Vendors – 1.0.4
    WC Vendors Pro: by WC Vendors – 1.3.7
    WC Vendors: by WC Vendors – 1.9.8
    White Label CMS: by www.videousermanuals.com – 1.6.1
    Woocommerce CSV Import: by Allaerd Mensonides – 3.3.5
    WooCommerce: by WooThemes – 2.6.13
    Yoast SEO: by Team Yoast – 4.3
    WP Smush: by WPMU DEV – 2.5.3
    YITH WooCommerce Wishlist: by YITHEMES – 2.0.16
    
    ### Settings ###
    
    Force SSL: ✔
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ✔
    
    ### WC Pages ###
    
    Shop Base: #7 - /shop/
    Cart: #8 - /cart/
    Checkout: #9 - /checkout/
    My Account: #1019 - /account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: TheShopier
    Version: 1.2.8
    Author URL: http://nexthemes.com/
    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: theshopier/archive-product.php
    theshopier/woocommerce/cart/cart-empty.php
    theshopier/woocommerce/cart/cart-totals.php
    theshopier/woocommerce/cart/cart.php
    theshopier/woocommerce/cart/cross-sells.php
    theshopier/woocommerce/cart/mini-cart.php
    theshopier/woocommerce/cart/shipping-calculator.php
    theshopier/woocommerce/checkout/form-checkout.php
    theshopier/woocommerce/checkout/form-coupon.php
    theshopier/woocommerce/checkout/form-login.php
    theshopier/woocommerce/checkout/thankyou.php
    theshopier/woocommerce/content-product.php
    theshopier/woocommerce/content-product_cat.php
    theshopier/woocommerce/content-single-product.php
    theshopier/woocommerce/content-widget-product.php
    theshopier/woocommerce/global/breadcrumb.php
    theshopier/woocommerce/loop/add-to-cart.php
    theshopier/woocommerce/loop/loop-end.php
    theshopier/woocommerce/loop/loop-start.php
    theshopier/woocommerce/loop/orderby.php
    theshopier/woocommerce/loop/pagination.php
    theshopier/woocommerce/loop/price.php
    theshopier/woocommerce/loop/rating.php
    theshopier/woocommerce/myaccount/my-account.php
    theshopier/woocommerce/myaccount/navigation.php
    theshopier/woocommerce/order/order-details-customer.php
    theshopier/woocommerce/order/order-details-item.php
    theshopier/woocommerce/order/order-details.php
    theshopier/woocommerce/single-product/add-to-cart/external.php
    theshopier/woocommerce/single-product/add-to-cart/grouped.php
    theshopier/woocommerce/single-product/add-to-cart/simple.php
    theshopier/woocommerce/single-product/add-to-cart/variable.php
    theshopier/woocommerce/single-product/product-image.php
    theshopier/woocommerce/single-product/product-thumbnails.php
    theshopier/woocommerce/single-product/related.php
    theshopier/woocommerce/single-product/short-description.php
    theshopier/woocommerce/single-product/tabs/tabs.php
    theshopier/woocommerce/single-product/title.php
    theshopier/woocommerce/single-product/up-sells.php
    theshopier/woocommerce/single-product.php
    
    ### WC Vendors Pro ###
    
    Theme Compatability: -
    Pro Dashboard Page: ✔ - #243
    Feedback form page: ✔ - #244
    Vendor Shop Permalink: ✔ - shop/
    
    ### Templates ###
    
    Overrides: –
    
    #57742
    Anna
    Member

    Hello,
    So… you HAVE edited the store-settings.php?
    If you switch back to the original, do you still see the errors?

    Also- you need to update your Pro to 1.3.9 and make sure your edited templates are current. That template had some changes made to it in one of the recent updates– Re-apply your edits.

    #57778
    Dylan Moore
    Participant

    >So… you HAVE edited the store-settings.php?

    Only after verifying the error was not due to any edits by comparing the file packaged with the plugin. Editing was proactive in response to the error, not the cause. I’ve edited so that users on the site do not see ugly, broken PHP.

    >If you switch back to the original, do you still see the errors?

    As I said, in order:

    “I’ve compared with the original file to make sure I didn’t edit something, resulting in the error. There appears to be no difference officially.

    I’ve deleted the block of PHP with the shipping details textboxes chunk and obviously that fixed the error while getting rid of the forms.”

    i.e. the second paragraph didn’t happen before the first… that’s why I mentioned that it fixed the error. Please let me know if more clarification is required.

    If 1.3.9 is the newest version, someone managing the files has sent an old version and I’ll relay that to them and be sure that it’s not simply because of old templating after trying the newest.

    #57806
    Anna
    Member

    Hello,
    Please deactivate all plugins except WooCommerce, WC Vendors and WC Vendors Pro, and switch to the Storefront theme.
    Does the issue still occur?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.