[Solved] TypeError on “drush config-export”

Bill C Asks: TypeError on “drush config-export”
I’ve been receiving the following error message when trying to do a drush config-export command.
However, I am able to successfully do the configuration export from the Drupal admin page (admin/config/development/configuration/full/export).

Code:
TypeError: Argument 2 passed to [error] DrupalCoreConfigFileStorage::write() must be of the type array, boolean given, called in /vendor/drush/drush/commands/core/config.drush.inc on line 519 in DrupalCoreConfigFileStorage->write() (line 140 of /web/core/lib/Drupal/Core/Config/FileStorage.php)
#0
/vendor/drush/drush/commands/core/config.drush.inc(519): DrupalCoreConfigFileStorage->write('field.field.nod...', false)
#1
/vendor/drush/drush/commands/core/config.drush.inc(448): _drush_config_export('sync', '../data/sync', false)
#2
/vendor/drush/drush/includes/command.inc(422): drush_config_export()
#3
/vendor/drush/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#4
/vendor/drush/drush/includes/command.inc(199): drush_command()
#5
/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#6
/vendor/drush/drush/includes/preflight.inc(66): DrushBootBaseBoot-bootstrap_and_dispatch()
#7 /Users/Bcorrigan/sites/flowrite8/vendor/drush/drush/drush.php(12):
drush_main()
#8
{main}.

The only reference I can find to something similar is here: Error thrown when using Drush command

But I did not have that module installed when I started getting the error. It’s installed now, but still getting the error and will probably remove it soon.

I started receiving the error yesterday, reverting to previous version of Git have made no difference in receiving the error.

Anyone else run into this? Know how to fix? Thanks for any help you can provide.

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.