Skip to main content
25
results
Andrew Fletcher
Finalising a deployment to Drupal 10 and reviewing the latest log messages.   Flysystem - $context is deprecated Deprecated function: Creation of dynamic property Drupal\flysystem\FlysystemBridge::$context is deprecated in Drupal\Core\File\FileSystem->doScanDirectory() (line 720 of /var/www/html/content/core/lib/Drupal/Core/File/FileSystem.php) #0 /var/www/html/content/core/includes/bootstrap.inc(164): _drupal_error_handler_real(8192, 'Creation of dyn...', '/var/www/html/c...', 720) #1...
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...
Andrew Fletcher
By default the maximum file upload size is set to 2MB.  It is not a...
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes:...
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus on the href's that start with /node/.  Which has been added using the variable $catchPhrase. Using the Drupal service path_alias to return the node.nid as follows: /** * Load the node nid from the URL alias. * * @param string $url URL string. * * @return any */ public function getNodeNidFromAlias($url, $phrase) { // Default values. $nid = null; ...
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...
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
Oh the treasure of a client coming to you with a site they have removed the previous dev on... treasure hunt.  Not. Anyway, gaining access to an old site, working through the errors I came across this deprecated code Deprecated function: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in common_check_language() (line 306 of /path/to/file).  What has happened and options available array_key_exists() became deprecated in...
Andrew Fletcher
Attempting to update the database, irrespective whether I run update.php or...
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....