Home Forums WC Vendors Free Support Dashboard fatal error line 3

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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #28795
    PermacultureIT
    Participant

    Hi there,

    I’ve been working on integrating a couple of things on my website. I am using GAM Event Listing plugin and WC Vendors. Right now all the different plugin setting pages and cart and such are spread out over a lot of different pages. I am working on gathering them all up in one overall dashboard page using the Tabs module of Divi theme. All my plugins are updated and I’m using the latest WordPress install.

    Most of the different shortcodes integrate no problem, but the shortcode of the Vendor Dashboard crashes with the following message:

    Fatal error: Call to undefined function wc_print_notices() in /domains/permaculture.it/DEFAULT/wp-content/plugins/wc-vendors/templates/dashboard/denied.php on line 3

    I searched around before finding out that it was WC vendors causing this error. I added all the shortcodes I wanted to different tabs and saved the page. A little game of elimination showed me it was the WC vendors shortcode [wcv_vendor_dashboard] that caused this. Searching further I found this thread:

    I deleted the top 4 lines in denied.php. Though this removed my issue of getting a fatal error, the shortcode content is not showing within the divi tabs module. An example can be seen in the screenshot I added below. This content is also showing in the admin dashboard, and makes it all f-ed up 😉

    What to do? I don’t want my users to have to visit 6 different pages for their settings… Thanks for the support!

    With regards,
    Bram

    #28799
    PermacultureIT
    Participant

    Something that I should have said before but forgot: I started making my own page using divi rather than adding things to the WP Woocommerce/Vendor dashboard. This is/was because I seem to not be able to find a good guide on how tot do that… If you could send me in the right direction on that I’d appreciate it even more than trying to fix this visual error.

    ps. I am using Advanced Access Manager. Dunno if that helps

    #28801
    WC Vendors Support
    Participant

    wc_print_notices() is a WooCommerce function. If it’s giving you that error, you’ve got an issue with your WooCommerce installation, or a conflicting theme or plugin. https://www.wcvendors.com/help/topic/read-before-requesting-support/

    #28837
    PermacultureIT
    Participant

    Hmmm, I followed every step in that thread except for disabling divi theme because thats what I was using to edit that page. I assume it has to do with that.
    Anyways, I believe I have found a work around using a plugin that lets me manage my user roles more creatively so I can allow people into the WP-admin panel without giving them admin rights (User Role Editor). It actually makes it look a lot better than what I was working on so yay!

    Cheers for the super fast feedback!

    #28838
    WC Vendors Support
    Participant

    Glad you’re all set! Have fun. 🙂

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