Skip to main content
33
results
Andrew Fletcher
To sort through a multidimensional array seems to be a function that I occasionally call on.  Handy to have referenced here: /** * Loop through a multi dimensional array * * @param array $haystack * Data array. */ protected function sortMultiDimensionalArray($haystack) { foreach ($haystack as $key => $item) { // If $item is an array and the number of children is greater to one // keep looping through the array. if (is_array($item) &&...
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
In Xcode attempting to build or run an app, I receiving a framework...
Andrew Fletcher
Working through an app project I inherited using Ionic, Angular and ngx-leaflet...
Andrew Fletcher
While loading an ionic project, in Xcode when performing a run routine I had the following response ⚡️ Loading app at capacitor://localhost... 2022-04-17 15:54:01.318573+1000 App[74515:7355495] [Process] 0x7f8758828820 - [pageProxyID=5, webPageID=6, PID=74520] WebPageProxy::didFailProvisionalLoadForFrame: frameID=3, domain=NSCocoaErrorDomain, code=260 ⚡️ WebView failed provisional navigation ⚡️ Error: The file “index.html” couldn’t be opened because there is no such file.The Xcode build...
Andrew Fletcher
Oh the treasure of a client coming to you with a site they have removed the...
Andrew Fletcher
Need to know how run updates for Capacitor? Updating Capacitor Update Capacitor...
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I...
Andrew Fletcher
Updating to PHP 8.1, I found this interesting code stop... Deprecated function:...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed.  Don't know how to check?  Using Terminal (I prefer iTerm2), run the following command docker -D info  The set-up Go to your project directory, and create a docker folder and a “docker-compose.yml” file: mkdir/Users/{your_name}/Sites/{your_directory} cd /Users/{your_name}/Sites/{your_directory} mkdir docker cd docker vim docker-compose.ymlCopy following code and add it in to the docker-compse.yml...
Andrew Fletcher
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
A bug bear that I have had for a while with Drupal content is how come the...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
Setting up the mail configuration in October CMS is a quick progress....