developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
12
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
•
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
•
This article references some of the common commands via CLI (command-line...
Andrew Fletcher
•
How can you find out if the Cordova plugins have been loaded?
Begin by running...
Andrew Fletcher
•
Updating the Cordova plugins... there are two locations to manage the...
Andrew Fletcher
•
Core Data - customising our data model
When you are using Core Data, and let's say that you have a requirement to have an attribute where the options available should be a defined list. Such as "Not Started", "Pending", "In Development" and "Completed". How do you create this as an option in Core Data?
Thinking out loud, the practical solution would be to use an enum. But how do you use a enum in this instance? As you might have noticed, unfortunately, it...
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....
Andrew Fletcher
•
Images
For some time, when looking for images online for your app or site I have...
Andrew Fletcher
•
Common commands
Themes and plugins have similar command lines. So rather...
Andrew Fletcher
•
At times while developing in October CMS, you will perform a step that kills the site. Recently, I had transferred the site to production and I was working through our steps to cross check deployment. This included reviewing the error logger plugin. The error logger has four tabs Mailer, Slack, Syslog and Relic. In the syslog tab, I was tweeting the facility, when on saving the change the site the following error greeted me:
[2020-10-14 08:01:29] development.ERROR:...
Andrew Fletcher
•
Using October CMS to migrate your site and update the tables with the plugins...