Get default value and placeholder of the ACF field in the WordPress theme

When you build the form using ACF (Advanced Custom Field plugin) you’d probably want to use ACF field properties you created in the ACF admin page like this:
Advanced Custom Fields default value and placeholder
Continue reading “Get default value and placeholder of the ACF field in the WordPress theme”

Deploy Phoenix/Elixir project issue: npm ERR! TypeError: Object.keys called on non-object

When you deploy you phoenix/elixir project on production and something goes wrong it is very useful to make a git clone of your project directly on production server and try to run it there via iex -S mix to see what’s wrong. This is actually no really good practice but one of the fastest options.
Continue reading “Deploy Phoenix/Elixir project issue: npm ERR! TypeError: Object.keys called on non-object”

Deps issue: (Mix) Hex dependency resolution failed, relax the version requirements or unlock dependencies

(Mix) Hex dependency resolution failed, relax the version requirements or unlock dependencies

I have faced the issue when you add new dependancy to your Elixir project and appeared it used different version of some deps (because developer fixed deps version).
Continue reading “Deps issue: (Mix) Hex dependency resolution failed, relax the version requirements or unlock dependencies”