Home Forums WC Vendors Pro Support PHP Fatal error: Using $this when not in object context

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!

 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #37883
    doblementa
    Participant

    Hi,

    I’m using Pro version and I have the following PHP Fatal Error when I try to load dashboard page:

    PHP Fatal error: Using $this when not in object context in /var/.../wp-content/plugins/wc-vendors-pro/public/class-wcvendors-pro-reports-controller.php on line 162

    The page load the first part, but it breaks after “Add product” and “Add coupon” buttons, so I can’t see any more information.

    Any idea?

    • This topic was modified 6 years, 10 months ago by doblementa.
    • This topic was modified 6 years, 10 months ago by doblementa.
    #37911
    WC Vendors Support
    Participant

    That’s a new one, you’re the first to report that error. Where’s your WooCommerce System Status report?

    #37941
    doblementa
    Participant

    I’ve seen it at my server error log, I don’t know where to see it on WooCommerce.

    #37944
    WC Vendors Support
    Participant

    It was in the instructions on before you made your forum post here. wp-admin > WooCommerce > System Status report. You can copy and paste that report for support purposes here in the help forum, and set it as a private reply.

    #37955
    doblementa
    Participant

    ### WordPress Environment ###

    Home URL: http://marketplace.workofday.com
    Site URL: http://marketplace.workofday.com
    WC Version: 2.6.2
    Log Directory Writable: ✔
    WP Version: 4.5.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: es_ES

    ### Server Environment ###

    Server Info: Apache
    PHP Version: ❌ 5.3.3 – Recomendamos como mínimo la versión PHP 5.6. Ver: Cómo actualizar tu versión de PHP
    PHP Post Max Size: 50 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    cURL Version: 7.15.5
    OpenSSL/0.9.8b

    SUHOSIN Installed: –
    Max Upload Size: 50 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ❌ Tu servidor no tiene la clase SoapClient habilitada – puede que algunos plugins de puerta de enlace que utilizan SOAP no funcionen como se espera.
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Publicar remoto: ✔
    Obtén remoto: ✔

    ### Database ###

    WC Database Version: 2.6.2
    :
    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: ✔

    ### Active Plugins (17) ###

    AJAX Thumbnail Rebuild: por junkcoder – 1.12
    Contact Form 7: por Takayuki Miyoshi – 4.3.1
    PageBuilder for Handy Store: por – 1.0
    Custom CSS: por FRESHFACE – 1.3.4
    Duplicate Post: por Enrico Battocchi – 2.6
    Envato WordPress Toolkit: por Envato – 1.7.2
    Google Maps Easy: por supsystic.com – 1.4.6
    Maintenance: por fruitfulcode – 3.0
    Revolution Slider: por ThemePunch – 5.1
    .Suppamenu Pro: por Sabri Taieb – 2.5.9
    Twiget Twitter Widget CUST: por Prasanna SP -C – 1.1.4
    WC Vendors Pro: por WC Vendors – 1.3.2
    WC Vendors: por WC Vendors – 1.9.1
    WooCommerce: por WooThemes – 2.6.2
    WP All Import Pro: por Soflyy – 4.3.1
    WP All Import – WooCommerce Add-On Pro: por Soflyy – 2.3.0
    MailPoet Newsletters: por MailPoet – 2.6.19

    ### Settings ###

    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2

    ### API ###

    API Enabled: ✔

    ### WC Pages ###

    Base de la tienda: #4 – /tienda/
    Carrito: #5 – /carrito/
    Finalizar compra: #6 – /facturacion/
    Mi cuenta: ❌ Página no contiene el código corto:[woocommerce_my_account]

    ### Taxonomies ###

    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    ### Theme ###

    Name: wodmarketplace
    Version: 3.8 (see readme.txt for detailed changelog)
    Author URL: http://themes.zone
    Child Theme: ✔
    Parent Theme Name: HandyStore
    Parent Theme Version: 4.7 (see readme.txt for detailed changelog)
    Parent Theme Author URL: https://themes.zone
    WooCommerce Support: ✔

    ### Templates ###

    Overrides: handystore/woocommerce/archive-product.php
    handystore/woocommerce/cart/cart.php
    handystore/woocommerce/checkout/review-order.php
    handystore/woocommerce/content-product.php
    handystore/woocommerce/content-widget-product.php
    handystore/woocommerce/loop/add-to-cart.php
    handystore/woocommerce/loop/loop-start.php
    handystore/woocommerce/single-product/product-image.php
    handystore/woocommerce/single-product/rating.php

    ### WC Vendors Pro ###

    Theme Compatability: –
    Pro Dashboard Page: ✕ -Tu página Dhasboard Pro no se puede ajustar a tu página de Dashboard libre. Presione aquí para cambiar .
    Feedback form page: ✕ Las valoraciones del vendedor no funcionan sin este conjunto de páginas. Haga clic aquí para establecer la página .
    Vendor Shop Permalink: – tienda/

    ### Templates ###

    Overrides: handystore/wc-vendors/front/pro-vendor-list.php
    handystore/wc-vendors/front/ratings/feedback-form.php
    handystore/wc-vendors/store/store-header.php
    handystore/wc-vendors/store/store-ratings.php

    `

    #38140
    WC Vendors Support
    Participant

    PHP Version: ❌ 5.3.3 – Recomendamos como mínimo la versión PHP 5.6. Ver: Cómo actualizar tu versión de PHP PHP 5.3.3 is as old as the dinosaurs. WordPress and WooCommerce wont work soon if you dont upgrade that, and WC Vendors wont work at all. Have your webhosting company change you to PHP 5.6+. We recommend PHP 7.0+.

    Mi cuenta: ❌ Página no contiene el código corto:[woocommerce_my_account] – You’ll want to fix this, too.

    Pro Dashboard Page: ✕ -Tu página Dhasboard Pro no se puede ajustar a tu página de Dashboard libre. Presione aquí para cambiar . …and this

    Feedback form page: ✕ Las valoraciones del vendedor no funcionan sin este conjunto de páginas. Haga clic aquí para establecer la página . …and this

    #38191
    doblementa
    Participant

    Thanks a lot! All that solved my problem.

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