I corrected your code locally by changing the is_ip_valid function to be:
public function is_ip_valid( $ip ) {
if( empty( $ip ) ) return false;
$local_ip = parse_url( "https://" . $ip . "/index.php", PHP_URL_HOST);
if ( filter_var($local_ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) ) {
return true;
}
if ( filter_var($local_ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) ) {
return true;
}
return false;
}
]]>A client of mine installed this plug-in and set up up. It was all working just amazing. Now a few weeks ago (3/4 week i guess) the plugin stopped showing the wrapper option.
So first thing i did was deactivate all the plugins and try it again with only woocommerce and gift wrapper activated. Nothing.
I’ve just updated the latest version of wordpress and the giftwrapper plug-in. Also did i update the PHP version to 8.1
So after the updates i made the plug-in delete all its option. Delete it and reinstalled it.
But again, no option to wrap their lovely gifts.
Do you have any idea whats going on?
The activated theme is divi, PHP version 8.1 everything updated.
]]>Build and publish a bundle product to Facebook. The bundle appears fine on both Android and iPhone. But, when I select the bundle in order to select a quantity of items within the bundle the quantity field does not display on Android devices in both Facebook and Instagram.
With Facebook, I am able to rotate the device horizontal and the quantity field will appear. However, Instagram does not support rotation so the field is never visible on Instagram.
I checked it on an iPhone and it appears to function correctly. The issue is with Android. I used a Galaxy Note 10+ 5G (Android version 10)
Any help or a bug fix would be appreciated.
]]>it seems that the woocommerce data table is defect.
i don’t know how to look for a solution, as it only occurs sporadically.
all orders before and after this error have been saved correctly. Do you have any idea how to identify what this could caused by?
Best regards
Sammy.
After I today updated Hesita the layout ou the webpage got really bad. When I checked the theme settings for Hestia.
I got this message in Danish: Det aktive tema er defekt. Skifter tilbage til standardtemaet.
In english: The active theme is defect. Change back to the standart theme.
Please help.
]]>I’m using Guttenburg, but am thinking maybe I should revert to the classic editor.
]]>When I first arrive at the checkout page, all payment fields are thin and un-clickable.
What seems to work is if I refresh the page (although not always), or if I Purge All in the top admin nav bar. Both of these things only seem to work sporadically.
Please advise on what I can do to fix this issue. Stripe seems to be the best payment gateway but this plugin is causing me a huge headache.
]]>