Support » Plugin: Woocommerce Multi Warehouses - Location Based Inventory Management » Non-static method Warehouse_Popups_Woocommerce_Public::client_data() should not

  • Hi there.

    I’m receiving below error if I activate the plugin:

    Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::client_data() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 689
    
    Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::get_geoip_data() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 91
    
    Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::get_client_ip() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 1362
    
    Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::client_data() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 689
    
    Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::get_geoip_data() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 91
    
    Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::get_client_ip() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 1362
    
    Warning: file_get_contents(http://www.geoplugin.net/json.gp?ip=192.96.203.70): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 384
    
    Notice: Trying to access array offset on value of type null in /home/xxxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 386

    WooCommerce Version 4.3.3.

    I cannot update the Woo version due to some incompatibility with the theme and other plugins.

  • The topic ‘Non-static method Warehouse_Popups_Woocommerce_Public::client_data() should not’ is closed to new replies.