• Hey, I’m hoping someone can give me some assistance. I have submitted a ticket with wcfm ultimate but not heard back in two days yet. I was hoping maybe someone had had a similar issue and knew what could be done. The vendor chatbox is expecting an array it looks like but is actually getting a string back. I’m not quite sure where to be looking and what might cause it. I’ve gone through and removed all plugins but the error persisted.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.6
    Current theme: ShoppingCart (version 1.1.2)
    Current plugin: WCFM – WooCommerce Frontend Manager – Ultimate (version 6.5.5)
    PHP version 8.0.1

    Error Details
    =============
    An error of type E_ERROR was caused in line 1285 of the file /customers/4/a/2/hopshuttle.com/httpd.www/wp-content/plugins/wc-frontend-manager-ultimate/core/class-wcfmu-vendor-chatbox.php. Error message: Uncaught TypeError: filter_var(): Argument #3 ($options) must be of type array|int, string given in /customers/4/a/2/hopshuttle.com/httpd.www/wp-content/plugins/wc-frontend-manager-ultimate/core/class-wcfmu-vendor-chatbox.php:1285
    Stack trace:
    #0 /customers/4/a/2/hopshuttle.com/httpd.www/wp-content/plugins/wc-frontend-manager-ultimate/core/class-wcfmu-vendor-chatbox.php(1285): filter_var(‘2a02:810c:c140:…’, 275, ”)
    #1 /customers/4/a/2/hopshuttle.com/httpd.www/wp-content/plugins/wc-frontend-manager-ultimate/core/class-wcfmu-vendor-chatbox.php(1250): WCFMu_Vendor_Chatbox->fbc_validate_ip(‘2a02:810c:c140:…’)
    #2 /customers/4/a/2/hopshuttle.com/httpd.www/wp-content/plugins/wc-frontend-manager-ultimate/core/class-wcfmu-vendor-chatbox.php(486): WCFMu_Vendor_Chatbox->fbc_get_ip_address()
    #3 /customers/4/a/2/hopshuttle.com/httpd.www/wp-includes/class-wp-hook.php(287): WCFMu_Vendor_Chatbox->fbc_user_init(”)
    #4 /customers/4/a/2/hopshuttle.com/httpd.www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #5 /customers/4/a/2/hopshuttle.com/httpd.www/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #6 /customers/4/a/2/hopshuttle.com/httpd.www/wp-settings.php(557): do_action(‘init’)
    #7 /customers/4/a/2/hopshuttle.com/httpd.www/wp-config.php(97): require_once(‘/customers/4/a/…’)
    #8 /customers/4/a/2/hopshuttle.com/httpd.www/wp-load.php(37): require_once(‘/customers/4/a/…’)
    #9 /customers/4/a/2/hopshuttle.com/httpd.www/wp-admin/admin-ajax.php(22): require_once(‘/customers/4/a/…’)
    #10 {main}
    thrown

Viewing 2 replies - 1 through 2 (of 2 total)
  • Also got the same error, its definitely due to the latest php version 8.0.1 as I only encountered it when updating the php ver. I have reverted to 7.4 but this is obviously something that needs to be addressed soon.

    Plugin Author WC Lovers

    (@wclovers)

    You are right, WCFM not yet properly tested/working with PHP 8.0+

    We will add this compatibility very soon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Critical Error in Vendor Chatbox’ is closed to new replies.