Category: Hair Saver
-
SQLSTATE[HY000]: General error: 1 no such table: cache
If you got this error while setting up Laravel application. Try to remove the line cache_driver=database in your .env file. Or create cache table for your application.
-
Setup letsencrypt with Laradock
in docker-compose.yml set $CN and $EMAIL with your data: in docker-compose.yml add the volumes used in certbot: Make sure port 443 is disabled in your laradock/nginx/sites/xxx.conf stop nginx container docker-compose stop nginx rebuild nginx container with –no-cache option docker-compose build –no-cache nginx build certbot container docker-compose build –no-cache certbot start nginx container docker-compose up -d […]
-
Use yarn with docker
Use yarn up instead of docker-compose up -d Use yarn down instead of docker-compose down Use yarn bash instead of docker-compose exec workspace bash
-
WP Local Docker install error
Problem Resolve Use node version 14.17 instead of 16.x
-
Problem with Inspector, CakeFruit Cors on RunCloud
If you get problem with the CakeFruit Cors and Inspector on a RunCloud instance. Make sure that your app settings enable proc_open, proc_close, proc_nice, proc_terminate functions.
-
Empty json body in Lumen testing?
Failed to get json body with request like this? or Make sure you are using this package for the request instance:
-
Multi-dimension array field with URLSearchParams
Result:
-
Vue 3 cheatsheet
Course: https://www.vuemastery.com/courses/vue-3-essentials/why-the-composition-api/ Starter app: Vitejs (https://github.com/vitejs/vite) TDD: https://vue-test-utils.vuejs.org/v2/guide/introduction.html UI framework: https://2x.antdv.com
-
Puppeteer failed to launch the browser process!
Fix
-
Trying to get property ‘_mockery_expectations_count’ of non-object
For some reasons, you got this error during php unit tests: Use this trait: Source: https://github.com/mockery/mockery/issues/376