Sage 10 + Xdebug: yarn translate Error

My local development environment (Local by Flywheel), enables Xdebug by default. When trying to run yarn translate, I run into this error Uncaught Error: Maximum function nesting level of ‘256’ reached, aborting! You can fix this error by replacing wp i18n make- by php -d xdebug.max_nesting_level=512 $(which wp) i18n make- in your package.json. See: https://github.com/wp-cli/i18n-command/issues/80#issuecomment-572451958

Bedrock: Updating WP Core and plugins from WordPress admin

If you deliver a Bedrock website to a client, and you want the client to maintain the installation (perform core & plugin updates), you need to allow file mods: add Config::define(‘DISALLOW_FILE_MODS’, false); to /config/environments/production.php. The main problem with this approach is that it allows users not only to update WP core & plugins, but it …

Fix: WooCommerce EU VAT number v2.3.23 doesn’t autofill the Vat Number field in checkout

I ran into this problem with a couple of WooCommerce websites I maintain. During checkout, the field for VAT Number is not automatically filled in for logged in users, in spite of the VAT Number being present in the database. WooCommerce support assured me this will be fixed in a next release, in the meantime, …

WooCommerce: Hide other shipping methods when “Free Shipping” is available except for “Local Pickup”

With the snippet found on https://docs.woocommerce.com/document/hide-other-shipping-methods-when-free-shipping-is-available/, you can hide other shipping methods when “Free Shipping” is available. The problem with this snippet is that is will also hide the “Local Pickup” shipping method. If you want to keep the “Local Pickup” shipping method, try this snippet instead:

Overtuigd?

Neem dan contact op voor een offerte of vrijblijvend gesprek.
Stuur een e-mail naar [email protected] of maak gebruik van het contactformulier.