Skip to main content
21
results
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update && sudo apt upgrade -yFor more details about this process see How To Update All Packages Linux.   PHP version Check the current PHP version using php -vThe response I had was PHP 7.4.3 (cli) (built: Nov 2 2022 09:53:44) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies  Install...
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes:...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search functionality Tools Drupal 9.4 React     The sample sent through from the front-end is as follows: https://localhost/search?keyword=&sort=changed&type=%20CommissionerHowever, to run requests, the keyword requires a string.  Such as searching the word 'committee'. https://localhost:8006/search?keyword=committeeIf no keyword is entered, the response will be empty. No results found for "".How to...
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus...
Andrew Fletcher
When attempting to do a git push, are you getting the following...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...
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 this woalk through I am going to use GitHub.  However, the steps are...
Andrew Fletcher
Oh the treasure of a client coming to you with a site they have removed the...