I think it's something to do with how Windows is dealing with line endings. I've now seen it on other configs. Re-exporting the config that throws the error fixes the issue.
Not sure what's going on with my local dev environment. This ticket can be closed.
It must be something specific to my environment. Have you ever seen an error like this before? Thanks!
mizage@gmail.com β created an issue.
I just ran a super simple test with Article and it worked fine. No errors or warnings in the log.
I was able to enable the module. But I'll have to do some more testing to see if it actually works!
Like so?
For D11 this worked for me:
$form['field_name']['#access'] = false;
Maybe post your composer.json file?
Did you try removing your composer.lock file?
I can confirm that the dev version with the core patch resolves the issue for me.
mizage@gmail.com β created an issue.
After updating from 10.1.0 to 10.1.6 the error has gone away and I was able to apply db updates cleanly.
I did use this patch:
https://www.drupal.org/files/issues/2023-11-10/FilterPluginBase.patch β
I'm seeing the following when applying the update:
[error] SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key 'PRIMARY': ALTER TABLE "publishing_options_bundles" ADD PRIMARY KEY ("pubid"); Array
Thanks again for the quick response.
Thanks for the quick response! Do we need an update hook for existing installations?
mizage@gmail.com β created an issue.
After upgrading I'm seeing this error:
Fatal error: Uncaught SimpleSAML\Assert\AssertionFailedException: Expected a callable. Got: array in /var/www/vendor/simplesamlphp/assert/src/Assert.php:364 Stack trace: #0 /var/www/vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Error/Error.php(264): SimpleSAML\Assert\Assert::__callStatic('isCallable', Array) #1 /var/www/vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Error/ExceptionHandler.php(33): SimpleSAML\Error\Error->show() #2 [internal function]: SimpleSAML\Error\ExceptionHandler->customExceptionHandler(Object(SimpleSAML\Assert\AssertionFailedException)) #3 {main} thrown in /var/www/vendor/simplesamlphp/assert/src/Assert.php on line 364
Any ideas. I didn't change any of my other configuration.
I wish I did.
Originally I migrated the site from 7.x to 9.x and then to 10.0.x a few months later. I'm wondering if something didn't migrate cleanly and I just never noticed an issue.
Does this look like a problem with the structure of a database table?
mizage@gmail.com β created an issue.
Thanks for the response. I had to remove entityqueue to move forward so I can't give any more info on this.
mizage@gmail.com β created an issue.