Skip to main content
24
results
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I getting Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.28. in /app/vendor/composer/platform_check.php on line 24  Problem solving Opening the directory in VS Code, if I run the command  php -vThe response I'm getting is PHP 8.1.2 (cli) (built: Jan 21 2022 04:47:26) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.2,...
Andrew Fletcher
Working in Lando and you have hit the situation where you need to view the log...
Andrew Fletcher
Changes in your .env file Connecting your app to the new environment you need to...
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many...
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What...
Andrew Fletcher
Since upgrading to Drupal 9.3.0 have you come across this error? Edit mediaTypeError : Argument 1 passed to Drupal\Core\File\FileUrlGenerator::generateString() must be of the type string, null given, called in /app/web/sites/default/files/php/twig/61baa150bc5f6_media--document.html.twig_h9bK0We32VfjIKYeac5J1n4Mn/6wcKI-HiereIg8aXE0Znemy4PM0s6woj_Cr2Trl_U68.php on line 59 in Drupal\Core\File\FileUrlGenerator->generateString() (line 58 of...
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...