Home Forums WC Vendors Pro Support Error MSG. WCVendors_Pro_Admin' does not have a method 'admin_lockout'

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
  • #18921
    Bryn
    Participant

    Hi WC Vendor.
    Firstly wanted to say thanks for providing this support forum. I have read through many threads and can see that you provide the up most support to your customers.

    My Problem lies in two places.
    1) i receive a warning message after transferring the test site to my servers.
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘WCVendors_Pro_Admin’ does not have a method ‘admin_lockout’ in /home14/instorel/public_html/wp-includes/plugin.php on line 525

    Host support tells me another error is with the Pluggable.php file which i am unable to see.

    2) My developers say its a hosting problem and my host tells me its the Developers.

    Could you please provide further details on what the error message relates to or reading material that may assist.

    #18922
    WC Vendors Support
    Participant

    I wonder if you have a theme with a similar lockout function.

    Edit: admin/class-wcvendors-pro-admin.php and change line #112 to read “wcv_admin_lockout” instead of “admin_lockout”

    Edit: includes/class-wc-vendors-pro.php and change line #250 to read “wcv_admin_lockout” instead of “admin_lockout”.

    Let me know if that fixes it for you

    Cheers

    Ben

    #18923
    WC Vendors Support
    Participant

    PS — Make sure you are running Pro v1.1.4 and Free v1.8.4.

    #20285
    Bryn
    Participant

    Hi, in response to the above i changed the “admin_lockout” to “wc_admin_lockout” within this file: /home14/instorel/public_html/vendor/wp-content/plugins/wc-vendors-pro/includes/class-wcvendors-pro.php

    I then went to do the same as you instructed in this file:
    /home14/instorel/public_html/vendor/wp-content/plugins/wc-vendors-pro/admin/class-wcvendors-pro-admin.php

    But there was no “admin_lockout” in there? i am getting this error message:

    “Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘WCVendors_Pro_Admin’ does not have a method ‘wcv_admin_lockout’ in /home14/instorel/public_html/vendor/wp-includes/plugin.php on line 525”

    when i search for this file it does not seem to exist? Also you said “Make sure you are running Pro v1.1.4 and Free v1.8.4.” I am currently on “Pro v1.0.4 and Free v1.8.3.” how would i update the free version as it is still c1.8.3

    #20286
    Bryn
    Participant

    I have just updated the pro version to v.1.1.5 and the error msg seems to have gone i am now going to do this on the main site and hopefully will resolve this issue, will update you when i know.

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